summaryrefslogtreecommitdiffstats
path: root/network/open-iscsi/remove_werror.patch
diff options
context:
space:
mode:
author Mario Preksavec <mario@slackware.hr>2021-12-06 01:30:12 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:44 +0700
commit3d25e1af3425383360f7e5d4d0101f89be874094 (patch)
tree33b2c77f27ac1626a16f6d9fb3fd14ebdc532437 /network/open-iscsi/remove_werror.patch
parent1c4914831953d6bd9bb3018cf54902e82ae6ae95 (diff)
downloadslackbuilds-3d25e1af3425383360f7e5d4d0101f89be874094.tar.gz
slackbuilds-3d25e1af3425383360f7e5d4d0101f89be874094.tar.xz
network/open-iscsi: Updated for version 2.1.5.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--network/open-iscsi/remove_werror.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/network/open-iscsi/remove_werror.patch b/network/open-iscsi/remove_werror.patch
new file mode 100644
index 0000000000..03164c9a59
--- /dev/null
+++ b/network/open-iscsi/remove_werror.patch
@@ -0,0 +1,24 @@
+--- open-iscsi-2.1.1/libopeniscsiusr/Makefile.orig 2020-02-26 20:07:13.000000000 +0100
++++ open-iscsi-2.1.1/libopeniscsiusr/Makefile 2020-07-14 18:13:07.144477155 +0200
+@@ -44,7 +44,7 @@
+ OBJS = context.o misc.o session.o sysfs.o iface.o idbm.o node.o default.o
+
+ CFLAGS ?= -O2 -g
+-CFLAGS += -Wall -Werror -Wextra -fvisibility=hidden -fPIC
++CFLAGS += -Wall -Wextra -fvisibility=hidden -fPIC
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
+
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs libkmod)
+
+--- open-iscsi-2.1.1/usr/Makefile 2020-02-26 20:07:13.000000000 +0100
++++ open-iscsi-2.1.1/usr/Makefile 2020-07-14 17:56:48.298477155 +0200
+@@ -35,7 +35,7 @@
+ PKG_CONFIG = /usr/bin/pkg-config
+
+ CFLAGS ?= -O2 -g
+-WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common
++WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common
+ CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \
+ -I$(TOPDIR)/libopeniscsiusr
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
+