Add fPIC to ppp-manager compile options for x86-64
This commit is contained in:
parent
1e0e6b259c
commit
f11d3ac207
11
NetworkManager-0.7.0-ppp-manager-fpic.patch
Normal file
11
NetworkManager-0.7.0-ppp-manager-fpic.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- NetworkManager-0.7.0/src/ppp-manager/Makefile.am.fpic 2007-08-30 19:41:49.000000000 -0400
|
||||
+++ NetworkManager-0.7.0/src/ppp-manager/Makefile.am 2007-08-30 19:42:00.000000000 -0400
|
||||
@@ -33,7 +33,7 @@ nm_pppd_plugin_so_SOURCES = \
|
||||
nm-pppd-plugin.h \
|
||||
nm-ppp-status.h
|
||||
|
||||
-nm_pppd_plugin_so_CPPFLAGS = $(DBUS_CFLAGS) $(GLIB_CFLAGS)
|
||||
+nm_pppd_plugin_so_CPPFLAGS = $(DBUS_CFLAGS) $(GLIB_CFLAGS) -fPIC
|
||||
|
||||
nm_pppd_plugin_so_LDFLAGS = -shared
|
||||
nm_pppd_plugin_so_LDADD = \
|
@ -21,6 +21,7 @@ Source: %{name}-%{version}.%{snapshot}.tar.gz
|
||||
Source1: nm-applet-%{version}.svn129.tar.gz
|
||||
Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
|
||||
Patch2: NetworkManager-0.7.0-missing-includes.patch
|
||||
Patch3: NetworkManager-0.7.0-ppp-manager-fpic.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
PreReq: chkconfig
|
||||
@ -119,6 +120,7 @@ NetworkManager functionality from applications that use glib.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch2 -p1 -b .missing-includes
|
||||
%patch3 -p1 -b .fpic
|
||||
|
||||
# unpack the applet
|
||||
tar -xzf %{SOURCE1}
|
||||
|
Loading…
Reference in New Issue
Block a user