aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/junglemonkey/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-12-19 02:37:18 +0800
committermiwi <miwi@FreeBSD.org>2007-12-19 02:37:18 +0800
commit0e293e16295ec9115c5a2ce3554c133f89691945 (patch)
tree8f5e65c195683873765f4f6390cf8bbd75fe6d7c /ftp/junglemonkey/files
parent1e1d790f3851b89a3b084d631de1ab2d5df23dbe (diff)
downloadfreebsd-ports-gnome-0e293e16295ec9115c5a2ce3554c133f89691945.tar.gz
freebsd-ports-gnome-0e293e16295ec9115c5a2ce3554c133f89691945.tar.zst
freebsd-ports-gnome-0e293e16295ec9115c5a2ce3554c133f89691945.zip
- Fixes a linker problem when not using libtool 15
- Fixes a bug causing the program to crash on exit if the hostname was not set yet PR: 118797 Submitted by: Pietro Cerutti <gahr@gahr.ch>
Diffstat (limited to 'ftp/junglemonkey/files')
-rw-r--r--ftp/junglemonkey/files/patch-src-util_sha_cache.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/junglemonkey/files/patch-src-util_sha_cache.c b/ftp/junglemonkey/files/patch-src-util_sha_cache.c
new file mode 100644
index 000000000000..313e6e82e72e
--- /dev/null
+++ b/ftp/junglemonkey/files/patch-src-util_sha_cache.c
@@ -0,0 +1,11 @@
+--- src/util/sha_cache.c.orig 2007-12-17 23:04:06.000000000 +0100
++++ src/util/sha_cache.c 2007-12-17 23:09:16.000000000 +0100
+@@ -213,7 +213,7 @@
+ g_return_if_fail (sha_cache);
+ g_return_if_fail (file);
+
+- g_hash_table_foreach (sha_cache->path_to_sha, write_hfunc, file);
++ if(sha_cache) g_hash_table_foreach (sha_cache->path_to_sha, write_hfunc, file);
+ }
+
+