pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/readline Fix build under Cygwin.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0509b2ff47d1
branches: trunk
changeset: 648830:0509b2ff47d1
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Mar 20 14:46:47 2015 +0000
description:
Fix build under Cygwin.
diffstat:
devel/readline/distinfo | 3 ++-
devel/readline/patches/patch-posixjmp.h | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 76b273ad3387 -r 0509b2ff47d1 devel/readline/distinfo
--- a/devel/readline/distinfo Fri Mar 20 10:14:12 2015 +0000
+++ b/devel/readline/distinfo Fri Mar 20 14:46:47 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2014/08/13 09:28:37 markd Exp $
+$NetBSD: distinfo,v 1.25 2015/03/20 14:46:47 ryoon Exp $
SHA1 (readline-6.3.tar.gz) = 017b92dc7fd4e636a2b5c9265a77ccc05798c9e1
RMD160 (readline-6.3.tar.gz) = 986262d811d9dbe1e38bc9d714853272967dca7e
@@ -10,5 +10,6 @@
SHA1 (patch-display.c) = 8dc455e5cb3ad4208834518f55f93d1d60f52087
SHA1 (patch-examples_Makefile.in) = d8268b7de6d548f673b23eb0718394245e56ab1f
SHA1 (patch-patchlevel) = 04d5af0e90455d7dcbc1917c07b30656afc725a5
+SHA1 (patch-posixjmp.h) = e2be68635c49a85d03417904338ce6376d8a9a99
SHA1 (patch-readline.c) = ad9aef8a3e9a199d2b9a1a32fc3f715784136c89
SHA1 (patch-util.c) = b7c22aa43cbd1d0225099e2ee1d4d1772d402b5f
diff -r 76b273ad3387 -r 0509b2ff47d1 devel/readline/patches/patch-posixjmp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/readline/patches/patch-posixjmp.h Fri Mar 20 14:46:47 2015 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-posixjmp.h,v 1.1 2015/03/20 14:46:47 ryoon Exp $
+
+* Fix link under Cygwin.
+ From readline-3.8,8-1.src.patch from Cygwin.
+
+--- posixjmp.h.orig 2012-12-24 03:20:50.000000000 +0000
++++ posixjmp.h
+@@ -27,13 +27,13 @@
+
+ #if defined (HAVE_POSIX_SIGSETJMP)
+ # define procenv_t sigjmp_buf
+-# if !defined (__OPENNT)
++# if !defined (__OPENNT) && !defined (__CYGWIN__)
+ # undef setjmp
+ # define setjmp(x) sigsetjmp((x), 1)
+ # define setjmp_nosigs(x) sigsetjmp((x), 0)
+ # undef longjmp
+ # define longjmp(x, n) siglongjmp((x), (n))
+-# endif /* !__OPENNT */
++# endif /* !__OPENNT && !__CYGWIN__ */
+ #else
+ # define procenv_t jmp_buf
+ # define setjmp_nosigs setjmp
Home |
Main Index |
Thread Index |
Old Index