summaryrefslogtreecommitdiff
path: root/archivers/engrampa/files/patch-src_fr-command-tar.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-10 13:11:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-10 13:11:28 +0000
commitbcf3a830a4f4c1c5453ee72607fea3aa99a4b5cc (patch)
treee98877eaeb5e2a44f00691183c3f6564168e2955 /archivers/engrampa/files/patch-src_fr-command-tar.c
parentStage devel/opengrok and upgrade version 0.11.1 => 0.12.1 (diff)
Welcome Mate Desktop 1.8
The porting work as been done by gnome@ (kwm) and Eric Turgeon (ericturgeon@ghostbsd.org)
Diffstat (limited to 'archivers/engrampa/files/patch-src_fr-command-tar.c')
-rw-r--r--archivers/engrampa/files/patch-src_fr-command-tar.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/archivers/engrampa/files/patch-src_fr-command-tar.c b/archivers/engrampa/files/patch-src_fr-command-tar.c
new file mode 100644
index 000000000000..78843a28c6e9
--- /dev/null
+++ b/archivers/engrampa/files/patch-src_fr-command-tar.c
@@ -0,0 +1,12 @@
+--- src/fr-command-tar.c.orig Sun Oct 15 12:33:56 2006
++++ src/fr-command-tar.c Mon Oct 16 19:18:03 2006
+@@ -231,6 +231,9 @@
+ #if defined (__SVR4) && defined (__sun)
+ if (g_file_test ("/usr/sfw/bin/gtar", G_FILE_TEST_IS_EXECUTABLE))
+ command = g_strdup ("/usr/sfw/bin/gtar");
++#elif defined(__FreeBSD__)
++ if (g_file_test ("%%LOCALBASE%%/bin/gtar", G_FILE_TEST_IS_EXECUTABLE))
++ command = g_strdup ("%%LOCALBASE%%/bin/gtar");
+ #endif
+ if (command != NULL)
+ fr_process_begin_command (comm->process, command);