aboutsummaryrefslogtreecommitdiff
path: root/archivers/xarchive
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-13 02:10:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-13 02:10:33 +0000
commit4eda1bab437110d8c93712aa8ade47d3a5bcaacc (patch)
treed0d4bbcc03961f1288115f49614ab1146d8986c7 /archivers/xarchive
parentc7a1b06585af45cf6babcc12830d56f99412761e (diff)
downloadports-4eda1bab437110d8c93712aa8ade47d3a5bcaacc.tar.gz
ports-4eda1bab437110d8c93712aa8ade47d3a5bcaacc.zip
Notes
Diffstat (limited to 'archivers/xarchive')
-rw-r--r--archivers/xarchive/files/patch-src-main.c18
-rw-r--r--archivers/xarchive/files/patch-src-widgets_gtk.c13
2 files changed, 31 insertions, 0 deletions
diff --git a/archivers/xarchive/files/patch-src-main.c b/archivers/xarchive/files/patch-src-main.c
new file mode 100644
index 000000000000..0e1363951367
--- /dev/null
+++ b/archivers/xarchive/files/patch-src-main.c
@@ -0,0 +1,18 @@
+--- src/main.c.orig Sun Nov 6 21:26:45 2005
++++ src/main.c Sun Nov 13 02:57:57 2005
+@@ -115,6 +115,7 @@
+ WrapperEntry *wrapent = NULL;
+
+ home = g_strdup_printf("%s/.xarchive/wrappers", getenv("HOME"));
++ {
+ char *dir[] =
+ {
+ home,
+@@ -145,6 +146,7 @@
+ if (WRAPPER_ARRAY == NULL)
+ {
+ g_print("No wrappers found\n");
++ }
+ }
+ }
+
diff --git a/archivers/xarchive/files/patch-src-widgets_gtk.c b/archivers/xarchive/files/patch-src-widgets_gtk.c
new file mode 100644
index 000000000000..58beeb2624d5
--- /dev/null
+++ b/archivers/xarchive/files/patch-src-widgets_gtk.c
@@ -0,0 +1,13 @@
+--- src/widgets_gtk.c.orig Tue Nov 8 20:39:01 2005
++++ src/widgets_gtk.c Sun Nov 13 03:03:53 2005
+@@ -1022,8 +1022,9 @@
+
+ if (wrapper_cmd(AR_EXTRACT, wrapper->argv, wrapper->dir) == 0)
+ {
++ gchar *viewcmd;
+ fname = my_strescape(wrapper->argv[FIRST_FILE_INDEX]);
+- gchar *viewcmd = g_strconcat(command, " ", wrapper->dir,
++ viewcmd = g_strconcat(command, " ", wrapper->dir,
+ "/", fname, NULL);
+ g_free(fname);
+ printf("viewcmd: %s\n",viewcmd);