summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-08-24 15:14:12 +0000
committerMichael Weber <xmw@gentoo.org>2010-08-24 15:14:12 +0000
commitab971b59655c932643f133e171d5be068c5c0416 (patch)
tree1bdeafd2aafc8717e2c6271f3dc5985e679df303 /gnome-extra/gnome-hdaps-applet/files
parentMigrate changes from Gentoo Prefix overlay. KEYWORDS and add eautoreconf. App... (diff)
downloadhistorical-ab971b59655c932643f133e171d5be068c5c0416.tar.gz
historical-ab971b59655c932643f133e171d5be068c5c0416.tar.bz2
historical-ab971b59655c932643f133e171d5be068c5c0416.zip
Initial import for gnome-hdaps-applet
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/gnome-hdaps-applet/files')
-rw-r--r--gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch b/gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch
new file mode 100644
index 000000000000..4a285747bf82
--- /dev/null
+++ b/gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch
@@ -0,0 +1,20 @@
+--- gnome-hdaps-applet.c 2008-12-04 22:58:58.000000000 +0100
++++ gnome-hdaps-applet.c 2010-04-04 02:16:48.000000000 +0200
+@@ -21,6 +21,8 @@
+ #include <string.h>
+ #include <panel-applet.h>
+ #include <gtk/gtk.h>
++#include <unistd.h>
++#include <stdlib.h>
+
+ #define BUF_LEN 32
+ #define SYSFS_PROTECT_FILE_HDA "/sys/block/hda/queue/protect"
+@@ -50,8 +52,6 @@
+ GtkWidget *image = gdata;
+ GtkWidget *applet;
+ GtkTooltipsData *tooltips_data;
+- static int timerval = 0;
+- gchar *text_label;
+ int status;
+
+ applet = image->parent;