- fix build (nl3.patch) auto/th/crda-1_1_2-2
authorArtur Frysiak <artur@frysiak.net>
Sat, 1 Oct 2011 19:24:46 +0000 (19:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 2

Changed files:
    crda.spec -> 1.9
    nl3.patch -> 1.1

crda.spec
nl3.patch [new file with mode: 0644]

index 1df30ca..8aa0008 100644 (file)
--- a/crda.spec
+++ b/crda.spec
@@ -1,11 +1,12 @@
 Summary:       udev helper: Central Regulatory Domain Agent
 Name:          crda
 Version:       1.1.2
-Release:       1
+Release:       2
 License:       ISC
 Group:         Networking/Daemons
 Source0:       http://linuxwireless.org/download/crda/%{name}-%{version}.tar.bz2
 # Source0-md5: 5226f65aebacf94baaf820f8b4e06df4
+Patch0:                nl3.patch
 BuildRequires: libgcrypt-devel
 BuildRequires: libnl-devel >= 1:3.0
 BuildRequires: python
@@ -24,6 +25,7 @@ manually except if debugging udev issues.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
diff --git a/nl3.patch b/nl3.patch
new file mode 100644 (file)
index 0000000..f405969
--- /dev/null
+++ b/nl3.patch
@@ -0,0 +1,12 @@
+--- crda-1.1.2/Makefile.wiget  2011-10-01 21:22:01.852300958 +0200
++++ crda-1.1.2/Makefile        2011-10-01 21:23:02.153603618 +0200
+@@ -51,8 +51,7 @@ NL3FOUND := $(shell pkg-config --atleast
+ ifeq ($(NL3FOUND),Y)
+ CFLAGS += -DCONFIG_LIBNL30
+-NLLIBS += -lnl-genl
+-NLLIBNAME = libnl-3.0
++NLLIBNAME = libnl-3.0 libnl-genl-3.0
+ else
+       ifeq ($(NL2FOUND),Y)
+       CFLAGS += -DCONFIG_LIBNL20
This page took 0.041359 seconds and 4 git commands to generate.