diff options
author | 2008-12-02 11:09:31 +0000 | |
---|---|---|
committer | 2008-12-02 11:09:31 +0000 | |
commit | fa0370991714cc32e7ee53a90f5c99273808dfd6 (patch) | |
tree | 3e5c685237a0745618481f3ccdfc88bc67185e7b /net-wireless/crda/files | |
parent | Wiped out oldest release. (diff) | |
download | gentoo-2-fa0370991714cc32e7ee53a90f5c99273808dfd6.tar.gz gentoo-2-fa0370991714cc32e7ee53a90f5c99273808dfd6.tar.bz2 gentoo-2-fa0370991714cc32e7ee53a90f5c99273808dfd6.zip |
New upstream release, incorporating build & coding style fixes by Diego E. "Flameeyes" Pettenò <flameeyes@gentoo.org>. Removed old ebuild.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.28-rc6-00007-ged31348-dirty x86_64)
Diffstat (limited to 'net-wireless/crda/files')
-rw-r--r-- | net-wireless/crda/files/0.9.4-as-needed.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/net-wireless/crda/files/0.9.4-as-needed.patch b/net-wireless/crda/files/0.9.4-as-needed.patch deleted file mode 100644 index d1ec507477f4..000000000000 --- a/net-wireless/crda/files/0.9.4-as-needed.patch +++ /dev/null @@ -1,52 +0,0 @@ -Fix building with --as-needed LD flag. - -From: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> - -When using GNU ld --as-needed option, you need to ensure that the -order of parameters to the linker is formally correct, with libraries -coming after the object files. For this reason, don't use LDFLAGS for -passing the libraries, and make sure that LDLIBS goes at the end of -the line. - -Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> ---- - - Makefile | 10 +++++----- - 1 files changed, 5 insertions(+), 5 deletions(-) - - -diff --git a/Makefile b/Makefile -index 91c4329..25a92fe 100644 ---- a/Makefile -+++ b/Makefile -@@ -7,9 +7,9 @@ PUBKEY_DIR=pubkeys - - CFLAGS += -Wall -g - #CFLAGS += -DUSE_OPENSSL `pkg-config --cflags openssl` --#LDFLAGS += `pkg-config --libs openssl` -+#LDLIBS += `pkg-config --libs openssl` - CFLAGS += -DUSE_GCRYPT --LDFLAGS += -lgcrypt -+LDLIBS += -lgcrypt - - MKDIR ?= mkdir -p - INSTALL ?= install -@@ -35,15 +35,15 @@ keys-%.c: utils/key2pub.py $(PUBKEY_DIR)/$(wildcard *.pem) - - crda: keys-ssl.c keys-gcrypt.c reglib.o crda.o - $(NQ) ' LD ' $@ -- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs libnl-1` -o $@ reglib.o crda.o -+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o crda.o `pkg-config --libs libnl-1` $(LDLIBS) - - regdbdump: keys-ssl.c keys-gcrypt.c reglib.o regdbdump.o - $(NQ) ' LD ' $@ -- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o -+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o $(LDLIBS) - - intersect: keys-ssl.c keys-gcrypt.c reglib.o intersect.o - $(NQ) ' LD ' $@ -- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o -+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o $(LDLIBS) - - verify: $(REG_BIN) regdbdump - $(NQ) ' CHK $(REG_BIN)' |