diff options
author | Michael Weber <xmw@gentoo.org> | 2015-03-21 23:55:21 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2015-03-21 23:55:21 +0000 |
commit | a4b2661efeca047cace70d604399479047b9fbe5 (patch) | |
tree | 7249bab110226b29922e73961e35ffd72a7c42e2 /net-libs/libdom/files | |
parent | Version bump (bug 543846). (diff) | |
download | gentoo-2-a4b2661efeca047cace70d604399479047b9fbe5.tar.gz gentoo-2-a4b2661efeca047cace70d604399479047b9fbe5.tar.bz2 gentoo-2-a4b2661efeca047cace70d604399479047b9fbe5.zip |
Version bump (bug 543846).
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'net-libs/libdom/files')
-rw-r--r-- | net-libs/libdom/files/libdom-0.1.2-glibc2.20.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-libs/libdom/files/libdom-0.1.2-glibc2.20.patch b/net-libs/libdom/files/libdom-0.1.2-glibc2.20.patch new file mode 100644 index 000000000000..bc843d143223 --- /dev/null +++ b/net-libs/libdom/files/libdom-0.1.2-glibc2.20.patch @@ -0,0 +1,19 @@ +--- libdom-0.1.2/Makefile ++++ libdom-0.1.2/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 ($(HOST),i586-pc-haiku) +- WARNFLAGS := $(WARNFLAGS) -Werror +-endif + # AmigaOS needs this to avoid warnings + ifeq ($(findstring amigaos,$(HOST)),amigaos) + 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) |