Commit 0b095f9f authored by Natanael Copa's avatar Natanael Copa

main/abiword: rebuild against libwv-1.2.9

parent b7794249
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=abiword
pkgver=2.8.6
pkgrel=5
pkgrel=6
pkgdesc="A fully-featured word processor"
url="http://www.abisource.com"
arch="all"
license="GPL"
makedepends="pkgconfig libglade-dev libgsf-dev enchant-dev fribidi-dev wv-dev
popt-dev jpeg-dev librsvg-dev bzip2-dev goffice-dev"
popt-dev jpeg-dev librsvg-dev bzip2-dev goffice-dev
autoconf automake libtool"
# openxml plugin
makedepends="$makedepends boost-dev"
......@@ -28,11 +29,18 @@ for _i in $_plugins; do
done
source="http://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz
abiword-png15.patch"
abiword-png15.patch
abiword-2.8.6-no-undefined.patch
"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
patch -p1 < "$srcdir"/abiword-png15.patch
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
autoreconf --force --install
}
build() {
......@@ -75,4 +83,5 @@ plugins() {
}
md5sums="f883b0a7f26229a9c66fd6a1a94381aa abiword-2.8.6.tar.gz
1d0bb11ed10b431ab312173de81d12c4 abiword-png15.patch"
1d0bb11ed10b431ab312173de81d12c4 abiword-png15.patch
42e2614b6e0aad457d91f6ce20b6f225 abiword-2.8.6-no-undefined.patch"
diff -u -r abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am
--- abiword-2.8.6.orig/src/Makefile.am 2009-09-09 15:11:01.000000000 +0200
+++ abiword-2.8.6/src/Makefile.am 2011-08-02 23:35:51.904761961 +0200
@@ -107,7 +107,7 @@
AbiWord_LDFLAGS = \
$(DEPS_LIBS) \
- --no-undefined \
+ -Wl,--no-undefined \
-avoid-version \
-export-dynamic \
-headerpad_max_install_names
@@ -129,7 +129,7 @@
abiword_LDFLAGS = \
$(platform_ldflags) \
- --no-undefined \
+ -Wl,--no-undefined \
-avoid-version \
-export-dynamic
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment