From 92e07343a190d32025a651bf6d866d67979d7f63 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 23 Dec 2004 18:34:51 +0000 Subject: Update to 1.1.3. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3309 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-backends_replace.pl.in | 33 +++++++++------------- .../files/patch-src_network_location.c | 11 ++++++++ 2 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 sysutils/gnome-system-tools/files/patch-src_network_location.c (limited to 'sysutils/gnome-system-tools/files') diff --git a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in b/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in index 7f7cce28e..812682458 100644 --- a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in +++ b/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in @@ -1,29 +1,24 @@ ---- 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 @@ +--- backends/replace.pl.in.orig Tue Dec 21 11:17:14 2004 ++++ backends/replace.pl.in Thu Dec 23 13:14:41 2004 +@@ -1128,7 +1128,7 @@ - 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) + while ($line_no < $line_end) { - delete $$buff[$line_no]; + splice @{$buff},$line_no,1; - $line_no ++; + $line_no++; } + +@@ -1140,7 +1140,7 @@ - $line_no = 0; - if (&gst_replace_interfaces_auto_stanza_locate ($buff, \$line_no, $iface)) - { -- delete $$buff[$line_no]; -+ splice @{$buff},$line_no,1; + while ($line_no < $line_end) + { +- delete $$buff[$line_no]; ++ splice @{$buff},$line_no,1; + $line_no++; + } } - - &gst_file_buffer_clean ($buff); -@@ -1663,7 +1663,7 @@ +@@ -1680,7 +1680,7 @@ } else { 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 000000000..e2577a6a4 --- /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) -- cgit v1.2.3