diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-20 21:55:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-20 21:55:29 +0000 |
commit | a09c5fb2a4c3c9238c9ecf197e85e1b66fe4fbde (patch) | |
tree | f7306454a3425ad9b57242327f38043a98bd0d55 /filesystems | |
parent | e4023da0b1e0403df08aa17d0880b71459c9fb6a (diff) | |
download | pkgsrc-a09c5fb2a4c3c9238c9ecf197e85e1b66fe4fbde.tar.gz |
Return NULL from thread start function.
Diffstat (limited to 'filesystems')
-rw-r--r-- | filesystems/fuse-afpfs-ng/distinfo | 3 | ||||
-rw-r--r-- | filesystems/fuse-afpfs-ng/patches/patch-lib_loop.c | 22 |
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*/ |