[116018] trunk/dports/science/libbiosig
mojca at macports.org
mojca at macports.org
Thu Jan 16 06:22:44 PST 2014
Revision: 116018
https://trac.macports.org/changeset/116018
Author: mojca at macports.org
Date: 2014-01-16 06:22:44 -0800 (Thu, 16 Jan 2014)
Log Message:
-----------
libbiosig: try to fix the missing _getline build failure on 10.6 (maintainer, #42152)
Modified Paths:
--------------
trunk/dports/science/libbiosig/Portfile
Added Paths:
-----------
trunk/dports/science/libbiosig/files/
trunk/dports/science/libbiosig/files/patch-CMakeLists.txt.diff
Modified: trunk/dports/science/libbiosig/Portfile
===================================================================
--- trunk/dports/science/libbiosig/Portfile 2014-01-16 12:51:56 UTC (rev 116017)
+++ trunk/dports/science/libbiosig/Portfile 2014-01-16 14:22:44 UTC (rev 116018)
@@ -20,16 +20,11 @@
master_sites sourceforge:biosig
master_sites.mirror_subdir \
/BioSig%20for%20C_C++/src
-patch_sites http://www.stimfit.org/
distname biosig4c++-${version}.src
-patchfiles biosig-macports.patch
+patchfiles patch-CMakeLists.txt.diff
worksrcdir biosig4c++-${version}
-checksums ${distname}${extract.suffix} \
- rmd160 2cd5b3c431fe8bd2cc3128fee3c378097f25fcd0 \
- sha256 53472928c0ae409de6b4e9a6006f33f3bcdfb72462b1661bf8f42a7eef98877c \
- biosig-macports.patch \
- rmd160 b0ee44bc532a001b2cece62ed0cef3d0d0c81f3e \
- sha256 d8cd7befe06d16e66e5979e5ea947a18d7737005a4a9477599b9816b3ce68435
+checksums rmd160 2cd5b3c431fe8bd2cc3128fee3c378097f25fcd0 \
+ sha256 53472928c0ae409de6b4e9a6006f33f3bcdfb72462b1661bf8f42a7eef98877c \
depends_build-append \
port:gawk
Added: trunk/dports/science/libbiosig/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/libbiosig/files/patch-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/science/libbiosig/files/patch-CMakeLists.txt.diff 2014-01-16 14:22:44 UTC (rev 116018)
@@ -0,0 +1,49 @@
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -23,6 +23,12 @@
+ DEPENDS units.awk extern/units.csv
+ )
+
++add_custom_target (annexb
++ COMMAND ${GAWK} -f annotatedECG.awk extern/11073-10102-AnnexB.txt > "11073-10102-AnnexB.i"
++ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
++ DEPENDS annotatedECG.awk extern/11073-10102-AnnexB.txt
++)
++
+ set (headers
+ t210/abfheadr.h
+ XMLParser/tinyxml.h
+@@ -48,6 +54,9 @@
+ XMLParser/tinyxml.cpp
+ XMLParser/tinyxmlerror.cpp
+ XMLParser/tinyxmlparser.cpp
++ win32/getdelim.c
++ win32/getline.c
++ win32/getlogin.c
+ biosig.c
+ gdftime.c
+ physicalunits.c
+@@ -55,9 +64,9 @@
+
+ if (WIN32)
+ list (APPEND sources
+- win32/getdelim.c
+- win32/getline.c
+- win32/getlogin.c
++ # win32/getdelim.c
++ # win32/getline.c
++ # win32/getlogin.c
+ )
+ endif ()
+
+@@ -80,8 +89,8 @@
+ )
+ endif ()
+
+-add_dependencies (biosigstatic eventcodes units)
+-add_dependencies (biosigshared eventcodes units)
++add_dependencies (biosigstatic eventcodes units annexb)
++add_dependencies (biosigshared eventcodes units annexb)
+
+ if (USE_ZLIB)
+ add_definitions (-D=WITH_ZLIB)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140116/5f69ccbd/attachment.html>
More information about the macports-changes
mailing list