diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 17:42:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 17:42:48 +0000 |
commit | 3d7227714f42cefae2e2645f3518f20996d2278a (patch) | |
tree | 6249f722788a5ca2031dfc16938b6497766f5fd2 /math | |
parent | c14769d27efe342d58fc843e53a2d8ae3bbdc0c8 (diff) | |
download | pkgsrc-3d7227714f42cefae2e2645f3518f20996d2278a.tar.gz |
Fix main when using C++ test cases
Diffstat (limited to 'math')
-rw-r--r-- | math/algae/distinfo | 4 | ||||
-rw-r--r-- | math/algae/patches/patch-ab | 20 |
2 files changed, 18 insertions, 6 deletions
diff --git a/math/algae/distinfo b/math/algae/distinfo index 43ec47d1a7e..4ce498e542c 100644 --- a/math/algae/distinfo +++ b/math/algae/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.9 2008/12/14 13:19:15 tnn Exp $ +$NetBSD: distinfo,v 1.10 2012/07/03 17:42:48 joerg Exp $ SHA1 (algae-4.3.6.tar.gz) = f935540e8479b543d51cf04fc38e6c573679e19c RMD160 (algae-4.3.6.tar.gz) = 0dfee737c3eccb59563fd85da8d7772937d5795c Size (algae-4.3.6.tar.gz) = 1790061 bytes SHA1 (patch-aa) = c9808abd82f27eb9b41358d8b962553446b473b8 -SHA1 (patch-ab) = 79866650010effa2a7179dc246c835a98b152c1c +SHA1 (patch-ab) = f98e5bbbf4ee4b21cf7f1c1b9c995195861929a5 SHA1 (patch-ac) = 0eeb4bf4348cf5bc2ac80d89f7740a24acf1ba7c SHA1 (patch-ad) = f169de7ed2a8b0302f8bcd7110ca216526eaf1cb SHA1 (patch-ae) = 0adef4e7da6ff23e0ea1dd24ae494ac8be2bf067 diff --git a/math/algae/patches/patch-ab b/math/algae/patches/patch-ab index 0036fdd4d08..e2df9967d8e 100644 --- a/math/algae/patches/patch-ab +++ b/math/algae/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.4 2005/12/21 17:56:10 joerg Exp $ +$NetBSD: patch-ab,v 1.5 2012/07/03 17:42:48 joerg Exp $ ---- configure.orig +--- configure.orig 2003-12-17 03:15:18.000000000 +0000 +++ configure -@@ -1318,7 +1318,7 @@ +@@ -1331,7 +1331,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu LIBS="$LIBS -lm" f77_compile='${F77-f77} $FFLAGS -c conftest.f 1>&5 2>&5' f77_make='make F77="${F77-f77}" FFLAGS="$FFLAGS" -f conftest.mak conftest.o 1>&5 2>&5' @@ -11,7 +11,19 @@ $NetBSD: patch-ab,v 1.4 2005/12/21 17:56:10 joerg Exp $ # The next two don't include LDFLAGS, because some loser f77 compilers # (like on hp) do their own thing with the -L option. -@@ -4378,60 +4378,12 @@ +@@ -2561,9 +2561,9 @@ echo $ECHO_N "checking for support of AN + cat > conftest.$ac_ext <<EOF + #line 2562 "configure" + #include "confdefs.h" +-int main(int argc, char *argv); ++int main(int argc, char **argv); + int t(void); +-int main(int argc, char *argv) { return t(); } ++int main(int argc, char **argv) { return t(); } + int t(void) { return 0; } + EOF + if eval $ac_compile; then +@@ -4435,60 +4435,12 @@ echo "${ECHO_T}\"T\" becomes \"$f77_sym\ #--------------------------------------------------------------------- |