1 |
commit: 6d9060f535781eaef211244e0f5d639541b46f80 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 23 03:00:17 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 23 03:00:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9060f5 |
7 |
|
8 |
app-mobilephone/gnokii: fix SQLite link typo |
9 |
|
10 |
Closes: https://bugs.gentoo.org/829800 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../gnokii/files/gnokii-0.6.31-sqlite-typo.patch | 18 ++++++++++++++++++ |
14 |
...gnokii-0.6.31-r3.ebuild => gnokii-0.6.31-r4.ebuild} | 1 + |
15 |
2 files changed, 19 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 000000000000..b3dd41d22019 |
20 |
--- /dev/null |
21 |
+++ b/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch |
22 |
@@ -0,0 +1,18 @@ |
23 |
+https://bugs.gentoo.org/829800 |
24 |
+https://src.fedoraproject.org/rpms/gnokii/raw/rawhide/f/gnokii-0.6.31-sqlite3.patch |
25 |
+ |
26 |
+Patch by Robert Scheck <robert@×××××××××××××.org> for gnokii <= 0.6.31 which adds |
27 |
+the missing linking to -lsqlite3 by correcting the configure script. Without this |
28 |
+patch the libsmsd_sqlite.so fails with "undefined symbol: sqlite3_open" simply. |
29 |
+ |
30 |
+--- a/configure.in |
31 |
++++ b/configure.in |
32 |
+@@ -747,7 +747,7 @@ |
33 |
+ have_sqlite=no |
34 |
+ PKG_CHECK_MODULES(SQLITE3, sqlite3, have_sqlite=yes, have_sqlite=no) |
35 |
+ if test x$enable_sqlite != xno && test x$PKGCONF != xno ; then |
36 |
+- SQLITE_LIBS=SQLITE3_LIBS |
37 |
++ SQLITE_LIBS=$SQLITE3_LIBS |
38 |
+ dnl SQLITE_CFLAGS=SQLITE3_CFLAGS |
39 |
+ AC_SUBST(SQLITE_LIBS) |
40 |
+ AC_SUBST(SQLITE_CFLAGS) |
41 |
|
42 |
diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild |
43 |
similarity index 98% |
44 |
rename from app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild |
45 |
rename to app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild |
46 |
index 7052b8e8aa7b..9e747c910869 100644 |
47 |
--- a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild |
48 |
+++ b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild |
49 |
@@ -52,6 +52,7 @@ PATCHES=( |
50 |
"${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch |
51 |
"${FILESDIR}"/${P}-gcc5.patch |
52 |
"${FILESDIR}"/${P}-gcc7.patch |
53 |
+ "${FILESDIR}"/${PN}-0.6.31-sqlite-typo.patch |
54 |
) |
55 |
|
56 |
src_prepare() { |