diff options
Diffstat (limited to 'editors/glimmer')
-rw-r--r-- | editors/glimmer/Makefile | 2 | ||||
-rw-r--r-- | editors/glimmer/files/patch-src_file-io_c | 15 | ||||
-rw-r--r-- | editors/glimmer/files/patch-src_main_c | 20 |
3 files changed, 36 insertions, 1 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile index f58020b..5c9f5ea 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 0000000..0dd312c --- /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 0000000..3d20104 --- /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); |