diff options
author | novel <novel@FreeBSD.org> | 2011-06-02 02:17:36 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2011-06-02 02:17:36 +0800 |
commit | bca8de92786655b11bfb2980bbccc9f88ca044d9 (patch) | |
tree | fe798a127aecb2ef38cdf271cf2a6dfa3916b6e7 | |
parent | f301e134d57a414f98ed2eb85ef54ea882ed3e00 (diff) | |
download | freebsd-ports-gnome-bca8de92786655b11bfb2980bbccc9f88ca044d9.tar.gz freebsd-ports-gnome-bca8de92786655b11bfb2980bbccc9f88ca044d9.tar.zst freebsd-ports-gnome-bca8de92786655b11bfb2980bbccc9f88ca044d9.zip |
Fix .obt theme importing by not using
GNU specific flags for tar.
PR: 157498
Submitted by: Kris Moore <kris@pcbsd.org>
-rw-r--r-- | x11-wm/obconf/files/patch-src-archive.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-wm/obconf/files/patch-src-archive.c b/x11-wm/obconf/files/patch-src-archive.c new file mode 100644 index 000000000000..7c4f1fdbe99a --- /dev/null +++ b/x11-wm/obconf/files/patch-src-archive.c @@ -0,0 +1,24 @@ +--- src/archive.c.orig 2011-06-01 14:00:24.000000000 +0000 ++++ src/archive.c 2011-06-01 14:00:49.000000000 +0000 +@@ -178,13 +178,12 @@ + argv[1] = g_strdup("-x"); + argv[2] = g_strdup("-v"); + argv[3] = g_strdup("-z"); +- argv[4] = g_strdup("--wildcards"); +- argv[5] = g_strdup("-f"); +- argv[6] = g_strdup(file); +- argv[7] = g_strdup("-C"); +- argv[8] = g_strdup(to); +- argv[9] = g_strdup(glob); +- argv[10] = NULL; ++ argv[4] = g_strdup("-f"); ++ argv[5] = g_strdup(file); ++ argv[6] = g_strdup("-C"); ++ argv[7] = g_strdup(to); ++ argv[8] = g_strdup(glob); ++ argv[9] = NULL; + if (!g_spawn_sync(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, + &outtxt, &errtxt, &exitcode, &e)) + gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"tar\" command: %s"), + + |