pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/st devel/st: add one more patch needed to build ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/782a2bb683b2
branches: trunk
changeset: 372233:782a2bb683b2
user: gson <gson%pkgsrc.org@localhost>
date: Thu Nov 30 10:05:34 2017 +0000
description:
devel/st: add one more patch needed to build on Linux (Debian 9)
diffstat:
devel/st/distinfo | 3 ++-
devel/st/patches/patch-examples_res.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 57dffbcdea59 -r 782a2bb683b2 devel/st/distinfo
--- a/devel/st/distinfo Thu Nov 30 08:26:58 2017 +0000
+++ b/devel/st/distinfo Thu Nov 30 10:05:34 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2017/11/29 16:52:44 gson Exp $
+$NetBSD: distinfo,v 1.12 2017/11/30 10:05:34 gson Exp $
SHA1 (st-1.9.tar.gz) = 316597c082743f0e32391ac84d435c428b76bf8b
RMD160 (st-1.9.tar.gz) = 5daaa5a81f5cdc96465115e8093f702a2154844a
@@ -6,4 +6,5 @@
Size (st-1.9.tar.gz) = 108756 bytes
SHA1 (patch-aa) = 106df4696363fcdc26a43b305fffe8c68dd6bbeb
SHA1 (patch-ab) = 2bcc3365b0a74b5254c74febebd58ce95ee4cbc0
+SHA1 (patch-examples_res.c) = 963192e7ee762c4eee21a23c65bd7a1e90523ff5
SHA1 (patch-md_h) = 954e32e14277d6875c0fe60d51d8c374c88c6c50
diff -r 57dffbcdea59 -r 782a2bb683b2 devel/st/patches/patch-examples_res.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/st/patches/patch-examples_res.c Thu Nov 30 10:05:34 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-examples_res.c,v 1.1 2017/11/30 10:05:34 gson Exp $
+
+Provide _getshort() on Linux (tested on Debian 9)
+
+--- examples/res.c.orig 2009-10-01 18:35:55.000000000 +0000
++++ examples/res.c
+@@ -82,7 +82,7 @@
+ #endif
+
+ /* New in Solaris 7 */
+-#if !defined(_getshort) && defined(ns_get16)
++#if (!defined(_getshort) && defined(ns_get16)) || __GLIBC__
+ #define _getshort(cp) ns_get16(cp)
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index