aboutsummaryrefslogtreecommitdiff
path: root/editors/glimmer
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-28 05:55:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-28 05:55:41 +0000
commitf8cb7adaafebb3e7e61de5de9e3cf8b6209fe1dd (patch)
treeb0fd222a47e4ac981a993d9609e12dcadcec5d4d /editors/glimmer
parente8fd51a6588cfc9bcf7f1c2079e86f3a07bc0f10 (diff)
downloadports-f8cb7adaafebb3e7e61de5de9e3cf8b6209fe1dd.tar.gz
ports-f8cb7adaafebb3e7e61de5de9e3cf8b6209fe1dd.zip
Notes
Diffstat (limited to 'editors/glimmer')
-rw-r--r--editors/glimmer/Makefile2
-rw-r--r--editors/glimmer/files/patch-src_file-io_c15
-rw-r--r--editors/glimmer/files/patch-src_main_c20
3 files changed, 36 insertions, 1 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile
index f58020bdefee..5c9f5ea0c87c 100644
--- a/editors/glimmer/Makefile
+++ b/editors/glimmer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= glimmer
PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors gnome python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/glimmer/files/patch-src_file-io_c b/editors/glimmer/files/patch-src_file-io_c
new file mode 100644
index 000000000000..0dd312c54ba5
--- /dev/null
+++ b/editors/glimmer/files/patch-src_file-io_c
@@ -0,0 +1,15 @@
+--- src/file-io.c.orig Tue Jun 17 01:52:36 2003
++++ src/file-io.c Tue Jun 17 01:53:49 2003
+@@ -102,10 +102,10 @@ void
+ new_file_real (char *filename)
+ {
+ GnomeVFSURI *uri;
+- gchar cwd[256];
++ gchar cwd[MAXPATHLEN];
+ gchar *full;
+
+- getcwd (cwd, 256);
++ getcwd (cwd, sizeof(cwd));
+ full = g_strconcat (cwd, "/", filename, NULL);
+ uri = gnome_vfs_uri_new (full);
+ g_free (full);
diff --git a/editors/glimmer/files/patch-src_main_c b/editors/glimmer/files/patch-src_main_c
new file mode 100644
index 000000000000..3d20104718c2
--- /dev/null
+++ b/editors/glimmer/files/patch-src_main_c
@@ -0,0 +1,20 @@
+--- src/main.c.orig Tue Jun 17 01:53:17 2003
++++ src/main.c Tue Jun 17 01:54:18 2003
+@@ -342,7 +342,7 @@ main_finish (void *closure, int argc, ch
+ gchar *path;
+ gchar *file;
+ gchar *full;
+- gchar cwd[256];
++ gchar cwd[MAXPATHLEN];
+
+ args = (gchar **) poptGetArgs (pctx);
+
+@@ -381,7 +381,7 @@ main_finish (void *closure, int argc, ch
+ }
+ }
+ if (input_file) {
+- gchar *path, *file, *full, cwd[256];
++ gchar *path, *file, *full, cwd[MAXPATHLEN];
+
+ getcwd (cwd, sizeof (cwd));
+ path = get_path_from_filename (input_file);