Update port: x11/gnome-menus fix SIGSEGV

Marcus Grando marcus at corp.grupos.com.br
Fri Aug 5 21:53:20 GMT 2005


>Submitter-Id:	current-users
>Originator:	Marcus Grando
>Organization:	Grupos Internet S/A
>Confidential:	no 
>Synopsis:	Update port: x11/gnome-menus fix SIGSEGV
>Severity:	non-critical
>Priority:	high
>Category:	ports
>Class:		update
>Release:	FreeBSD 6.0-BETA2 i386
>Environment:
System: FreeBSD noc.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #4: Thu Aug 4 13:51:42 BRT 2005 root at noc.grupos.com.br:/usr/obj/usr/src/sys/NOC i386


	
>Description:

Fix SIGSEGV

http://bugzilla.gnome.org/show_bug.cgi?id=312502

	
>How-To-Repeat:
	
>Fix:

	

--- gnome-menus.patch begins here ---
diff -ruN gnome-menus.orig/Makefile gnome-menus/Makefile
--- gnome-menus.orig/Makefile	Tue Jun 28 06:12:20 2005
+++ gnome-menus/Makefile	Fri Aug  5 18:47:02 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	gnome-menus
 PORTVERSION=	2.10.2
+PORTREVISION=	1
 CATEGORIES=	x11 gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME}/2.10
diff -ruN gnome-menus.orig/files/patch-bugzilla-312502 gnome-menus/files/patch-bugzilla-312502
--- gnome-menus.orig/files/patch-bugzilla-312502	Wed Dec 31 21:00:00 1969
+++ gnome-menus/files/patch-bugzilla-312502	Fri Aug  5 18:48:17 2005
@@ -0,0 +1,12 @@
+diff -u -p -r1.7.4.1 desktop-entries.c
+--- libmenu/desktop-entries.c	5 Apr 2005 21:04:31 -0000	1.7.4.1
++++ libmenu/desktop-entries.c	5 Aug 2005 07:57:37 -0000
+@@ -554,7 +554,7 @@ desktop_entry_add_legacy_category (Deskt
+       for (; entry->categories[i]; i++);
+     }
+ 
+-  categories = g_new0 (GQuark, i + 1);
++  categories = g_new0 (GQuark, i + 2);
+ 
+   i = 0;
+   if (entry->categories != NULL)
--- gnome-menus.patch ends here ---




More information about the freebsd-gnome mailing list