summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-24 08:19:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-24 08:19:18 +0800
commit513ef1c29530a99ecd8d72202f73d8c6224a1740 (patch)
tree05e7dddaa75d498cfc7cdb99e70c7c34e426a582 /deskutils/gnome-utils/files
parentb5fb98f3f6375a7e5dcb978d98f3d1afcdcb7a85 (diff)
downloadmarcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar.gz
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar.bz2
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar.lz
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar.xz
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.tar.zst
marcuscom-ports-513ef1c29530a99ecd8d72202f73d8c6224a1740.zip
Fix the build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3322 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnome-utils/files')
-rw-r--r--deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-callbacks.c29
-rw-r--r--deskutils/gnome-utils/files/patch-gsearchtool_gsearchtool-support.c10
2 files changed, 39 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>