1 |
commit: a1115b15ff396d0096dade43aba4fa5faa1a0826 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 5 22:11:14 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 5 22:12:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1115b15 |
7 |
|
8 |
media-libs/aften: new revision with dynamically-linked executable. |
9 |
|
10 |
This new revision includes a tiny patch from Gentoo user Ihar |
11 |
Hrachyshka. The upstream build system defaults to building a target |
12 |
called "aften_static", and all we need to do is change that to "aften" |
13 |
to get the dynamically-linked version. |
14 |
|
15 |
Non-maintainer commit with permission from David Seifert (soap). |
16 |
|
17 |
Gentoo-Bug: 258397 |
18 |
|
19 |
Package-Manager: portage-2.2.28 |
20 |
|
21 |
.../{aften-0.0.8-r1.ebuild => aften-0.0.8-r2.ebuild} | 1 + |
22 |
media-libs/aften/files/aften-0.0.8-no-static-aften.patch | 15 +++++++++++++++ |
23 |
2 files changed, 16 insertions(+) |
24 |
|
25 |
diff --git a/media-libs/aften/aften-0.0.8-r1.ebuild b/media-libs/aften/aften-0.0.8-r2.ebuild |
26 |
similarity index 94% |
27 |
rename from media-libs/aften/aften-0.0.8-r1.ebuild |
28 |
rename to media-libs/aften/aften-0.0.8-r2.ebuild |
29 |
index b07f04f..6a18871 100644 |
30 |
--- a/media-libs/aften/aften-0.0.8-r1.ebuild |
31 |
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild |
32 |
@@ -18,6 +18,7 @@ IUSE="cxx" |
33 |
PATCHES=( |
34 |
"${FILESDIR}/${P}-multilib.patch" |
35 |
"${FILESDIR}/${P}-ppc.patch" |
36 |
+ "${FILESDIR}/${P}-no-static-aften.patch" |
37 |
) |
38 |
|
39 |
src_configure() { |
40 |
|
41 |
diff --git a/media-libs/aften/files/aften-0.0.8-no-static-aften.patch b/media-libs/aften/files/aften-0.0.8-no-static-aften.patch |
42 |
new file mode 100644 |
43 |
index 00000000..66cb18d |
44 |
--- /dev/null |
45 |
+++ b/media-libs/aften/files/aften-0.0.8-no-static-aften.patch |
46 |
@@ -0,0 +1,15 @@ |
47 |
+Patch from user Ihar Hrachyshka on Gentoo bug 258397. Replaces the |
48 |
+"aften_static" target with "aften" which is dynamically linked. |
49 |
+ |
50 |
+diff -urN aften-0.0.8.orig/CMakeLists.txt aften-0.0.8/CMakeLists.txt |
51 |
+--- a/CMakeLists.txt 2007-09-08 04:51:47.000000000 +0300 |
52 |
++++ b/CMakeLists.txt 2009-08-30 22:56:00.000000000 +0300 |
53 |
+@@ -278,7 +278,7 @@ |
54 |
+ # When linking to static aften, dllimport mustn't be used |
55 |
+ SET_TARGET_PROPERTIES(aften_exe PROPERTIES COMPILE_FLAGS -DAFTEN_BUILD_LIBRARY) |
56 |
+ ENDIF(WIN32) |
57 |
+-TARGET_LINK_LIBRARIES(aften_exe aften_pcm aften_static) |
58 |
++TARGET_LINK_LIBRARIES(aften_exe aften_pcm aften) |
59 |
+ |
60 |
+ ADD_EXECUTABLE(wavinfo util/wavinfo.c) |
61 |
+ TARGET_LINK_LIBRARIES(wavinfo aften_pcm) |