]> git.pld-linux.org Git - packages/anteater.git/commitdiff
- fix autotools
authorpawelz <pawelz@pld-linux.org>
Tue, 21 Sep 2010 13:44:43 +0000 (13:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anteater-configure.in.patch -> 1.1

anteater-configure.in.patch [new file with mode: 0644]

diff --git a/anteater-configure.in.patch b/anteater-configure.in.patch
new file mode 100644 (file)
index 0000000..66585da
--- /dev/null
@@ -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(
This page took 0.083193 seconds and 4 git commands to generate.