pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lua-lrexlib lua-lrexlib: Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa0eec62edc8
branches: trunk
changeset: 314382:fa0eec62edc8
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Oct 26 12:03:49 2018 +0000
description:
lua-lrexlib: Fix build on SunOS.
diffstat:
devel/lua-lrexlib/distinfo | 3 ++-
devel/lua-lrexlib/patches/patch-src_posix_lposix.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r ed6fe90e9e32 -r fa0eec62edc8 devel/lua-lrexlib/distinfo
--- a/devel/lua-lrexlib/distinfo Fri Oct 26 11:57:01 2018 +0000
+++ b/devel/lua-lrexlib/distinfo Fri Oct 26 12:03:49 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:47 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/10/26 12:03:49 jperkin Exp $
SHA1 (lrexlib-rel-2-7-2.zip) = c353b1dacb7b1ecbd6e0dd0a32e701ceec0b88d1
RMD160 (lrexlib-rel-2-7-2.zip) = 269d33666b8095305589634b2ea76bf2c4720de6
SHA512 (lrexlib-rel-2-7-2.zip) = 2741ff9f363f9e57dc31b96a474d4da9481a7e99af86cdd5860b50e1ed5eb1d29a14f45a5be819cfd9f28a703189cf79a9aa872a69d1d70bb5fd6ba68990438f
Size (lrexlib-rel-2-7-2.zip) = 78058 bytes
SHA1 (patch-BSDmakefile) = a37a165cfc268ded28bd846bdcea0c1cb0f95818
+SHA1 (patch-src_posix_lposix.c) = 6c6cf87dd364549104ef25250b910982f077788d
diff -r ed6fe90e9e32 -r fa0eec62edc8 devel/lua-lrexlib/patches/patch-src_posix_lposix.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-lrexlib/patches/patch-src_posix_lposix.c Fri Oct 26 12:03:49 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_posix_lposix.c,v 1.1 2018/10/26 12:03:49 jperkin Exp $
+
+Avoid unsupported REG_* flags on SunOS.
+
+--- src/posix/lposix.c.orig 2013-01-08 11:41:58.000000000 +0000
++++ src/posix/lposix.c
+@@ -234,7 +234,7 @@ static flag_pair posix_error_flags[] = {
+ { "ERANGE", REG_ERANGE },
+ { "ESPACE", REG_ESPACE },
+ { "BADRPT", REG_BADRPT },
+-#ifdef REX_POSIX_EXT
++#if defined(REX_POSIX_EXT) && !defined(__sun)
+ { "EMPTY", REG_EMPTY },
+ { "ASSERT", REG_ASSERT },
+ { "INVARG", REG_INVARG },
Home |
Main Index |
Thread Index |
Old Index