summaryrefslogtreecommitdiffstats
path: root/editors/ghex2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-07-19 09:05:09 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-07-19 09:05:09 +0800
commit1bf241f3fc3eeb74f320e32c33776e99c16847cc (patch)
tree9e10bb0be1c081df736926a2aedd9bf1f6bba7c9 /editors/ghex2
parent31adcba301476e6d37f522c275e7c47548630ee4 (diff)
downloadmarcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar.gz
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar.bz2
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar.lz
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar.xz
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.tar.zst
marcuscom-ports-1bf241f3fc3eeb74f320e32c33776e99c16847cc.zip
Fix build with GCC 3.3.1.
Obtained from: FreeBSD ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@995 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/ghex2')
-rw-r--r--editors/ghex2/Makefile1
-rw-r--r--editors/ghex2/files/patch-src_ui.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile
index 0dccaa63e..8b06b87af 100644
--- a/editors/ghex2/Makefile
+++ b/editors/ghex2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ghex2
PORTVERSION= 2.3.0
+PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3
diff --git a/editors/ghex2/files/patch-src_ui.c b/editors/ghex2/files/patch-src_ui.c
new file mode 100644
index 000000000..b79543ead
--- /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,