aboutsummaryrefslogtreecommitdiffstats
path: root/biology/htslib
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-12-29 23:05:44 +0800
committermarino <marino@FreeBSD.org>2015-12-29 23:05:44 +0800
commite8a2d0eb233b3053026697bdc1b680166c78c800 (patch)
treecf1bbbf2d341bcbcdd4ecbf2bcfca70a4557c022 /biology/htslib
parent9ce08b8230195729f9c64af4e15c3e4010d0e3aa (diff)
downloadfreebsd-ports-gnome-e8a2d0eb233b3053026697bdc1b680166c78c800.tar.gz
freebsd-ports-gnome-e8a2d0eb233b3053026697bdc1b680166c78c800.tar.zst
freebsd-ports-gnome-e8a2d0eb233b3053026697bdc1b680166c78c800.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 {