mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
sqlite: quick fix to re-enable libedit (#10467)
This commit is contained in:
25
dev-db/sqlite/patches/sqlite-3.44.2.0.patchset
Normal file
25
dev-db/sqlite/patches/sqlite-3.44.2.0.patchset
Normal file
@@ -0,0 +1,25 @@
|
||||
From d41788dc0b25b4a17bcb49a7a88ab819228b1c08 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Thu, 23 May 2024 21:25:52 -0600
|
||||
Subject: quick fix to enable libedit
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index cfe8e57..1032d9b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -57,9 +57,9 @@ AS_IF([ test x"$enable_editline" != xno ],[
|
||||
LIBS=""
|
||||
AC_SEARCH_LIBS([readline],[edit],[
|
||||
AC_DEFINE([HAVE_EDITLINE],1,Define to use BSD editline)
|
||||
- READLINE_LIBS="$LIBS -ltinfo"
|
||||
+ READLINE_LIBS="$LIBS"
|
||||
enable_readline=no
|
||||
- ],[],[-ltinfo])
|
||||
+ ],[],[])
|
||||
AS_UNSET(ac_cv_search_readline)
|
||||
LIBS=$sLIBS
|
||||
])
|
||||
--
|
||||
2.43.2
|
||||
|
||||
@@ -6,11 +6,12 @@ SQLite is in the public domain."
|
||||
HOMEPAGE="https://www.sqlite.org/"
|
||||
COPYRIGHT="Public Domain"
|
||||
LICENSE="SQLite"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
sqliteVersion=$(echo $portVersion | sed -e 's/\.\([0-9]\>\)/0\1/g' -e 's/\.//g')
|
||||
SOURCE_URI="https://www.sqlite.org/2023/sqlite-autoconf-$sqliteVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1c6719a148bc41cf0f2bbbe3926d7ce3f5ca09d878f1246fcc20767b175bb407"
|
||||
SOURCE_DIR="sqlite-autoconf-$sqliteVersion"
|
||||
PATCHES="sqlite-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
Reference in New Issue
Block a user