packages: anteater/anteater-configure.in.patch (NEW) - fix autotools
pawelz
pawelz at pld-linux.org
Tue Sep 21 15:44:48 CEST 2010
Author: pawelz Date: Tue Sep 21 13:44:48 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix autotools
---- Files affected:
packages/anteater:
anteater-configure.in.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/anteater/anteater-configure.in.patch
diff -u /dev/null packages/anteater/anteater-configure.in.patch:1.1
--- /dev/null Tue Sep 21 15:44:48 2010
+++ packages/anteater/anteater-configure.in.patch Tue Sep 21 15:44:43 2010
@@ -0,0 +1,22 @@
+--- anteater-0.4.5/configure.in~ 2003-11-04 11:13:52.000000000 +0100
++++ anteater-0.4.5/configure.in 2010-09-21 15:37:11.000000000 +0200
+@@ -54,7 +54,7 @@
+ dnl -------------------------------------------------------------------------
+ AC_MSG_CHECKING(for namespace support)
+ AC_TRY_RUN([namespace testns{int givemenull(void){return 0;}}
+-int main(){exit(testns::givemenull());}]
++int main(){return testns::givemenull();}]
+ ,AC_MSG_RESULT(yes),AC_MSG_RESULT(no)
+ AC_MSG_ERROR([Namespaces are required to compile this package.
+ Please update your compiler. In the most cases this is not very difficult.
+--- anteater-0.4.5/configure.in~ 2010-09-21 15:38:43.000000000 +0200
++++ anteater-0.4.5/configure.in 2010-09-21 15:39:47.000000000 +0200
+@@ -64,7 +64,7 @@
+ AC_MSG_CHECKING(for pointer to classmembers)
+ AC_TRY_RUN([class ctest{public:int run(void){return 0;};};
+ int main(){int(ctest::*cmp)(void);
+-cmp=&ctest::run;ctest ni;exit((ni.*cmp)());}],AC_MSG_RESULT(yes),AC_MSG_RESULT(no)
++cmp=&ctest::run;ctest ni;return (ni.*cmp)();}],AC_MSG_RESULT(yes),AC_MSG_RESULT(no)
+ AC_MSG_ERROR([Pointer to classmembers are required to compile this package.
+ Please update your compiler. In the most cases this is not very difficult.
+ Have a look at the README file in this distribution.]),AC_MSG_WARN(
================================================================
More information about the pld-cvs-commit
mailing list