diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-21 12:58:13 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2019-04-24 18:30:16 -0400 |
commit | 06925b0633e16fcd92fbfdaf390a00bdecbaec0d (patch) | |
tree | 7fce080d2b63713112dd9ee2d7d0e8c532b71367 /dev-libs/libaio/files | |
parent | sys-firmware/intel-microcode: drop old (diff) | |
download | gentoo-06925b0633e16fcd92fbfdaf390a00bdecbaec0d.tar.gz gentoo-06925b0633e16fcd92fbfdaf390a00bdecbaec0d.tar.bz2 gentoo-06925b0633e16fcd92fbfdaf390a00bdecbaec0d.zip |
dev-libs/libaio: Bump to version 0.3.111
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'dev-libs/libaio/files')
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.111-optional-werror.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.111-optional-werror.patch b/dev-libs/libaio/files/libaio-0.3.111-optional-werror.patch new file mode 100644 index 000000000000..5b6f91e56d98 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.111-optional-werror.patch @@ -0,0 +1,30 @@ +From ebe62b178f3e5fcde8a311e64aaffe62099204a5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Sun, 21 Apr 2019 12:44:26 +0200 +Subject: [PATCH] make -Werror into an optional flag + +This lets distros disable the flag as random errors might come up with +different compiler flags and older/newer toolchain versions. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + harness/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/harness/Makefile b/harness/Makefile +index f477737..a155c4b 100644 +--- a/harness/Makefile ++++ b/harness/Makefile +@@ -6,7 +6,8 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS) + HARNESS_SRCS:=main.c + # io_queue.c + +-CFLAGS+=-Wall -Werror -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE) ++CFLAGS_WERROR?=-Werror ++CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE) + #-lpthread -lrt + + all: $(PROGS) +-- +2.21.0 + |