diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-10 13:11:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-10 13:11:28 +0000 |
commit | bcf3a830a4f4c1c5453ee72607fea3aa99a4b5cc (patch) | |
tree | e98877eaeb5e2a44f00691183c3f6564168e2955 /archivers/engrampa/files/patch-src_fr-command-zip.c | |
parent | Stage 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)
Notes
Notes:
svn path=/head/; revision=367830
Diffstat (limited to 'archivers/engrampa/files/patch-src_fr-command-zip.c')
-rw-r--r-- | archivers/engrampa/files/patch-src_fr-command-zip.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/archivers/engrampa/files/patch-src_fr-command-zip.c b/archivers/engrampa/files/patch-src_fr-command-zip.c new file mode 100644 index 000000000000..ee9ec93de8c1 --- /dev/null +++ b/archivers/engrampa/files/patch-src_fr-command-zip.c @@ -0,0 +1,39 @@ +--- src/fr-command-zip.c.orig 2010-01-02 17:02:44.000000000 -0500 ++++ src/fr-command-zip.c 2010-01-02 17:08:03.000000000 -0500 +@@ -187,7 +187,11 @@ fr_command_zip_list (FrCommand *comm) + { + fr_process_set_out_line_func (comm->process, list__process_line, comm); + ++#ifdef __FreeBSD__ ++ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip"); ++#else + fr_process_begin_command (comm->process, "unzip"); ++#endif + fr_process_set_begin_func (comm->process, list__begin, comm); + fr_process_add_arg (comm->process, "-ZTs"); + fr_process_add_arg (comm->process, comm->filename); +@@ -302,7 +306,11 @@ fr_command_zip_extract (FrCommand *comm + process_line__common, + comm); + ++#ifdef __FreeBSD__ ++ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip"); ++#else + fr_process_begin_command (comm->process, "unzip"); ++#endif + + if (dest_dir != NULL) { + fr_process_add_arg (comm->process, "-d"); +@@ -334,7 +342,11 @@ fr_command_zip_extract (FrCommand *comm + static void + fr_command_zip_test (FrCommand *comm) + { +- fr_process_begin_command (comm->process, "unzip"); ++#ifdef __FreeBSD__ ++ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip"); ++#else ++ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip"); ++#endif + fr_process_add_arg (comm->process, "-t"); + add_password_arg (comm, comm->password); + fr_process_add_arg (comm->process, comm->filename); |