[packages/sqlite3] amalgamation patch not needed since 3.38.0

atler atler at pld-linux.org
Thu Jan 16 18:25:56 CET 2025


commit 5b078fbf63cbd621952466a47f01776ea8630923
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 22 18:56:54 2024 +0200

    amalgamation patch not needed since 3.38.0

 sqlite3-amalgamation_configure.patch | 37 ------------------------------------
 sqlite3.spec                         |  2 --
 2 files changed, 39 deletions(-)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index bbe056c..1d08f8f 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -40,7 +40,6 @@ Group:		Libraries
 # Source0Download: http://www.sqlite.org/download.html
 Source0:	https://www.sqlite.org/2024/sqlite-src-%{vnum}.zip
 # Source0-md5:	ce83f1ffb3b051856e072678cbd3039f
-Patch0:		%{name}-amalgamation_configure.patch
 URL:		https://www.sqlite.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -200,7 +199,6 @@ Rozszerzenie sqlite3 dla Tcl.
 
 %prep
 %setup -q -n sqlite-src-%{vnum}
-%patch0 -p1
 
 %{__sed} -i 's/mkdir doc/#mkdir doc/' Makefile.in
 
diff --git a/sqlite3-amalgamation_configure.patch b/sqlite3-amalgamation_configure.patch
deleted file mode 100644
index 6b035b6..0000000
--- a/sqlite3-amalgamation_configure.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- sqlite-src-3370000/configure.ac.orig	2021-11-27 16:05:17.000000000 +0100
-+++ sqlite-src-3370000/configure.ac	2021-12-03 21:21:47.506868981 +0100
-@@ -116,6 +116,13 @@
- USE_AMALGAMATION=1
- 
- #########
-+# By default, amalgamation sqlite3.c will have #line directives.
-+# This is a build option not shown by ./configure --help
-+# To control it, use configure option: amalgamation_line_macros=?
-+# where ? is no to suppress #line directives or yes to create them.
-+AMALGAMATION_LINE_MACROS=--linemacros=0
-+
-+#########
- # See whether we can run specific tclsh versions known to work well;
- # if not, then we fall back to plain tclsh.
- # TODO: try other versions before falling back?
-@@ -574,6 +581,20 @@
- fi
- AC_SUBST(USE_AMALGAMATION)
- 
-+########
-+# See whether --disable
-+if test "${amalgamation_line_macros+set}" = set; then :
-+  enableval=$amalgamation_line_macros;
-+fi
-+
-+if test "${amalgamation_line_macros}" = "yes" ; then
-+  AMALGAMATION_LINE_MACROS=--linemacros=1
-+fi
-+if test "${amalgamation_line_macros}" = "no" ; then
-+  AMALGAMATION_LINE_MACROS=--linemacros=0
-+fi
-+AC_SUBST(AMALGAMATION_LINE_MACROS)
-+
- #########
- # Look for zlib.  Only needed by extensions and by the sqlite3.exe shell
- AC_CHECK_HEADERS(zlib.h)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sqlite3.git/commitdiff/c7803a4a31f3554db43996c22662587a7edc8722



More information about the pld-cvs-commit mailing list