summaryrefslogtreecommitdiff
path: root/biology/htslib
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-12-29 15:05:44 +0000
committerJohn Marino <marino@FreeBSD.org>2015-12-29 15:05:44 +0000
commit7b3cd29d73d5b277f9c124731809768698de04f2 (patch)
treecf1bbbf2d341bcbcdd4ecbf2bcfca70a4557c022 /biology/htslib
parent367443c79fa6c6a233b57e6e710e3537885fdc35 (diff)
downloadfreebsd-ports-7b3cd29d73d5b277f9c124731809768698de04f2.zip
biology/htslib: Replace FreeBSD-specific fix with a generic one
This port will not build if ENOTRECOVERABLE is not defined, period. It's not necessary to check OPSYS and version, just apply the fallback definition if it's not defined. This unbreaks DragonFly after last commit.
Diffstat (limited to 'biology/htslib')
-rw-r--r--biology/htslib/files/patch-hfile__libcurl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/biology/htslib/files/patch-hfile__libcurl.c b/biology/htslib/files/patch-hfile__libcurl.c
index 449debeade28..d9e7bb2917c8 100644
--- a/biology/htslib/files/patch-hfile__libcurl.c
+++ b/biology/htslib/files/patch-hfile__libcurl.c
@@ -1,12 +1,11 @@
---- hfile_libcurl.c.orig 2015-12-22 22:35:42 UTC
+--- hfile_libcurl.c.orig 2015-12-15 16:34:33 UTC
+++ hfile_libcurl.c
-@@ -39,6 +39,11 @@ DEALINGS IN THE SOFTWARE. */
+@@ -39,6 +39,10 @@ DEALINGS IN THE SOFTWARE. */
#include <curl/curl.h>
-+#include <sys/param.h>
-+#if defined(__FreeBSD__) && (__FreeBSD_version < 1000033) && !defined(ENOTRECOVERABLE)
-+# define ENOTRECOVERABLE EIO
++#ifndef ENOTRECOVERABLE
++#define ENOTRECOVERABLE EIO
+#endif
+
typedef struct {