diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-03-20 14:46:47 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-03-20 14:46:47 +0000 |
commit | 6af86e887ae02216e87b74e464876294812c1f39 (patch) | |
tree | 555c046ce6541ea301481aa30372daeda43fe0e4 /devel | |
parent | a615a5eb8514f927eca1c3125dbe28e83dc299a1 (diff) | |
download | pkgsrc-6af86e887ae02216e87b74e464876294812c1f39.tar.gz |
Fix build under Cygwin.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/readline/distinfo | 3 | ||||
-rw-r--r-- | devel/readline/patches/patch-posixjmp.h | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/devel/readline/distinfo b/devel/readline/distinfo index d2a5d1a3d9e..35c5684a206 100644 --- a/devel/readline/distinfo +++ b/devel/readline/distinfo @@ -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-colors.c) = 42ffd2766a808a670a445a8ac34740cf4bdf02d5 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 --git a/devel/readline/patches/patch-posixjmp.h b/devel/readline/patches/patch-posixjmp.h new file mode 100644 index 00000000000..f23d32c4306 --- /dev/null +++ b/devel/readline/patches/patch-posixjmp.h @@ -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 |