summaryrefslogtreecommitdiff
path: root/dev-db/sqlite/files
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2025-08-28 19:20:12 +0200
committerJakov Smolić <jsmolic@gentoo.org>2025-08-28 19:31:08 +0200
commitc61313f1947b89d00859e66f612f2f380bfa5a98 (patch)
tree487531b219f6d2beff831be0d090ebbfa6e41f2c /dev-db/sqlite/files
parentfe9f449bbf186590f1c6f41a59eb3d4490ba1afc (diff)
downloadgentoo-c61313f1947b89d00859e66f612f2f380bfa5a98.tar.gz
gentoo-c61313f1947b89d00859e66f612f2f380bfa5a98.tar.bz2
gentoo-c61313f1947b89d00859e66f612f2f380bfa5a98.zip
dev-db/sqlite: Apply upstream clang patch to 3.50.4
Closes: https://bugs.gentoo.org/928745 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r--dev-db/sqlite/files/sqlite-3.50.4-clang.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.50.4-clang.patch b/dev-db/sqlite/files/sqlite-3.50.4-clang.patch
new file mode 100644
index 000000000000..a48d4be34d86
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.50.4-clang.patch
@@ -0,0 +1,30 @@
+# https://bugs.gentoo.org/928745
+# https://sqlite.org/src/info/9f0a16f6e8
+From dca1f04f0775cce80bcd6831acd9fa69bdfb40f2 Mon Sep 17 00:00:00 2001
+From: stephan <stephan@noemail.net>
+Date: Thu, 28 Aug 2025 15:04:52 +0000
+Subject: [PATCH] Remove sqlite3expert.h from the compiler invocation for that
+ tool, as it (A) doesn't need to be there and (B) it causes some compilers
+ problems (as reported in [forum:a1085109e7db4cf3 | forum post a1085109e7]).
+ This bug was faithfully carried over from the legacy build.
+
+FossilOrigin-Name: 9f0a16f6e893d51f760a8c1e2cb4709fdd16ccb2c0258695767f8305f407f4ac
+---
+ main.mk | 2 +-
+ manifest | 14 +++++++-------
+ manifest.uuid | 2 +-
+ 3 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/main.mk b/main.mk
+index f817924fea..6304a0ad30 100644
+--- a/main.mk
++++ b/main.mk
+@@ -1963,7 +1963,7 @@ xbin: sqltclsh$(T.exe) sqlite3_analyzer$(T.exe)
+
+ sqlite3_expert$(T.exe): $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c \
+ $(TOP)/ext/expert/expert.c sqlite3.c
+- $(T.link) $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c \
++ $(T.link) $(TOP)/ext/expert/sqlite3expert.c \
+ $(TOP)/ext/expert/expert.c sqlite3.c -o sqlite3_expert $(LDFLAGS.libsqlite3)
+ xbin: sqlite3_expert$(T.exe)
+