vapier      14/11/08 18:31:08

  Added:                sam2p-0.49-glibc-2.20.patch
  Log:
  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)

Revision  Changes    Path
1.1                  media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch?rev=1.1&content-type=text/plain

Index: sam2p-0.49-glibc-2.20.patch
===================================================================
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;




Reply via email to