Received: by mail.netbsd.org (Postfix, from userid 605) id 97B0184E38; Thu, 30 Nov 2017 10:05:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 241DE84D63 for ; Thu, 30 Nov 2017 10:05:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id xgJhn6bKchPt for ; Thu, 30 Nov 2017 10:05:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 906B884D31 for ; Thu, 30 Nov 2017 10:05:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8B987FB40; Thu, 30 Nov 2017 10:05:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151203633463500" MIME-Version: 1.0 Date: Thu, 30 Nov 2017 10:05:34 +0000 From: "Andreas Gustafsson" Subject: CVS commit: pkgsrc/devel/st To: pkgsrc-changes@NetBSD.org Reply-To: gson@netbsd.org X-Mailer: log_accum Message-Id: <20171130100534.8B987FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151203633463500 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gson Date: Thu Nov 30 10:05:34 UTC 2017 Modified Files: pkgsrc/devel/st: distinfo Added Files: pkgsrc/devel/st/patches: patch-examples_res.c Log Message: devel/st: add one more patch needed to build on Linux (Debian 9) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/st/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/st/patches/patch-examples_res.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151203633463500 Content-Disposition: inline Content-Length: 1525 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/st/distinfo diff -u pkgsrc/devel/st/distinfo:1.11 pkgsrc/devel/st/distinfo:1.12 --- pkgsrc/devel/st/distinfo:1.11 Wed Nov 29 16:52:44 2017 +++ pkgsrc/devel/st/distinfo Thu Nov 30 10:05:34 2017 @@ -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 @@ SHA512 (st-1.9.tar.gz) = 66a63076993b36f 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 Added files: Index: pkgsrc/devel/st/patches/patch-examples_res.c diff -u /dev/null pkgsrc/devel/st/patches/patch-examples_res.c:1.1 --- /dev/null Thu Nov 30 10:05:34 2017 +++ pkgsrc/devel/st/patches/patch-examples_res.c Thu Nov 30 10:05:34 2017 @@ -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 + --_----------=_151203633463500--