summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-11-08 18:31:08 +0000
committerMike Frysinger <vapier@gentoo.org>2014-11-08 18:31:08 +0000
commit7a68065f1260c0fa56b15f53503ac90bbefa49ad (patch)
tree52e0af1d916c7b1463b27de055f83ee666956ff2 /media-gfx/sam2p/files
parentRemove old (diff)
downloadgentoo-2-7a68065f1260c0fa56b15f53503ac90bbefa49ad.tar.gz
gentoo-2-7a68065f1260c0fa56b15f53503ac90bbefa49ad.tar.bz2
gentoo-2-7a68065f1260c0fa56b15f53503ac90bbefa49ad.zip
Fix by Dmitry Derevyanko for building w/glibc-2.20 #524048 by Dale Lukas Peterson.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'media-gfx/sam2p/files')
-rw-r--r--media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch b/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch
new file mode 100644
index 000000000000..f96a97969390
--- /dev/null
+++ b/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch
@@ -0,0 +1,18 @@
+https://bugs.gentoo.org/524048
+
+ignore warnings w/newer glibc-2.20
+
+patch by Dmitry Derevyanko
+
+--- a/ccdep.pl
++++ b/ccdep.pl
+@@ -233,6 +233,9 @@
+ } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: this is the location of /) {
+ # ^^^ gcc-3.1
+ undef $included_from;
++ } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: .*\bdeprecated\b/) {
++ # Example: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
++ undef $included_from;
+ } elsif ($S=~/: No such file or directory$/) { # Depends on $ENV{LC_ALL}.
+ # ^^^ gcc-3.3
+ undef $included_from;