summaryrefslogtreecommitdiff
path: root/net-wireless/crda/files/crda-3.18-libreg-link.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-libreg-link.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-libreg-link.patch')
-rw-r--r--net-wireless/crda/files/crda-3.18-libreg-link.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-wireless/crda/files/crda-3.18-libreg-link.patch b/net-wireless/crda/files/crda-3.18-libreg-link.patch
new file mode 100644
index 000000000..0aa1b6e87
--- /dev/null
+++ b/net-wireless/crda/files/crda-3.18-libreg-link.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/542436
+
+From f56ab87b25f2228a67ac592a1c18793c72dd03eb Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 7 Mar 2015 22:29:33 -0500
+Subject: [PATCH crda] libreg: link against crypto libs
+
+Since libreg uses funcs from the crypto lib, make sure we link them.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 8e345a1..77708e6 100644
+--- a/Makefile
++++ b/Makefile
+@@ -117,7 +117,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
+
+ $(LIBREG): regdb.h reglib.h reglib.c
+ $(NQ) ' CC ' $@
+- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^
++ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS))
+
+ install-libreg-headers:
+ $(NQ) ' INSTALL libreg-headers'
+--
+2.3.1
+