summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-22 00:23:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-22 00:23:57 +0000
commit944ab57dbaffa8fc2144376c5aa172259b945f5e (patch)
tree5fbbc4244097e0e7f5228d87e64f1a6af1c08c8e /x11-fm
parentFix MASTER_SITES and name of web-site. (diff)
Fix a crash when an invalid URI is entered.
PR: 57072 Submitted by: Simon Barner <barner@in.tum.de> Obtained from: GNOME CVS (see: http://bugzilla.gnome.org/show_bug.cgi?id=122265)
Notes
Notes: svn path=/head/; revision=89104
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/nautilus2/Makefile1
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index 8cbb405cb1e9..7d1a6b8a6da9 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nautilus2
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c
new file mode 100644
index 000000000000..9d43ad94b0d4
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c
@@ -0,0 +1,11 @@
+--- libnautilus-private/nautilus-file.c.orig Sun Sep 21 22:14:27 2003
++++ libnautilus-private/nautilus-file.c Sun Sep 21 22:15:32 2003
+@@ -357,8 +357,6 @@
+ relative_uri_tmp++;
+ }
+ relative_uri = strdup (relative_uri_tmp);
+- } else {
+- g_assert_not_reached ();
+ }
+ }
+