summaryrefslogtreecommitdiff
path: root/sysutils/gnome-system-tools/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-system-tools/files')
-rw-r--r--sysutils/gnome-system-tools/files/patch-backends_replace.pl.in34
-rw-r--r--sysutils/gnome-system-tools/files/patch-backends_service-list.pl.in10
-rw-r--r--sysutils/gnome-system-tools/files/patch-configure6
-rw-r--r--sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c18
-rw-r--r--sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c11
-rw-r--r--sysutils/gnome-system-tools/files/patch-src_network_location.c11
6 files changed, 43 insertions, 47 deletions
diff --git a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in b/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
deleted file mode 100644
index 7f7cce28ee37..000000000000
--- a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
+++ /dev/null
@@ -1,34 +0,0 @@
---- backends/replace.pl.in.orig Fri Oct 22 02:41:56 2004
-+++ backends/replace.pl.in Fri Oct 22 02:42:48 2004
-@@ -1113,19 +1113,19 @@
-
- return -1 if (!&gst_replace_interfaces_iface_stanza_locate ($buff, \$line_no, $iface));
-
-- delete $$buff[$line_no];
-+ splice @{$buff},$line_no,1;
- $line_no ++;
-
- while (&gst_replace_interfaces_get_next_option ($buff, \$line_no) != -1)
- {
-- delete $$buff[$line_no];
-+ splice @{$buff},$line_no,1;
- $line_no ++;
- }
-
- $line_no = 0;
- if (&gst_replace_interfaces_auto_stanza_locate ($buff, \$line_no, $iface))
- {
-- delete $$buff[$line_no];
-+ splice @{$buff},$line_no,1;
- }
-
- &gst_file_buffer_clean ($buff);
-@@ -1663,7 +1663,7 @@
- }
- else
- {
-- delete $$buff[$i];
-+ splice @{$buff},$i,1;
- }
- }
- }
diff --git a/sysutils/gnome-system-tools/files/patch-backends_service-list.pl.in b/sysutils/gnome-system-tools/files/patch-backends_service-list.pl.in
deleted file mode 100644
index 16861791c1ca..000000000000
--- a/sysutils/gnome-system-tools/files/patch-backends_service-list.pl.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- backends/service-list.pl.in.orig Sun Sep 19 13:20:02 2004
-+++ backends/service-list.pl.in Sun Sep 19 13:20:10 2004
-@@ -225,6 +225,7 @@
- "atm3\.sh",
- "ccd",
- "cleanvar",
-+ "cleartmp",
- "devdb",
- "devfs",
- "dhclient",
diff --git a/sysutils/gnome-system-tools/files/patch-configure b/sysutils/gnome-system-tools/files/patch-configure
index b854cde3a70f..712bb1defc9f 100644
--- a/sysutils/gnome-system-tools/files/patch-configure
+++ b/sysutils/gnome-system-tools/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Wed May 26 12:02:51 2004
-+++ configure Wed May 26 12:03:23 2004
-@@ -22623,7 +22623,7 @@
+--- configure.orig Thu Jan 13 17:15:39 2005
++++ configure Thu Jan 13 17:17:13 2005
+@@ -22990,7 +22990,7 @@
GST_CFLAGS="$GST_DEPENDS_CFLAGS $GST_CRACK_LIB_CFLAGS $GST_DEPRECATED_FLAGS"
GST_TOOL_LIBS="$GST_LIBS -lutil \$(top_builddir)/src/common/libsetuptool.a"
diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c
new file mode 100644
index 000000000000..9272d918136c
--- /dev/null
+++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c
@@ -0,0 +1,18 @@
+--- src/common/gst-auth.c.orig Thu Mar 10 14:39:18 2005
++++ src/common/gst-auth.c Thu Mar 10 14:39:50 2005
+@@ -142,12 +142,12 @@ gst_auth_run_term (GstTool *tool, gchar
+ unsetenv("LANG");
+ unsetenv("LANGUAGE");
+
+- dup2 (p[1], 1);
+- dup2 (p[1], 2);
++ dup2 (p[1], STDOUT_FILENO);
++ /*dup2 (p[1], 2);*/
+ close (p[0]);
+
+ execv (args[0], args);
+- exit (255);
++ _exit (255);
+ } else {
+ #ifndef __FreeBSD__
+ /* Linux's su works ok with echo disabling */
diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c
new file mode 100644
index 000000000000..5134f30e581b
--- /dev/null
+++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c
@@ -0,0 +1,11 @@
+--- src/common/gst-tool.c.orig Thu Mar 10 14:39:54 2005
++++ src/common/gst-tool.c Thu Mar 10 14:40:00 2005
+@@ -1653,7 +1653,7 @@ poll_backend (GstTool *tool)
+ struct pollfd fd;
+
+ fd.fd = tool->read_fd;
+- fd.events = POLLIN || POLLPRI;
++ fd.events = POLLIN | POLLPRI;
+
+ while (poll (&fd, 1, 100) <= 0) {
+ while (gtk_events_pending ())
diff --git a/sysutils/gnome-system-tools/files/patch-src_network_location.c b/sysutils/gnome-system-tools/files/patch-src_network_location.c
new file mode 100644
index 000000000000..e2577a6a49e0
--- /dev/null
+++ b/sysutils/gnome-system-tools/files/patch-src_network_location.c
@@ -0,0 +1,11 @@
+--- src/network/location.c.orig Thu Dec 23 13:16:33 2004
++++ src/network/location.c Thu Dec 23 13:16:40 2004
+@@ -687,7 +687,7 @@
+ static void
+ copy_tag_list (xmlNodePtr source, xmlNodePtr dest, const gchar *list[])
+ {
+- gchar **string = (gchar **) list;;
++ gchar **string = (gchar **) list;
+ gchar *value;
+
+ while (*string)