From 6f32add9a75efb180e462ffbdb0b080bc88088e3 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 24 Mar 2008 03:52:36 +0000 Subject: The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for FreeBSD. The official GNOME 2.22 release notes can be found at http://library.gnome.org/misc/release-notes/2.22/ . On the FreeBSD front, this release features an updated hal port with support for video4linux devices, DRM (Direct Rendering), and better support of removable media. Work is also underway to tie webkit more closely into GNOME. As part of the GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well. Be sure to consult UPDATING on the proper steps to upgrade all of your GNOME ports. This release would not have been possible without the contributions and testing efforts of the following people: Pawel Worach kan edwin Peter Ulrich Kruppa J. W. Ballantine Yasuda Keisuke Andriy Gapon --- .../patch-plugins_document-manager_anjuta-docman.c | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c (limited to 'devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c') diff --git a/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c b/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c deleted file mode 100644 index 986d68057a05..000000000000 --- a/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c +++ /dev/null @@ -1,69 +0,0 @@ ---- plugins/document-manager/anjuta-docman.c.orig Thu Jun 7 14:56:53 2007 -+++ plugins/document-manager/anjuta-docman.c Fri Aug 31 16:53:19 2007 -@@ -902,6 +902,7 @@ - const gchar *linenum; - glong lineno; - gboolean is_local_uri; -+ gchar normalized_path_buf[PATH_MAX]; - gchar *normalized_path = NULL; - - IAnjutaEditor *te; -@@ -926,9 +927,11 @@ - /* Get the normalized file path for comparision */ - is_local_uri = gnome_vfs_uri_is_local (vfs_uri); - if (is_local_uri) -- normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), NULL); -- if (normalized_path == NULL) -- normalized_path = g_strdup (uri); -+ normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), normalized_path_buf); -+ if (normalized_path == NULL) { -+ (void) strlcpy (normalized_path_buf, uri, PATH_MAX); -+ normalized_path = normalized_path_buf; -+ } - - gnome_vfs_uri_unref (vfs_uri); - /* g_free(filename); */ -@@ -942,6 +945,7 @@ - AnjutaDocmanPage *page; - gboolean te_is_local_uri; - gchar *te_uri; -+ char te_normalized_path_buf[PATH_MAX]; - gchar *te_normalized_path = NULL; - - page = (AnjutaDocmanPage *) node->data; -@@ -959,9 +963,11 @@ - te_is_local_uri = gnome_vfs_uri_is_local (vfs_uri); - if (te_is_local_uri) - te_normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), -- NULL); -- if (te_normalized_path == NULL) -- te_normalized_path = g_strdup (te_uri); -+ te_normalized_path_buf); -+ if (te_normalized_path == NULL) { -+ (void) strlcpy (te_normalized_path_buf, te_uri, PATH_MAX); -+ te_normalized_path = te_normalized_path_buf; -+ } - gnome_vfs_uri_unref (vfs_uri); - - if (strcmp (normalized_path, te_normalized_path) == 0) -@@ -982,12 +988,9 @@ - an_file_history_push (te_uri, lineno); - g_free (uri); - g_free (te_uri); -- g_free (normalized_path); -- g_free (te_normalized_path); - return te; - } - g_free (te_uri); -- g_free (te_normalized_path); - node = g_list_next (node); - } - te = anjuta_docman_add_editor (docman, uri, NULL); -@@ -1006,7 +1009,6 @@ - } - } - g_free (uri); -- g_free (normalized_path); - return te ; - } - -- cgit v1.2.3