pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cvsps



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.

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)



Home | Main Index | Thread Index | Old Index