diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/zlog/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/zlog/files')
-rw-r--r-- | dev-libs/zlog/files/zlog-testsuite-flags.patch | 22 | ||||
-rw-r--r-- | dev-libs/zlog/files/zlog_no_werr.patch | 11 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/zlog/files/zlog-testsuite-flags.patch b/dev-libs/zlog/files/zlog-testsuite-flags.patch new file mode 100644 index 000000000000..4ce0a4b6d16c --- /dev/null +++ b/dev-libs/zlog/files/zlog-testsuite-flags.patch @@ -0,0 +1,22 @@ +--- zlog-1.2.12.orig/test/makefile 2013-09-25 04:38:42.000000000 -0700 ++++ zlog-1.2.12/test/makefile 2018-02-13 16:59:33.812131188 -0800 +@@ -1,3 +1,6 @@ ++CFLAGS := -O2 -g ++CC := gcc ++ + exe = \ + test_tmp \ + test_buf \ +@@ -24,10 +27,10 @@ + all : $(exe) + + $(exe) : %:%.o +- gcc -O2 -g -o $@ $^ -L../src -lzlog -lpthread -Wl,-rpath ../src ++ $(CC) $(CFLAGS) -o $@ $^ -L../src -lzlog -lpthread -Wl,-rpath ../src + + .c.o : +- gcc -O2 -g -Wall -D_GNU_SOURCE -o $@ -c $< -I. -I../src ++ $(CC) $(CLFAGS) -Wall -D_GNU_SOURCE -o $@ -c $< -I. -I../src + + clean : + rm -f press.log* *.o $(exe) diff --git a/dev-libs/zlog/files/zlog_no_werr.patch b/dev-libs/zlog/files/zlog_no_werr.patch new file mode 100644 index 000000000000..b01325db09d0 --- /dev/null +++ b/dev-libs/zlog/files/zlog_no_werr.patch @@ -0,0 +1,11 @@ +--- a/src/makefile 2016-08-11 10:40:49.466873499 +0200 ++++ b/src/makefile 2016-08-11 10:40:59.626762850 +0200 +@@ -32,7 +32,7 @@ + # Fallback to gcc when $CC is not in $PATH. + CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc') + OPTIMIZATION?=-O2 +-WARNINGS=-Wall -Werror -Wstrict-prototypes -fwrapv ++WARNINGS=-Wall -Wstrict-prototypes -fwrapv + DEBUG?= -g -ggdb + REAL_CFLAGS=$(OPTIMIZATION) -fPIC -pthread $(CFLAGS) $(WARNINGS) $(DEBUG) + REAL_LDFLAGS=$(LDFLAGS) -pthread |