summaryrefslogtreecommitdiff
path: root/net-wireless/crda/files/crda-3.18-no-werror.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-11-01 22:02:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-11-02 05:37:28 -0500
commitfc42e192508508b2c49434fd700f833c15eabbb0 (patch)
treea57e0bf02df139d194588414c8042f01fe88fa1b /net-wireless/crda/files/crda-3.18-no-werror.patch
parentea0c23ff8553b9da77fae8ee3c84459a926c40d7 (diff)
downloadpackages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.gz
packages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.bz2
packages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.xz
packages-fc42e192508508b2c49434fd700f833c15eabbb0.zip
net-wireless/crda: Py3, and keyword pycrypto dep
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com> Signed-off-by: Elizabeth Myers <elizabeth@interlinked.me> Signed-off-by: Horst Burkhardt <horst@adelielinux.org>
Diffstat (limited to 'net-wireless/crda/files/crda-3.18-no-werror.patch')
-rw-r--r--net-wireless/crda/files/crda-3.18-no-werror.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-wireless/crda/files/crda-3.18-no-werror.patch b/net-wireless/crda/files/crda-3.18-no-werror.patch
new file mode 100644
index 000000000..6abb78c98
--- /dev/null
+++ b/net-wireless/crda/files/crda-3.18-no-werror.patch
@@ -0,0 +1,32 @@
+From 37384d22ba0ab622a5848a9a794084e6064fc905 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@chromium.org>
+Date: Wed, 4 Mar 2015 14:03:44 -0500
+Subject: [PATCH] allow people to turn off -Werror
+
+Forcing -Werror at build time easily breaks across compiler settings,
+compiler versions, architectures, C libraries, etc... Add a knob so
+distro peeps can turn it off.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 46c683d..5f988f4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -25,8 +25,9 @@ UDEV_RULE_DIR?=/lib/udev/rules.d/
+ PUBKEY_DIR?=pubkeys
+ RUNTIME_PUBKEY_DIR?=/etc/wireless-regdb/pubkeys
+
++WERROR = -Werror
+ CFLAGS += -O2 -fpic
+-CFLAGS += -std=gnu99 -Wall -Werror -pedantic
++CFLAGS += -std=gnu99 -Wall $(WERROR) -pedantic
+ CFLAGS += -Wall -g
+ LDLIBREG += -lreg
+ LDLIBS += $(LDLIBREG)
+--
+2.3.1
+