1 |
commit: 641226130f6ee8b1e390db562276c6f9045193ea |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 18:25:13 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 18:27:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64122613 |
7 |
|
8 |
dev-db/sqliteman: add patch to solve build failure on uclibc caused by underlinking |
9 |
|
10 |
Gentoo-bug: 587076 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch | 19 +++++++++++++++++++ |
15 |
dev-db/sqliteman/sqliteman-1.2.2-r1.ebuild | 3 ++- |
16 |
2 files changed, 21 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch b/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch |
19 |
new file mode 100644 |
20 |
index 0000000..a9bf4f4 |
21 |
--- /dev/null |
22 |
+++ b/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch |
23 |
@@ -0,0 +1,19 @@ |
24 |
+Resolves underlinking issue causing build failure on uclibc. |
25 |
+ |
26 |
+Author: René Rhéaume <rene.rheaume@×××××.com> |
27 |
+Gentoo-bug: 587076 |
28 |
+ |
29 |
+--- a/sqliteman/CMakeLists.txt |
30 |
++++ b/sqliteman/CMakeLists.txt |
31 |
+@@ -183,7 +183,10 @@ IF (WIN32) |
32 |
+ # don't use console subsystem |
33 |
+ IF (MINGW) |
34 |
+ TARGET_LINK_LIBRARIES(${EXE_NAME} "-mwindows") |
35 |
+- ENDIF (MINGW) |
36 |
++ ENDIF (MINGW) |
37 |
++ELSE (WIN32) |
38 |
++ FIND_PACKAGE(Threads) |
39 |
++ TARGET_LINK_LIBRARIES(${EXE_NAME} ${CMAKE_THREAD_LIBS_INIT}) |
40 |
+ ENDIF (WIN32) |
41 |
+ |
42 |
+ |
43 |
|
44 |
diff --git a/dev-db/sqliteman/sqliteman-1.2.2-r1.ebuild b/dev-db/sqliteman/sqliteman-1.2.2-r1.ebuild |
45 |
index edadcb7..e10a0ca 100644 |
46 |
--- a/dev-db/sqliteman/sqliteman-1.2.2-r1.ebuild |
47 |
+++ b/dev-db/sqliteman/sqliteman-1.2.2-r1.ebuild |
48 |
@@ -1,4 +1,4 @@ |
49 |
-# Copyright 1999-2015 Gentoo Foundation |
50 |
+# Copyright 1999-2016 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Id$ |
53 |
|
54 |
@@ -23,6 +23,7 @@ RDEPEND=" |
55 |
DEPEND="${RDEPEND}" |
56 |
|
57 |
DOCS=( AUTHORS README ) |
58 |
+PATCHES=( "${FILESDIR}/${P}-lpthread.patch" ) |
59 |
|
60 |
src_prepare() { |
61 |
# remove bundled lib |