diff options
Diffstat (limited to 'net-libs/libhubbub/files/libhubbub-0.3.0-glibc2.20.patch')
-rw-r--r-- | net-libs/libhubbub/files/libhubbub-0.3.0-glibc2.20.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-libs/libhubbub/files/libhubbub-0.3.0-glibc2.20.patch b/net-libs/libhubbub/files/libhubbub-0.3.0-glibc2.20.patch new file mode 100644 index 000000000000..ad7beeb19270 --- /dev/null +++ b/net-libs/libhubbub/files/libhubbub-0.3.0-glibc2.20.patch @@ -0,0 +1,17 @@ +--- libhubbub-0.3.0/Makefile ++++ libhubbub-0.3.0/Makefile +@@ -15,13 +15,7 @@ + WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -pedantic +-# 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 -I$(CURDIR)/include/ \ ++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \ + -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 |