From 1e0e6b259c99d333cd7d6b6f3d81f5a1bb3eab1f Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Thu, 30 Aug 2007 23:04:56 +0000 Subject: [PATCH] Fix more missing includes --- NetworkManager-0.7.0-include-signal-h.patch | 7 ------- NetworkManager-0.7.0-missing-includes.patch | 21 +++++++++++++++++++++ NetworkManager.spec | 4 ++-- 3 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 NetworkManager-0.7.0-include-signal-h.patch create mode 100644 NetworkManager-0.7.0-missing-includes.patch diff --git a/NetworkManager-0.7.0-include-signal-h.patch b/NetworkManager-0.7.0-include-signal-h.patch deleted file mode 100644 index 6407b8e..0000000 --- a/NetworkManager-0.7.0-include-signal-h.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- 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 - #include - #include - #include diff --git a/NetworkManager-0.7.0-missing-includes.patch b/NetworkManager-0.7.0-missing-includes.patch new file mode 100644 index 0000000..a574b35 --- /dev/null +++ b/NetworkManager-0.7.0-missing-includes.patch @@ -0,0 +1,21 @@ +--- NetworkManager-0.7.0/src/nm-netlink.c.missing-includes 2007-08-30 18:57:04.000000000 -0400 ++++ NetworkManager-0.7.0/src/nm-netlink.c 2007-08-30 18:58:03.000000000 -0400 +@@ -19,6 +19,11 @@ + * (C) Copyright 2007 Red Hat, Inc. + */ + ++#include ++#include ++#include ++#include ++ + #include "nm-netlink.h" + #include "nm-utils.h" + +--- NetworkManager-0.7.0/src/nm-hal-manager.c.missing-includes 2007-08-30 14:45:49.000000000 -0400 ++++ NetworkManager-0.7.0/src/nm-hal-manager.c 2007-08-30 18:56:39.000000000 -0400 +@@ -1,3 +1,4 @@ ++#include + #include + #include + #include diff --git a/NetworkManager.spec b/NetworkManager.spec index b87eec2..b6f0628 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -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 -Patch2: NetworkManager-0.7.0-include-signal-h.patch +Patch2: NetworkManager-0.7.0-missing-includes.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 -%patch2 -p1 -b .include-signal-h +%patch2 -p1 -b .missing-includes # unpack the applet tar -xzf %{SOURCE1}