pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-apsw
Module Name: pkgsrc
Committed By: abs
Date: Mon Oct 2 15:54:46 UTC 2023
Modified Files:
pkgsrc/databases/py-apsw: distinfo
Added Files:
pkgsrc/databases/py-apsw/patches: patch-src_apsw.c
Log Message:
Fix build on systems without alloca.h
alloca.h has been deprecated for a long time, and no modern system
should need it (and some do not even have it). While there are some
references to alloca() in the source, none are in src/apsw.c
Fixes build on at least NetBSD
https://github.com/rogerbinns/apsw/pull/490
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/databases/py-apsw/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-apsw/patches/patch-src_apsw.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/py-apsw/distinfo
diff -u pkgsrc/databases/py-apsw/distinfo:1.34 pkgsrc/databases/py-apsw/distinfo:1.35
--- pkgsrc/databases/py-apsw/distinfo:1.34 Wed Sep 27 15:17:05 2023
+++ pkgsrc/databases/py-apsw/distinfo Mon Oct 2 15:54:46 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.34 2023/09/27 15:17:05 adam Exp $
+$NetBSD: distinfo,v 1.35 2023/10/02 15:54:46 abs Exp $
BLAKE2s (apsw-3.43.1.0.zip) = 1f6a337315c25ba9590250d92568a6593af929d8a4f3b8e92dd29de900c925d3
SHA512 (apsw-3.43.1.0.zip) = 2ac78e2646490250352e39b32bf484264db6026c7b0152bd7f67e91745dc40631b09c53ac7ce7937198ac41e5d55981ef1b09190555c3569fc6319db4df87bd9
Size (apsw-3.43.1.0.zip) = 4136246 bytes
+SHA1 (patch-src_apsw.c) = 42b4bcb8f4e6e864c0bc215e48938c291b00ec35
Added files:
Index: pkgsrc/databases/py-apsw/patches/patch-src_apsw.c
diff -u /dev/null pkgsrc/databases/py-apsw/patches/patch-src_apsw.c:1.1
--- /dev/null Mon Oct 2 15:54:46 2023
+++ pkgsrc/databases/py-apsw/patches/patch-src_apsw.c Mon Oct 2 15:54:46 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_apsw.c,v 1.1 2023/10/02 15:54:46 abs Exp $
+
+alloca.h has been deprecated for a long time, and no modern system
+should need it (and some do not even have it). While there are some
+references to alloca() in the source, none are in src/apsw.c
+
+Fixes build on at least NetBSD
+
+https://github.com/rogerbinns/apsw/pull/490
+
+--- src/apsw.c.orig 2023-09-13 14:34:08.000000000 +0000
++++ src/apsw.c
+@@ -101,8 +101,6 @@ API Reference
+ #include <stdarg.h>
+ #ifdef _MSC_VER
+ #include <malloc.h>
+-#else
+-#include <alloca.h>
+ #endif
+
+ /* Get the version number */
Home |
Main Index |
Thread Index |
Old Index