diff --git a/gnome-applets.spec b/gnome-applets.spec index 1604d76..e55779d 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -58,6 +58,8 @@ Patch31: gnome-applets-2.18.0-fix-find.patch # http://bugzilla.gnome.org/show_bug.cgi?id=428072 Patch33: gnome-applets-2.18.0-node-leak.patch +Patch34: ppp-includes.patch + BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} @@ -154,6 +156,7 @@ libraries contained in the gnome-applets package. %patch30 -p1 -b .fix-null-applet %patch31 -p1 -b .fix-find %patch33 -p1 -b .node-leak +%patch34 -p1 -b .ppp-includes cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png diff --git a/ppp-includes.patch b/ppp-includes.patch new file mode 100644 index 0000000..75d3dc9 --- /dev/null +++ b/ppp-includes.patch @@ -0,0 +1,11 @@ +diff -up gnome-applets-2.19.0/modemlights/modemlights.c.includes gnome-applets-2.19.0/modemlights/modemlights.c +--- gnome-applets-2.19.0/modemlights/modemlights.c.includes 2007-07-30 18:05:02.000000000 -0400 ++++ gnome-applets-2.19.0/modemlights/modemlights.c 2007-07-30 18:05:13.000000000 -0400 +@@ -41,6 +41,7 @@ + #endif + + #ifdef __linux__ ++#include + #include + #include + #include