From: hawk Date: Thu, 22 Dec 2011 10:29:16 +0000 (+0000) Subject: - really fix building with libnl 3.x X-Git-Tag: auto/ti/hostapd-0_7_3-4 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fhostapd.git;a=commitdiff_plain;h=34a58d62aa8baf81d9d5a3336e8b919f73a51e51 - really fix building with libnl 3.x Changed files: hostapd-nl.patch -> 1.2 hostapd.spec -> 1.35 --- diff --git a/hostapd-nl.patch b/hostapd-nl.patch index 848d88e..14b68f2 100644 --- a/hostapd-nl.patch +++ b/hostapd-nl.patch @@ -1,15 +1,16 @@ ---- hostapd-0.7.3/src/drivers/drivers.mak~ 2010-09-07 17:43:39.000000000 +0200 -+++ hostapd-0.7.3/src/drivers/drivers.mak 2011-09-17 09:21:47.687977062 +0200 +diff -ur hostapd-0.7.3.orig//src/drivers/drivers.mak hostapd-0.7.3.fix//src/drivers/drivers.mak +--- hostapd-0.7.3.orig//src/drivers/drivers.mak 2010-09-07 15:43:39.000000000 +0000 ++++ hostapd-0.7.3.fix//src/drivers/drivers.mak 2011-12-22 10:32:23.915023681 +0000 @@ -31,10 +31,10 @@ NEED_AP_MLME=y NEED_NETLINK=y NEED_LINUX_IOCTL=y -DRV_LIBS += -lnl -+ ++DRV_LIBS += -lnl-3 ifdef CONFIG_LIBNL20 -DRV_LIBS += -lnl-genl -+ ++DRV_LIBS += -lnl-genl-3 DRV_CFLAGS += -DCONFIG_LIBNL20 endif endif diff --git a/hostapd.spec b/hostapd.spec index 92d6cbb..e8562ab 100644 --- a/hostapd.spec +++ b/hostapd.spec @@ -5,7 +5,7 @@ Summary(es.UTF-8): HostAP - actúa como un punto de acceso Summary(pl.UTF-8): HostAP - praca jako access point Name: hostapd Version: 0.7.3 -Release: 3 +Release: 4 License: GPL v2 Group: Daemons Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz @@ -15,7 +15,7 @@ Patch0: %{name}-config.patch Patch1: %{name}-build-time-config.patch Patch2: %{name}-nl.patch URL: http://hostap.epitest.fi/ -BuildRequires: libnl-devel >= 1:2.0 +BuildRequires: libnl-devel >= 1:3.0 BuildRequires: madwifi-ng-devel BuildRequires: openssl-devel BuildRequires: rpmbuild(macros) >= 1.268