mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
net-p2p/mldonkey: fix indirect link to libpng problem
see bug #432772, #435430 Signed-off-by: Lan Yixun (dlan) <dennis.yxun@gmail.com>
This commit is contained in:
parent
594fd806fb
commit
c1d9c1dbba
13
net-p2p/mldonkey/files/mldonkey-3.1.3-png.patch
Normal file
13
net-p2p/mldonkey/files/mldonkey-3.1.3-png.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/config/Makefile.in b/config/Makefile.in
|
||||
index e10cadf..9659e06 100644
|
||||
--- a/config/Makefile.in
|
||||
+++ b/config/Makefile.in
|
||||
@@ -554,7 +554,7 @@ CORE_SRCS += $(OPENFT_SRCS)
|
||||
endif
|
||||
|
||||
ifeq ("$(GD)", "yes")
|
||||
- GD_LIBS_flags=-cclib "-lgd $(GD_LIBS)" -ccopt "$(GD_LDFLAGS)"
|
||||
+ GD_LIBS_flags=-cclib "-lgd -lpng $(GD_LIBS)" -ccopt "$(GD_LDFLAGS)"
|
||||
ifneq ("$(GD_STATIC_LIBS)", "")
|
||||
GD_STATIC_LIBS_opt=-cclib "-lgd $(GD_STATIC_LIBS)" -ccopt "$(GD_LDFLAGS)"
|
||||
endif
|
@ -53,7 +53,8 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-gcc.patch"
|
||||
epatch "${FILESDIR}/${P}-gcc.patch"
|
||||
epatch "${FILESDIR}/${P}-png.patch"
|
||||
epatch_user
|
||||
cd "${S}"/config
|
||||
eautoconf
|
||||
|
Loading…
x
Reference in New Issue
Block a user