xmw         14/11/15 13:28:00

  Added:                nsgenbind-0.1.1-glibc2.20.patch
  Log:
  Version bump, buildsystem bump, glibc-2.20 issue, respect USE-flags (thanks 
mgorny, bug 513598)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
62EEF090)

Revision  Changes    Path
1.1                  dev-libs/nsgenbind/files/nsgenbind-0.1.1-glibc2.20.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nsgenbind/files/nsgenbind-0.1.1-glibc2.20.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nsgenbind/files/nsgenbind-0.1.1-glibc2.20.patch?rev=1.1&content-type=text/plain

Index: nsgenbind-0.1.1-glibc2.20.patch
===================================================================
--- nsgenbind-0.1.1/Makefile
+++ nsgenbind-0.1.1/Makefile
@@ -16,13 +16,7 @@
 WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
        -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations -Wnested-externs
-# BeOS/Haiku/AmigaOS have standard library errors that issue warnings.
-ifneq ($(TARGET),beos)
-  ifneq ($(TARGET),amiga)
-#    WARNFLAGS := $(WARNFLAGS) -Werror
-  endif
-endif
-CFLAGS := -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -I$(CURDIR)/include/ \
+CFLAGS := -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -I$(CURDIR)/include/ \
        -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
 ifneq ($(GCCVER),2)
   CFLAGS := $(CFLAGS) -std=c99




Reply via email to