Include signal.h in nm-hal-manager.c

This commit is contained in:
Daniel Williams 2007-08-30 22:44:59 +00:00
parent bec76ac0c4
commit 8ac1f80ede
2 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
--- NetworkManager-0.7.0/src/nm-hal-manager.c.signalh 2007-08-30 18:37:54.000000000 -0400
+++ NetworkManager-0.7.0/src/nm-hal-manager.c 2007-08-30 18:38:02.000000000 -0400
@@ -1,3 +1,4 @@
+#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <libhal.h>

View File

@ -20,7 +20,7 @@ URL: http://www.gnome.org/projects/NetworkManager/
Source: %{name}-%{version}.%{snapshot}.tar.gz
Source1: nm-applet-%{version}.svn129.tar.gz
Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
Patch4: NetworkManager-0.6.5-deprecated.patch
Patch2: NetworkManager-0.7.0-include-signal-h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: chkconfig
@ -118,7 +118,7 @@ NetworkManager functionality from applications that use glib.
%prep
%setup -q
#%patch4 -p1 -b .deprecated
%patch2 -p1 -b .include-signal-h
# unpack the applet
tar -xzf %{SOURCE1}