aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-22 08:23:57 +0800
committermarcus <marcus@FreeBSD.org>2003-09-22 08:23:57 +0800
commit522725e3ed44434663be351ba8a57ef9363b5766 (patch)
tree09b744a19e0934a01514f872f1abed8caf7aea9d /x11-fm
parent9d5e15a69a951040e873ce1c26551f02739f21f2 (diff)
downloadfreebsd-ports-graphics-522725e3ed44434663be351ba8a57ef9363b5766.tar.gz
freebsd-ports-graphics-522725e3ed44434663be351ba8a57ef9363b5766.tar.zst
freebsd-ports-graphics-522725e3ed44434663be351ba8a57ef9363b5766.zip
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)
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 8cbb405cb1e..7d1a6b8a6da 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 00000000000..9d43ad94b0d
--- /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 ();
+ }
+ }
+