summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-callbacks.c29
-rw-r--r--deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-support.c10
-rw-r--r--deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c29
-rw-r--r--deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-support.c10
4 files changed, 78 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-callbacks.c b/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-callbacks.c
new file mode 100644
index 000000000..325e50a35
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-callbacks.c
@@ -0,0 +1,29 @@
+--- gsearchtool/gsearchtool-callbacks.c.orig Thu Dec 23 19:14:17 2004
++++ gsearchtool/gsearchtool-callbacks.c Thu Dec 23 19:15:55 2004
+@@ -54,9 +54,11 @@
+ quit_application (GSearchCommandDetails * command_details)
+ {
+ if (command_details->command_status == RUNNING) {
+- command_details->command_status = MAKE_IT_QUIT;
+ #ifdef HAVE_GETPGID
+ pid_t pgid;
++#endif
++ command_details->command_status = MAKE_IT_QUIT;
++#ifdef HAVE_GETPGID
+
+ pgid = getpgid (command_details->command_pid);
+
+@@ -122,10 +124,12 @@
+ GSearchWindow * gsearch = data;
+
+ if (gsearch->command_details->command_status == RUNNING) {
++#ifdef HAVE_GETPGID
++ pid_t pgid;
++#endif
+ gtk_widget_set_sensitive (gsearch->stop_button, FALSE);
+ gsearch->command_details->command_status = MAKE_IT_STOP;
+ #ifdef HAVE_GETPGID
+- pid_t pgid;
+
+ pgid = getpgid (gsearch->command_details->command_pid);
+
diff --git a/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-support.c b/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-support.c
new file mode 100644
index 000000000..03a974c23
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-support.c
@@ -0,0 +1,10 @@
+--- gsearchtool/gsearchtool-support.c.orig Thu Dec 23 19:13:28 2004
++++ gsearchtool/gsearchtool-support.c Thu Dec 23 19:13:38 2004
+@@ -30,6 +30,7 @@
+ #endif
+
+ #include <glib/gi18n.h>
++#include <sys/types.h>
+ #include <regex.h>
+ #include <gdk/gdkx.h>
+ #include <bonobo-activation/bonobo-activation.h>
diff --git a/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c
new file mode 100644
index 000000000..325e50a35
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c
@@ -0,0 +1,29 @@
+--- gsearchtool/gsearchtool-callbacks.c.orig Thu Dec 23 19:14:17 2004
++++ gsearchtool/gsearchtool-callbacks.c Thu Dec 23 19:15:55 2004
+@@ -54,9 +54,11 @@
+ quit_application (GSearchCommandDetails * command_details)
+ {
+ if (command_details->command_status == RUNNING) {
+- command_details->command_status = MAKE_IT_QUIT;
+ #ifdef HAVE_GETPGID
+ pid_t pgid;
++#endif
++ command_details->command_status = MAKE_IT_QUIT;
++#ifdef HAVE_GETPGID
+
+ pgid = getpgid (command_details->command_pid);
+
+@@ -122,10 +124,12 @@
+ GSearchWindow * gsearch = data;
+
+ if (gsearch->command_details->command_status == RUNNING) {
++#ifdef HAVE_GETPGID
++ pid_t pgid;
++#endif
+ gtk_widget_set_sensitive (gsearch->stop_button, FALSE);
+ gsearch->command_details->command_status = MAKE_IT_STOP;
+ #ifdef HAVE_GETPGID
+- pid_t pgid;
+
+ pgid = getpgid (gsearch->command_details->command_pid);
+
diff --git a/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-support.c b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-support.c
new file mode 100644
index 000000000..03a974c23
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-support.c
@@ -0,0 +1,10 @@
+--- gsearchtool/gsearchtool-support.c.orig Thu Dec 23 19:13:28 2004
++++ gsearchtool/gsearchtool-support.c Thu Dec 23 19:13:38 2004
+@@ -30,6 +30,7 @@
+ #endif
+
+ #include <glib/gi18n.h>
++#include <sys/types.h>
+ #include <regex.h>
+ #include <gdk/gdkx.h>
+ #include <bonobo-activation/bonobo-activation.h>