RosBE/Patches/GMP-OSX-10.7-fixes-against-5.0.2.patch

27 lines
824 B
Diff

--- acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
+++ acinclude.m4 2011-05-17 19:03:43.000000000 -0400
@@ -1941,8 +1941,8 @@
esac
cat >conftest.c <<EOF
-extern const int foo[]; /* Suppresses C++'s suppression of foo */
-const int foo[] = {1,2,3};
+extern const int foo[[]]; /* Suppresses C++'s suppression of foo */
+const int foo[[]] = {1,2,3};
EOF
echo "Test program:" >&AC_FD_CC
cat conftest.c >&AC_FD_CC
--- configure.orig 2011-05-08 11:49:33.000000000 +0200
+++ configure 2011-09-17 17:43:18.000000000 +0200
@@ -26446,8 +26446,8 @@
esac
cat >conftest.c <<EOF
-extern const int foo; /* Suppresses C++'s suppression of foo */
-const int foo = {1,2,3};
+extern const int foo[]; /* Suppresses C++'s suppression of foo */
+const int foo[] = {1,2,3};
EOF
echo "Test program:" >&5
cat conftest.c >&5