xmw         14/11/15 13:01:55

  Added:                libdom-0.1.1-glibc2.20.patch
  Log:
  Version bump, new build system version, glib2.20 issue
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
62EEF090)

Revision  Changes    Path
1.1                  net-libs/libdom/files/libdom-0.1.1-glibc2.20.patch

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

Index: libdom-0.1.1-glibc2.20.patch
===================================================================
--- libdom-0.1.1/Makefile
+++ libdom-0.1.1/Makefile
@@ -15,15 +15,11 @@
 WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
        -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations -Wnested-externs
-# BeOS/Haiku standard library headers generate warnings
-ifneq ($(TARGET),beos)
-  WARNFLAGS := $(WARNFLAGS) -Werror
-endif
 # AmigaOS needs this to avoid warnings
 ifeq ($(TARGET),amiga)
   CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
 endif
-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
        -I$(CURDIR)/src -I$(CURDIR)/binding $(WARNFLAGS) $(CFLAGS)
 # Some gcc2 versions choke on -std=c99, and it doesn't know about it anyway
 ifneq ($(GCCVER),2)




Reply via email to