aboutsummaryrefslogtreecommitdiff
path: root/graphics/gqview
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-27 04:29:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-27 04:29:58 +0000
commitff0af8db03dc3bbf7c938b3f93fa097ca3ae180c (patch)
tree864aee472c1efc3cd2c2e1f0385be921627d850b /graphics/gqview
parent5c7341baf9a6abd6af0399c98b4d4771675720dd (diff)
downloadports-ff0af8db03dc3bbf7c938b3f93fa097ca3ae180c.tar.gz
ports-ff0af8db03dc3bbf7c938b3f93fa097ca3ae180c.zip
Notes
Diffstat (limited to 'graphics/gqview')
-rw-r--r--graphics/gqview/Makefile1
-rw-r--r--graphics/gqview/files/patch-src_main_c19
2 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
index c3eb05a7d6eb..60157f6d65b7 100644
--- a/graphics/gqview/Makefile
+++ b/graphics/gqview/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gqview
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/gqview/files/patch-src_main_c b/graphics/gqview/files/patch-src_main_c
new file mode 100644
index 000000000000..4eca3da4f350
--- /dev/null
+++ b/graphics/gqview/files/patch-src_main_c
@@ -0,0 +1,19 @@
+--- src/main.c.orig Thu Jun 26 21:27:18 2003
++++ src/main.c Thu Jun 26 21:28:56 2003
+@@ -10,6 +10,7 @@
+ */
+
+
++#include <sys/param.h>
+ #include "gqview.h"
+
+ #include "collect.h"
+@@ -159,7 +160,7 @@
+
+ void start_editor_from_path_list(gint n, GList *list)
+ {
+- gchar current_path[512];
++ gchar current_path[MAXPATHLEN];
+ gchar *success;
+ gchar *cmd;
+ gchar *buf;