pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/tcsh



Module Name:    pkgsrc
Committed By:   christos
Date:           Tue Jul 14 21:48:30 UTC 2020

Modified Files:
        pkgsrc/shells/tcsh: distinfo
Added Files:
        pkgsrc/shells/tcsh/patches: patch-tc.alloc.c

Log Message:
fix static build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/shells/tcsh/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/shells/tcsh/patches/patch-tc.alloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/tcsh/distinfo
diff -u pkgsrc/shells/tcsh/distinfo:1.45 pkgsrc/shells/tcsh/distinfo:1.46
--- pkgsrc/shells/tcsh/distinfo:1.45    Wed Jul  8 00:06:48 2020
+++ pkgsrc/shells/tcsh/distinfo Tue Jul 14 17:48:29 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2020/07/08 04:06:48 mrg Exp $
+$NetBSD: distinfo,v 1.46 2020/07/14 21:48:29 christos Exp $
 
 SHA1 (tcsh-6.22.02.tar.gz) = d3c916c82eec7e20c49dedf660edd51a7971f8ab
 RMD160 (tcsh-6.22.02.tar.gz) = f6c7d6521e1e092dd2c68727e45fbadd54af82e4
@@ -9,3 +9,4 @@ SHA1 (patch-ab) = 715d939e8a8f4917bd219d
 SHA1 (patch-configure) = 6970c041a66910325d1fb53ebf8ab3627d764778
 SHA1 (patch-nls_Makefile.in) = 58d859e8a50e6436b9bc6514497eb876426d92d7
 SHA1 (patch-sh.h) = ac6211ddd5e552e9baec2d35aed5e7e573cab04e
+SHA1 (patch-tc.alloc.c) = 14c19c860b1a963428cce77b23df4a250abd4561

Added files:

Index: pkgsrc/shells/tcsh/patches/patch-tc.alloc.c
diff -u /dev/null pkgsrc/shells/tcsh/patches/patch-tc.alloc.c:1.3
--- /dev/null   Tue Jul 14 17:48:30 2020
+++ pkgsrc/shells/tcsh/patches/patch-tc.alloc.c Tue Jul 14 17:48:30 2020
@@ -0,0 +1,20 @@
+$NetBSD: patch-tc.alloc.c,v 1.3 2020/07/14 21:48:30 christos Exp $
+
+Fix static linking since NetBSD's libc needs these for pthread_atfork();
+
+--- tc.alloc.c.orig    2019-12-04 12:51:54.000000000 -0500
++++ tc.alloc.c 2020-07-14 17:42:39.103744313 -0400
+@@ -655,3 +655,13 @@
+     USE(c);
+     USE(v);
+ }
++
++#ifndef SYSMALLOC
++/* jemalloc defines these */
++void _malloc_prefork(void);
++void _malloc_postfork(void);
++void _malloc_postfork_child(void);
++void _malloc_prefork(void) {}
++void _malloc_postfork(void) {}
++void _malloc_postfork_child(void) {}
++#endif



Home | Main Index | Thread Index | Old Index