diff options
author | Matthias Clasen <mclasen@fedoraproject.org> | 2007-07-30 22:09:30 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@fedoraproject.org> | 2007-07-30 22:09:30 +0000 |
commit | 649201f13f88b21ce1f7c369d8944ee573e2b859 (patch) | |
tree | 2af278dd818d9cfa4325165df04cdf10129ea08f | |
parent | 1ed8a16407c4033ebefc0f8852d0940b24eacac0 (diff) | |
download | gnome-applets-649201f13f88b21ce1f7c369d8944ee573e2b859.tar.gz gnome-applets-649201f13f88b21ce1f7c369d8944ee573e2b859.tar.xz gnome-applets-649201f13f88b21ce1f7c369d8944ee573e2b859.zip |
fix modemlights build
-rw-r--r-- | gnome-applets.spec | 3 | ||||
-rw-r--r-- | ppp-includes.patch | 11 |
2 files changed, 14 insertions, 0 deletions
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 <linux/types.h> + #include <linux/if_ppp.h> + #include <sys/ioctl.h> + #include <sys/types.h> |