diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-10 18:54:21 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-10 18:54:21 +0000 |
commit | 0ffcbe1ac8bebfb0ec279061b5dc44ca068a1bd0 (patch) | |
tree | be79f461d15d5989e375448230aff2b3123a1117 /textproc/htdig | |
parent | 4d235e7778e6e590e40d8f605f086d53bd80b90a (diff) | |
download | ports-0ffcbe1ac8bebfb0ec279061b5dc44ca068a1bd0.tar.gz ports-0ffcbe1ac8bebfb0ec279061b5dc44ca068a1bd0.zip |
Notes
Diffstat (limited to 'textproc/htdig')
-rw-r--r-- | textproc/htdig/files/patch-db_mut__pthread.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/htdig/files/patch-db_mut__pthread.c b/textproc/htdig/files/patch-db_mut__pthread.c new file mode 100644 index 000000000000..1deafc8940ba --- /dev/null +++ b/textproc/htdig/files/patch-db_mut__pthread.c @@ -0,0 +1,15 @@ +--- db/mut_pthread.c.orig 2002-02-02 18:18:05 UTC ++++ db/mut_pthread.c +@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp) + * call, and Solaris delivers the signal to the wrong + * LWP. + */ +- if (ret != 0 && ret != ETIME && ret != ETIMEDOUT) ++ if (ret != 0 && ++#ifndef __FreeBSD__ ++ ret != ETIME && ++#endif ++ ret != ETIMEDOUT) + return (ret); + } + |