Subject: [alpine-aports] [PATCH] community/libodfgen: upgrade to 0.1.7, modernize

From: alpine-mips-patches <[email-masked]>
Date: Tue, 20 Nov 2018 22:10:57 +0000

- essentially fix gcc8-related build failure (-Werror=parentheses);
- remove update_config_sub since it is no longer necessary;
---
 community/libodfgen/APKBUILD | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/community/libodfgen/APKBUILD b/community/libodfgen/APKBUILD
index f0c8787fd1..59e9f97069 100644
--- a/community/libodfgen/APKBUILD
+++ b/community/libodfgen/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Timo Ter��s <[email-masked]>
 # Maintainer: Timo Ter��s <[email-masked]>
 pkgname=libodfgen
-pkgver=0.1.6
+pkgver=0.1.7
 pkgrel=0
 pkgdesc="Import filter and tools for Open Document Format"
 url="https://sourceforge.net/projects/libwpd/"
@@ -16,11 +16,6 @@ source="https://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/
 
 builddir="$srcdir"/$pkgname-$pkgver
 
-prepare() {
-	default_prepare
-	update_config_sub
-}
-
 build() {
 	cd "$builddir"
 	./configure \
@@ -31,16 +26,13 @@ build() {
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--localstatedir=/var \
-		--enable-fast-install \
-		|| return 1
-	make || return 1
+		--enable-fast-install
+	make
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
 
-md5sums="731fd5e5513c55ed64458a0a8c33a830  libodfgen-0.1.6.tar.xz"
-sha256sums="03b210ab44f05e38091508cdca6ba0ff73de3ea8a168f849b8f1c5059c20b9e9  libodfgen-0.1.6.tar.xz"
-sha512sums="bc5e6908ee14c576adececdf8a94ae01f2ed487e6f2490e41aab787e1e8f72a3fb2a786f51ceeefa327710af215741ce13bcf4bb3d99d2aaf403f568c5db75a5  libodfgen-0.1.6.tar.xz"
+sha512sums="eaf5c6646a9cacf54cb0416b08526f35d18d0618f3f64cf14f4b24537b0285da2786d2f6d6e2c204c8248f900d37287b2c5af79720b0d49452f67b14c86ea36e  libodfgen-0.1.7.tar.xz"
-- 
2.19.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---