diff --git a/misc/edflib/Makefile b/misc/edflib/Makefile index 133200a027b0..7f4c84ab41c5 100644 --- a/misc/edflib/Makefile +++ b/misc/edflib/Makefile @@ -1,44 +1,44 @@ PORTNAME= edflib -DISTVERSION= 1.21 +DISTVERSION= 1.22 CATEGORIES= misc # medicine MASTER_SITES= https://www.teuniz.net/edflib/ DISTNAME= ${PORTNAME}_${DISTVERSION:S/.//} MAINTAINER= yuri@FreeBSD.org COMMENT= C library to read/write EDF+/BDF+ (medical data series) files LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake USE_LDCONFIG= yes MAKE_ARGS= CC=${CC} CFLAGS="${CFLAGS}" PLIST_FILES= bin/sine_generator \ bin/sweep_generator \ bin/test_edflib \ bin/test_generator \ include/edflib.h \ lib/libedflib.so post-build: # https://gitlab.com/Teuniz/EDFlib/-/issues/6 @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -o lib${PORTNAME}.so ${PORTNAME}.c do-install: ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include .for p in sine_generator sweep_generator test_edflib test_generator ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin .endfor do-test: # build @cd ${WRKSRC}/unittest && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} # run @cd ${WRKSRC} && \ ${WRKSRC}/unittest/edflib_test && \ ${ECHO} "Tests passed" .include diff --git a/misc/edflib/distinfo b/misc/edflib/distinfo index feffd2bf4514..3c26baf80e6c 100644 --- a/misc/edflib/distinfo +++ b/misc/edflib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644090311 -SHA256 (edflib_121.tar.gz) = 7a8702faa901c370c7ae8e6851cb4feb75579ea1d94a0e9bd5b69ea9585e54ae -SIZE (edflib_121.tar.gz) = 54379 +TIMESTAMP = 1659334729 +SHA256 (edflib_122.tar.gz) = 59a98214dd8669281ce66e2168a8f50a73ec267b50a4b4d71794d6af170907cc +SIZE (edflib_122.tar.gz) = 54898 diff --git a/misc/edflib/files/patch-edflib.c b/misc/edflib/files/patch-edflib.c index 7668824a1a4f..f10d253e52aa 100644 --- a/misc/edflib/files/patch-edflib.c +++ b/misc/edflib/files/patch-edflib.c @@ -1,11 +1,11 @@ ---- edflib.c.orig 2021-01-21 18:05:07 UTC +--- edflib.c.orig 2022-06-27 17:02:20 UTC +++ edflib.c -@@ -46,7 +46,7 @@ +@@ -38,7 +38,7 @@ + #define EDFLIB_VERSION (122) #define EDFLIB_MAXFILES (64) - --#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) -+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__) +-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__) ++#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__) || defined(__FreeBSD__) #define fopeno fopen