diff options
-rw-r--r-- | sysutils/fusefs-curlftpfs/Makefile | 3 | ||||
-rw-r--r-- | sysutils/fusefs-curlftpfs/files/extra-patch-ftpfs.c | 19 |
2 files changed, 0 insertions, 22 deletions
diff --git a/sysutils/fusefs-curlftpfs/Makefile b/sysutils/fusefs-curlftpfs/Makefile index a92c9987000f..d750a24f126d 100644 --- a/sysutils/fusefs-curlftpfs/Makefile +++ b/sysutils/fusefs-curlftpfs/Makefile @@ -27,8 +27,5 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-64-ftpfs.h .else EXTRA_PATCHES+= ${FILESDIR}/extra-32-ftpfs.h .endif -.if ${OSVERSION} < 900000 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ftpfs.c -.endif .include <bsd.port.post.mk> diff --git a/sysutils/fusefs-curlftpfs/files/extra-patch-ftpfs.c b/sysutils/fusefs-curlftpfs/files/extra-patch-ftpfs.c deleted file mode 100644 index 42f6e1c4ee12..000000000000 --- a/sysutils/fusefs-curlftpfs/files/extra-patch-ftpfs.c +++ /dev/null @@ -1,19 +0,0 @@ ---- ./ftpfs.c.orig 2008-04-30 01:05:47.000000000 +0200 -+++ ./ftpfs.c 2010-01-08 19:14:39.000000000 +0100 -@@ -611,10 +611,12 @@ - curl_easy_cleanup(fh->write_conn); - g_free(fh->full_path); - g_free(fh->open_path); -- sem_destroy(&fh->data_avail); -- sem_destroy(&fh->data_need); -- sem_destroy(&fh->data_written); -- sem_destroy(&fh->ready); -+ if (fh->data_avail) { -+ sem_destroy(&fh->data_avail); -+ sem_destroy(&fh->data_need); -+ sem_destroy(&fh->data_written); -+ sem_destroy(&fh->ready); -+ } - free(fh); - } - |