summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-11-25 00:27:00 +0000
committerNaohiro Aota <naota@gentoo.org>2011-11-25 00:27:00 +0000
commit1e33ac70e1273b5beb7e98d286f7788945b1dc0a (patch)
tree217a4263cebf7770bc0e0fbe9e1f26f820074e2a /x11-libs/pixman/files
parentold (diff)
downloadgentoo-2-1e33ac70e1273b5beb7e98d286f7788945b1dc0a.tar.gz
gentoo-2-1e33ac70e1273b5beb7e98d286f7788945b1dc0a.tar.bz2
gentoo-2-1e33ac70e1273b5beb7e98d286f7788945b1dc0a.zip
Add patch to replace non-POSIX test. Bug #387087
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/pixman/files')
-rw-r--r--x11-libs/pixman/files/pixman-0.24.0-posix-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/pixman/files/pixman-0.24.0-posix-test.patch b/x11-libs/pixman/files/pixman-0.24.0-posix-test.patch
new file mode 100644
index 000000000000..a96ed95463e7
--- /dev/null
+++ b/x11-libs/pixman/files/pixman-0.24.0-posix-test.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 0c23831..b851e96 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -150,7 +150,7 @@ AC_CHECK_DECL([__amd64], [AMD64_ABI="yes"], [AMD64_ABI="no"])
+ # if we're using Sun Studio and neither the user nor a config.site
+ # has set CFLAGS.
+ if test $SUNCC = yes && \
+- test "$test_CFLAGS" == "" && \
++ test "x$test_CFLAGS" = "x" && \
+ test "$CFLAGS" = "-g"
+ then
+ CFLAGS="-O -g"