[Midnightbsd-cvs] mports: x11/yelp: Add a patch to fix a protocol handling bug found in

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 20 12:52:46 EDT 2008


Log Message:
-----------
Add a patch to fix a protocol handling bug found in newer versions of yelp.  According to their bugzilla, they refuse to release a new version until 2.24 ships.

Modified Files:
--------------
    mports/x11/yelp:
        Makefile (r1.4 -> r1.5)

Added Files:
-----------
    mports/x11/yelp/files:
        patch-yelp-window.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/yelp/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L x11/yelp/Makefile -L x11/yelp/Makefile -u -r1.4 -r1.5
--- x11/yelp/Makefile
+++ x11/yelp/Makefile
@@ -9,6 +9,7 @@
 
 PORTNAME=	yelp
 PORTVERSION=	2.22.1
+PORTREVISION=	1
 CATEGORIES=	x11 gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
--- /dev/null
+++ x11/yelp/files/patch-yelp-window.c
@@ -0,0 +1,18 @@
+Index: yelp-window.c
+===================================================================
+--- src/yelp-window.c	(révision 3120)
++++ src/yelp-window.c	(copie de travail)
+@@ -1140,10 +1140,10 @@ window_error (YelpWindow *window, gchar 
+ 	 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ 	 GTK_MESSAGE_ERROR,
+ 	 GTK_BUTTONS_OK,
+-	 title);
++	 "%s", title);
+     gtk_message_dialog_format_secondary_markup
+-	(GTK_MESSAGE_DIALOG (dialog), message);
+-	 gtk_dialog_run (GTK_DIALOG (dialog));
++	(GTK_MESSAGE_DIALOG (dialog), "%s", message);
++    gtk_dialog_run (GTK_DIALOG (dialog));
+ 
+     gtk_widget_destroy (dialog);
+ }


More information about the Midnightbsd-cvs mailing list