summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-11 15:18:24 +0000
committernia <nia@pkgsrc.org>2020-07-11 15:18:24 +0000
commit49c42224a5e90fb1ace028288d89dd56e42eabdf (patch)
tree613492d53c8989ddae934c3c944019fb006bee5b /security
parentb8d59e43d438eaf408e08948140b93e013f2ec3d (diff)
downloadpkgsrc-49c42224a5e90fb1ace028288d89dd56e42eabdf.tar.gz
lua-ossl: Don't try to include sys/epoll.h on SunOS
Diffstat (limited to 'security')
-rw-r--r--security/lua-ossl/distinfo3
-rw-r--r--security/lua-ossl/patches/patch-config.h.guess15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/lua-ossl/distinfo b/security/lua-ossl/distinfo
index f42db841c6f..a90bf6a5016 100644
--- a/security/lua-ossl/distinfo
+++ b/security/lua-ossl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/07/10 09:12:51 nia Exp $
+$NetBSD: distinfo,v 1.3 2020/07/11 15:18:24 nia Exp $
SHA1 (luaossl-20200709.tar.gz) = f967f640869f863a421886bf8d9e2625e72302f3
RMD160 (luaossl-20200709.tar.gz) = 0a396bc54983f028018f0726b51a35ff0669b6ab
SHA512 (luaossl-20200709.tar.gz) = 324175f65e9d292ecb1343cfa9e111f1fd17f15e67037bd705d3db95d32b859c039a6e70620d649f446a8e7043a125a75c64de1714f0fe18e077fb9c017bea34
Size (luaossl-20200709.tar.gz) = 352960 bytes
+SHA1 (patch-config.h.guess) = b25ce37a141bbb28921ffac8324af496b073817b
diff --git a/security/lua-ossl/patches/patch-config.h.guess b/security/lua-ossl/patches/patch-config.h.guess
new file mode 100644
index 00000000000..ab43666d064
--- /dev/null
+++ b/security/lua-ossl/patches/patch-config.h.guess
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.h.guess,v 1.1 2020/07/11 15:18:24 nia Exp $
+
+Don't try to include sys/epoll.h on SunOS, since this breaks on SmartOS.
+
+--- config.h.guess.orig 2020-07-09 13:10:19.000000000 +0000
++++ config.h.guess
+@@ -472,7 +472,7 @@
+ #define HAVE_SYS_AUXV_H ag_test_include(<sys/auxv.h>, HAVE_SYS_AUXV_H_)
+ #endif
+
+-#ifndef HAVE_SYS_EPOLL_H
++#if !defined(HAVE_SYS_EPOLL_H) && !defined(__sun)
+ #define HAVE_SYS_EPOLL_H ag_test_include(<sys/epoll.h>, __linux__)
+ #endif
+