diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-17 07:24:05 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-17 07:24:05 +0800 |
commit | 56152e13dd251b354ce607e6b8e04e79e684634a (patch) | |
tree | d7713a33223e23f0784d7546a5df8a95a78e406e /archivers/file-roller/files | |
parent | 98be8846e44d768a6c461a8309ad331c5adb9d6b (diff) | |
download | marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar.gz marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar.bz2 marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar.lz marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar.xz marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.tar.zst marcuscom-ports-56152e13dd251b354ce607e6b8e04e79e684634a.zip |
- Update to 2.17.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7810 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers/file-roller/files')
-rw-r--r-- | archivers/file-roller/files/patch-src_file-utils.h | 16 | ||||
-rw-r--r-- | archivers/file-roller/files/patch-src_fr-command-tar.c | 12 |
2 files changed, 28 insertions, 0 deletions
diff --git a/archivers/file-roller/files/patch-src_file-utils.h b/archivers/file-roller/files/patch-src_file-utils.h new file mode 100644 index 000000000..d3223290f --- /dev/null +++ b/archivers/file-roller/files/patch-src_file-utils.h @@ -0,0 +1,16 @@ +--- src/file-utils.h.orig Sun Jul 3 19:11:59 2005 ++++ src/file-utils.h Sun Jul 3 19:12:52 2005 +@@ -25,8 +25,13 @@ + + #include <sys/types.h> + #include <time.h> ++#include <stdlib.h> ++#include <limits.h> + #include <libgnomevfs/gnome-vfs-file-size.h> + #include <libgnomevfs/gnome-vfs-mime-handlers.h> ++ ++#undef fr_atoll ++#define fr_atoll(nptr) strtoll(nptr, (char **)NULL, 10) + + + #define FILENAME_MAX_LENGTH 30 /* FIXME: find out the best value */ diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c new file mode 100644 index 000000000..62b05bcce --- /dev/null +++ b/archivers/file-roller/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 ("/usr/local/bin/gtar", G_FILE_TEST_IS_EXECUTABLE)) ++ command = g_strdup ("%%LOCALBASE%%/bin/gtar"); + #endif + if (command != NULL) + fr_process_begin_command (comm->process, command); |