diff options
author | Sam James <sam@gentoo.org> | 2021-12-23 03:00:17 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-23 03:00:34 +0000 |
commit | 6d9060f535781eaef211244e0f5d639541b46f80 (patch) | |
tree | 90d318978a07d26a3d4ebfd94d75ac01caa4a394 /app-mobilephone/gnokii | |
parent | dev-python/sqlalchemy: Stabilize 1.4.27-r3 arm64, #829528 (diff) | |
download | gentoo-6d9060f535781eaef211244e0f5d639541b46f80.tar.gz gentoo-6d9060f535781eaef211244e0f5d639541b46f80.tar.bz2 gentoo-6d9060f535781eaef211244e0f5d639541b46f80.zip |
app-mobilephone/gnokii: fix SQLite link typo
Closes: https://bugs.gentoo.org/829800
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-mobilephone/gnokii')
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch | 18 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild (renamed from app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild) | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch b/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch new file mode 100644 index 000000000000..b3dd41d22019 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/829800 +https://src.fedoraproject.org/rpms/gnokii/raw/rawhide/f/gnokii-0.6.31-sqlite3.patch + +Patch by Robert Scheck <robert@fedoraproject.org> for gnokii <= 0.6.31 which adds +the missing linking to -lsqlite3 by correcting the configure script. Without this +patch the libsmsd_sqlite.so fails with "undefined symbol: sqlite3_open" simply. + +--- a/configure.in ++++ b/configure.in +@@ -747,7 +747,7 @@ + have_sqlite=no + PKG_CHECK_MODULES(SQLITE3, sqlite3, have_sqlite=yes, have_sqlite=no) + if test x$enable_sqlite != xno && test x$PKGCONF != xno ; then +- SQLITE_LIBS=SQLITE3_LIBS ++ SQLITE_LIBS=$SQLITE3_LIBS + dnl SQLITE_CFLAGS=SQLITE3_CFLAGS + AC_SUBST(SQLITE_LIBS) + AC_SUBST(SQLITE_CFLAGS) diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild index 7052b8e8aa7b..9e747c910869 100644 --- a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild +++ b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch "${FILESDIR}"/${P}-gcc5.patch "${FILESDIR}"/${P}-gcc7.patch + "${FILESDIR}"/${PN}-0.6.31-sqlite-typo.patch ) src_prepare() { |