diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-09-12 01:39:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-09-12 01:39:02 +0000 |
commit | 0ff4c5a891bc62abff55d6eda9ba83e3203166c5 (patch) | |
tree | 6411c3f9fb041f2e65e9b5bca2f5eca502348991 /net/afpfs-ng/files/patch-lib__loop.c | |
parent | - Mark as DEPRECATED (diff) |
- Fix package list when FUSE option is selected
- Allow to build with any compiler and remove USE_GCC
- Remove LICENSE_FILE (just a standard GPL boilerplate)
- Employ OPTIONS helpers and modern LIB_DEPENDS syntax
- Drop apparently left-over post-patch target that does nothing now
- Improve on the COMMENT line, some other cleaning while here
Diffstat (limited to 'net/afpfs-ng/files/patch-lib__loop.c')
-rw-r--r-- | net/afpfs-ng/files/patch-lib__loop.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/afpfs-ng/files/patch-lib__loop.c b/net/afpfs-ng/files/patch-lib__loop.c index 330f40c45b9d..04a84fe45324 100644 --- a/net/afpfs-ng/files/patch-lib__loop.c +++ b/net/afpfs-ng/files/patch-lib__loop.c @@ -21,4 +21,12 @@ static int loop_started=0; static pthread_cond_t loop_started_condition; -diff -Naur afpfs-ng-0.8.1.orig/lib/lowlevel.c afpfs-ng-0.8.1/lib/lowlevel.c +@@ -87,7 +87,7 @@ void signal_main_thread(void) + static int ending=0; + 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(); |