fix ppc compile
This commit is contained in:
parent
873487e673
commit
d877e005de
2 changed files with 17 additions and 1 deletions
11
wlassistant-0.5.7-inline.patch
Normal file
11
wlassistant-0.5.7-inline.patch
Normal file
|
|
@ -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 <iwlib.h>
|
||||
+#undef inline
|
||||
#include <time.h>
|
||||
class QStringList;
|
||||
|
||||
|
|
@ -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 <tcallawa@redhat.com> - 0.5.7-10
|
||||
- prevent iwlib from monkeying around with inline define
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue