ports/84594: Update port: x11/gnome-menus fix SIGSEGV

Marcus Grando marcus at corp.grupos.com.br
Fri Aug 5 22:00:39 UTC 2005


>Number:         84594
>Category:       ports
>Synopsis:       Update port: x11/gnome-menus fix SIGSEGV
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 05 22:00:36 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 6.0-BETA2 i386
>Organization:
Grupos Internet S/A
>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 ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list