diff --git a/wlassistant-0.5.7-inline.patch b/wlassistant-0.5.7-inline.patch new file mode 100644 index 0000000..b886e28 --- /dev/null +++ b/wlassistant-0.5.7-inline.patch @@ -0,0 +1,11 @@ +diff -up wlassistant-0.5.7/src/watools.h.BAD wlassistant-0.5.7/src/watools.h +--- wlassistant-0.5.7/src/watools.h.BAD 2009-03-13 14:02:55.000000000 -0400 ++++ wlassistant-0.5.7/src/watools.h 2009-03-13 14:03:01.000000000 -0400 +@@ -25,6 +25,7 @@ + #define WA_TX_THRESHOLD 14 + + #include ++#undef inline + #include + class QStringList; + diff --git a/wlassistant.spec b/wlassistant.spec index c9cab51..9f37bf3 100644 --- a/wlassistant.spec +++ b/wlassistant.spec @@ -1,6 +1,6 @@ Name: wlassistant Version: 0.5.7 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ Group: Applications/System Summary: Wireless network management tool @@ -18,6 +18,7 @@ Requires: usermode, wireless-tools, net-tools, dhclient, pam Patch0: wlassistant-0.5.5-rpath.patch Patch1: wlassistant-0.5.7-fd_cloexec.patch Patch2: wlassistant-0.5.7-fix_scons_chmod_error.patch +Patch3: wlassistant-0.5.7-inline.patch %description Wireless Assistant (wlassistant) is a small application that allows you to @@ -36,6 +37,7 @@ MAIN FEATURES: %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 -b .gcc44 %build PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS\' | sed "s/ /',/g" | sed "s/',/', '/g"` @@ -89,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/icons/hicolor/32x32/apps/wlassistant.png %changelog +* Fri Mar 13 2009 Tom "spot" Callaway - 0.5.7-10 +- prevent iwlib from monkeying around with inline define + * Wed Feb 25 2009 Fedora Release Engineering - 0.5.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild