pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/fossil fossil: address SunOS build failure



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1797a6b17b6
branches:  trunk
changeset: 402234:d1797a6b17b6
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Oct 05 20:53:01 2019 +0000

description:
fossil: address SunOS build failure

diffstat:

 devel/fossil/Makefile                    |   3 ++-
 devel/fossil/distinfo                    |   3 ++-
 devel/fossil/patches/patch-src_sqlite3.c |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 00dd6f0d7ff9 -r d1797a6b17b6 devel/fossil/Makefile
--- a/devel/fossil/Makefile     Sat Oct 05 20:52:52 2019 +0000
+++ b/devel/fossil/Makefile     Sat Oct 05 20:53:01 2019 +0000
@@ -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}
diff -r 00dd6f0d7ff9 -r d1797a6b17b6 devel/fossil/distinfo
--- a/devel/fossil/distinfo     Sat Oct 05 20:52:52 2019 +0000
+++ b/devel/fossil/distinfo     Sat Oct 05 20:53:01 2019 +0000
@@ -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
diff -r 00dd6f0d7ff9 -r d1797a6b17b6 devel/fossil/patches/patch-src_sqlite3.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fossil/patches/patch-src_sqlite3.c  Sat Oct 05 20:53:01 2019 +0000
@@ -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