summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-20 11:50:15 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-20 11:50:15 +0100
commit345a48ea7c81b50f16cd224d34efbda35211c92a (patch)
tree1d4e4c290a534a72593916235a51a48391efc95a /app-office/dia
parentdev-libs/d0_blind_id: Fixed build with sys-devel/slibtool (diff)
downloadgentoo-345a48ea7c81b50f16cd224d34efbda35211c92a.tar.gz
gentoo-345a48ea7c81b50f16cd224d34efbda35211c92a.tar.bz2
gentoo-345a48ea7c81b50f16cd224d34efbda35211c92a.zip
app-office/dia: Fixed build with sys-devel/slibtool
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-office/dia')
-rw-r--r--app-office/dia/dia-0.97.3-r1.ebuild4
-rw-r--r--app-office/dia/files/dia-0.97.3-slibtool.patch13
2 files changed, 15 insertions, 2 deletions
diff --git a/app-office/dia/dia-0.97.3-r1.ebuild b/app-office/dia/dia-0.97.3-r1.ebuild
index fc0207a5f053..156200bf1495 100644
--- a/app-office/dia/dia-0.97.3-r1.ebuild
+++ b/app-office/dia/dia-0.97.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch #159381 , upstream #470812 #558690
"${FILESDIR}"/${PN}-0.97.2-underlinking.patch #420685, upstream #678761
"${FILESDIR}"/${PN}-0.97.3-freetype_pkgconfig.patch #654814, upstream https://gitlab.gnome.org/GNOME/dia/merge_requests/1
+ "${FILESDIR}"/${PN}-0.97.3-slibtool.patch
)
src_prepare() {
@@ -62,7 +63,6 @@ src_prepare() {
# Upstream bug #737255
sed -i -e "/localedir/d" configure.in || die
- eautoreconf
gnome2_src_prepare
}
diff --git a/app-office/dia/files/dia-0.97.3-slibtool.patch b/app-office/dia/files/dia-0.97.3-slibtool.patch
new file mode 100644
index 000000000000..1efdbc1490bc
--- /dev/null
+++ b/app-office/dia/files/dia-0.97.3-slibtool.patch
@@ -0,0 +1,13 @@
+This fixes build with sys-devel/slibtool
+
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -178,7 +178,7 @@ libdia_la_SOURCES = \
+ # render.h \
+ # render.c
+
+-libdia_la_LDFLAGS = -avoid-version --export-dynamic
++libdia_la_LDFLAGS = -avoid-version -export-dynamic
+ libdia_la_LIBADD = $(GTK_LIBS)
+
+ AM_CPPFLAGS = \