pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/fossil



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Oct  5 20:53:01 UTC 2019

Modified Files:
        pkgsrc/devel/fossil: Makefile distinfo
Added Files:
        pkgsrc/devel/fossil/patches: patch-src_sqlite3.c

Log Message:
fossil: address SunOS build failure


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/devel/fossil/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/fossil/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/fossil/patches/patch-src_sqlite3.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/fossil/Makefile
diff -u pkgsrc/devel/fossil/Makefile:1.51 pkgsrc/devel/fossil/Makefile:1.52
--- pkgsrc/devel/fossil/Makefile:1.51   Fri Oct  4 22:42:39 2019
+++ pkgsrc/devel/fossil/Makefile        Sat Oct  5 20:53:01 2019
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2019/10/04 22:42:39 gutteridge Exp $
+# $NetBSD: Makefile,v 1.52 2019/10/05 20:53:01 gutteridge Exp $
 
+PKGREVISION=   1
 DISTNAME=      fossil-src-2.10
 PKGNAME=       ${DISTNAME:S/-src//}
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}

Index: pkgsrc/devel/fossil/distinfo
diff -u pkgsrc/devel/fossil/distinfo:1.33 pkgsrc/devel/fossil/distinfo:1.34
--- pkgsrc/devel/fossil/distinfo:1.33   Fri Oct  4 22:42:39 2019
+++ pkgsrc/devel/fossil/distinfo        Sat Oct  5 20:53:01 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.33 2019/10/04 22:42:39 gutteridge Exp $
+$NetBSD: distinfo,v 1.34 2019/10/05 20:53:01 gutteridge Exp $
 
 SHA1 (fossil-src-2.10.tar.gz) = db68c266c2df094972ce7c38a0e2e0294b7b2f1f
 RMD160 (fossil-src-2.10.tar.gz) = e4ac6020a0369b3aff8942e06f45fe0de6cd3f50
 SHA512 (fossil-src-2.10.tar.gz) = aad54e3eaa2d647257c5c723fca4e55981aac0432d3d0b4deaa9651c7db7d27cb9f26f7ff40c31c452cb8dd54b0f0663c632183dc11982bc9cc24adf78b952e5
 Size (fossil-src-2.10.tar.gz) = 5634327 bytes
+SHA1 (patch-src_sqlite3.c) = cccf9af1ba8695dedcc5487234541d11f4538f8d

Added files:

Index: pkgsrc/devel/fossil/patches/patch-src_sqlite3.c
diff -u /dev/null pkgsrc/devel/fossil/patches/patch-src_sqlite3.c:1.1
--- /dev/null   Sat Oct  5 20:53:02 2019
+++ pkgsrc/devel/fossil/patches/patch-src_sqlite3.c     Sat Oct  5 20:53:01 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_sqlite3.c,v 1.1 2019/10/05 20:53:01 gutteridge Exp $
+
+SunOS needs alloca.h for alloca().
+
+--- src/sqlite3.c.orig 2019-10-04 21:41:13.000000000 +0000
++++ src/sqlite3.c
+@@ -18810,6 +18810,9 @@ SQLITE_PRIVATE int sqlite3HeapNearlyFull
+ ** that deal with sqlite3StackAlloc() failures to be unreachable.
+ */
+ #ifdef SQLITE_USE_ALLOCA
++# ifdef __sun
++# include <alloca.h>
++# endif
+ # define sqlite3StackAllocRaw(D,N)   alloca(N)
+ # define sqlite3StackAllocZero(D,N)  memset(alloca(N), 0, N)
+ # define sqlite3StackFree(D,P)



Home | Main Index | Thread Index | Old Index