summaryrefslogtreecommitdiffstats
path: root/editors/ghex2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-19 00:31:56 +0000
committermarcus <marcus@FreeBSD.org>2003-07-19 00:31:56 +0000
commite82b42c148567056adf9964f8f99402582d04b68 (patch)
tree782e769b298615d59875d02e670e4a8e5f97e41e /editors/ghex2
parentc6da1a1dfab0a69ea1b7943dbd751e6e88697ee0 (diff)
downloadFreeBSD-ports-e82b42c148567056adf9964f8f99402582d04b68.zip
FreeBSD-ports-e82b42c148567056adf9964f8f99402582d04b68.tar.gz
Fix build on -CURRENT with GCC 3.3.1. There's a PORTREVISION bump here
because the fix actually corrected a typo that could cause problems on -STABLE as well. Reported by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'editors/ghex2')
-rw-r--r--editors/ghex2/Makefile2
-rw-r--r--editors/ghex2/files/patch-src_ui.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile
index 74554fc..6f1c8d1 100644
--- a/editors/ghex2/Makefile
+++ b/editors/ghex2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghex2
PORTVERSION= 2.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.2
diff --git a/editors/ghex2/files/patch-src_ui.c b/editors/ghex2/files/patch-src_ui.c
new file mode 100644
index 0000000..b79543e
--- /dev/null
+++ b/editors/ghex2/files/patch-src_ui.c
@@ -0,0 +1,11 @@
+--- src/ui.c.orig Fri Jul 18 20:25:58 2003
++++ src/ui.c Fri Jul 18 20:26:34 2003
+@@ -875,7 +875,7 @@
+ g_return_if_fail (msg != NULL);
+ va_start(args, msg);
+ real_msg = g_strdup_vprintf(msg, args);
+- va_end(msg);
++ va_end(args);
+ info_dlg = gtk_message_dialog_new (
+ GTK_WINDOW (win),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
OpenPOWER on IntegriCloud