Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 441D684E77 for ; Mon, 26 Jun 2023 15:42:59 +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 Zemm5hYAaESq for ; Mon, 26 Jun 2023 15:42:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B4BE784D84 for ; Mon, 26 Jun 2023 15:42:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C91A7FA89; Mon, 26 Jun 2023 15:42:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1687794173104970" MIME-Version: 1.0 Date: Mon, 26 Jun 2023 15:42:53 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/devel/cvsps To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20230626154253.C91A7FA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1687794173104970 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Mon Jun 26 15:42:53 UTC 2023 Modified Files: pkgsrc/devel/cvsps: distinfo Added Files: pkgsrc/devel/cvsps/patches: patch-cbtcommon_text__util.c Log Message: cvsps: fix build on Linux with musl libc. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/cvsps/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/cvsps/patches/patch-cbtcommon_text__util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1687794173104970 Content-Disposition: inline Content-Length: 1664 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/cvsps/distinfo diff -u pkgsrc/devel/cvsps/distinfo:1.16 pkgsrc/devel/cvsps/distinfo:1.17 --- pkgsrc/devel/cvsps/distinfo:1.16 Tue Oct 26 10:14:30 2021 +++ pkgsrc/devel/cvsps/distinfo Mon Jun 26 15:42:53 2023 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2021/10/26 10:14:30 nia Exp $ +$NetBSD: distinfo,v 1.17 2023/06/26 15:42:53 schmonz Exp $ BLAKE2s (cvsps-2.1.tar.gz) = f53a01d4ab914f817f2cb483c77bc2370b63ba966aff0473bea820f34a4f5a4c SHA512 (cvsps-2.1.tar.gz) = 8ba703fc4dd1c7a8201f4cefec533a6e228943f53f5380d8d17107718d8cb607c861a733d7ad1d6ed9288c4dbeae9fd59ceaf52172f16885a00d000a667e0e38 @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 20d84dc236a5c259677fdf SHA1 (patch-ae) = 345036b4021f90a2f6629a5d32e85caa786d961f SHA1 (patch-af) = d32eb67ede1d81ee3abe55a7f94515fcf3ea93cf SHA1 (patch-ag) = c68adbb42938ecb2f42c55bc9be0aa6db3b013f9 +SHA1 (patch-cbtcommon_text__util.c) = 9dd43cc1ed4d832a0b525278b4fcccaff20b03eb Added files: Index: pkgsrc/devel/cvsps/patches/patch-cbtcommon_text__util.c diff -u /dev/null pkgsrc/devel/cvsps/patches/patch-cbtcommon_text__util.c:1.1 --- /dev/null Mon Jun 26 15:42:53 2023 +++ pkgsrc/devel/cvsps/patches/patch-cbtcommon_text__util.c Mon Jun 26 15:42:53 2023 @@ -0,0 +1,15 @@ +$NetBSD: patch-cbtcommon_text__util.c,v 1.1 2023/06/26 15:42:53 schmonz Exp $ + +memfrob() is glibc-specific. + +--- cbtcommon/text_util.c.orig 2005-05-26 03:39:40.000000000 +0000 ++++ cbtcommon/text_util.c +@@ -236,7 +236,7 @@ void trim_zeros_after_decimal( char* src + } + } + +-#ifdef linux ++#ifdef __GLIBC__ + extern void *memfrob(void *, size_t); + #else + static void * memfrob(void * mem, size_t len) --_----------=_1687794173104970--