summaryrefslogtreecommitdiff
path: root/filesystems/fuse-afpfs-ng
diff options
context:
space:
mode:
authorjoerg <joerg>2012-12-20 21:55:29 +0000
committerjoerg <joerg>2012-12-20 21:55:29 +0000
commit8ce84d3544de2971b4be71b97e3cc7acc90ecc7e (patch)
treef7306454a3425ad9b57242327f38043a98bd0d55 /filesystems/fuse-afpfs-ng
parenta90a20566cc23de1e414a51ba01ec09ee3b9d5b6 (diff)
downloadpkgsrc-8ce84d3544de2971b4be71b97e3cc7acc90ecc7e.tar.gz
Return NULL from thread start function.
Diffstat (limited to 'filesystems/fuse-afpfs-ng')
-rw-r--r--filesystems/fuse-afpfs-ng/distinfo3
-rw-r--r--filesystems/fuse-afpfs-ng/patches/patch-lib_loop.c22
2 files changed, 24 insertions, 1 deletions
diff --git a/filesystems/fuse-afpfs-ng/distinfo b/filesystems/fuse-afpfs-ng/distinfo
index 8b7338f1ad6..78adee37c6b 100644
--- a/filesystems/fuse-afpfs-ng/distinfo
+++ b/filesystems/fuse-afpfs-ng/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/02/23 12:58:26 tron Exp $
+$NetBSD: distinfo,v 1.5 2012/12/20 21:55:29 joerg Exp $
SHA1 (afpfs-ng-0.8.1.tar.bz2) = 3686d4d752052ea8e98841fcae748cb469991dbb
RMD160 (afpfs-ng-0.8.1.tar.bz2) = 39d3e50ce38df188a7c90448b20f7e428027dc43
Size (afpfs-ng-0.8.1.tar.bz2) = 344014 bytes
+SHA1 (patch-lib_loop.c) = ebd8120b1e27d353f4b4d0537cff32d6a21bb569
diff --git a/filesystems/fuse-afpfs-ng/patches/patch-lib_loop.c b/filesystems/fuse-afpfs-ng/patches/patch-lib_loop.c
new file mode 100644
index 00000000000..43e9c53b930
--- /dev/null
+++ b/filesystems/fuse-afpfs-ng/patches/patch-lib_loop.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib_loop.c,v 1.1 2012/12/20 21:55:29 joerg Exp $
+
+--- lib/loop.c.orig 2012-12-20 14:03:34.000000000 +0000
++++ lib/loop.c
+@@ -85,14 +85,15 @@ void signal_main_thread(void)
+ }
+
+ static int ending=0;
+-void * just_end_it_now(void * ignore)
++void *just_end_it_now(void * ignore)
+ {
+- if (ending) return;
++ if (ending) return NULL;
+ ending=1;
+ if (libafpclient->forced_ending_hook)
+ libafpclient->forced_ending_hook();
+ exit_program=2;
+ signal_main_thread();
++ return NULL;
+ }
+
+ /*This is a hack to handle a problem where the first pthread_kill doesnt' work*/