diff options
-rw-r--r-- | user/feh/APKBUILD | 10 | ||||
-rw-r--r-- | user/feh/cflags.patch | 11 |
2 files changed, 17 insertions, 4 deletions
diff --git a/user/feh/APKBUILD b/user/feh/APKBUILD index 492cc2275..b68566ae2 100644 --- a/user/feh/APKBUILD +++ b/user/feh/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Max Rees <maxcrees@me.com> # Maintainer: Max Rees <maxcrees@me.com> pkgname=feh -pkgver=2.22 +pkgver=2.23 pkgrel=0 pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" url="http://feh.finalrewind.org/" @@ -13,7 +13,8 @@ makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev libxinerama-dev curl-dev libexif-dev" checkdepends="perl-utils perl-test-command" source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2 - stdout-buff.patch" + stdout-buff.patch + cflags.patch" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -36,5 +37,6 @@ package() { install } -sha512sums="403b1e760e2b3e177768b47de5bb7bd45c11152f04a21f6788afcaec12357a085f7c9944000f78a8df41a3d60a67985622d36effd543216153ab04e539b5b85f feh-2.22.tar.bz2 -38ead15a58c402181da3e39c09002d9f951b03cfdf5edde19072da313638025dca5fa7dbe466b8f05094d49d44750c467d7fa3832fbaa11ac135c5839e0ecdc1 stdout-buff.patch" +sha512sums="4b75f0053c3a4b1fb51251536896fd48470117ca3d59de1ac5a87f8071f37f886542e7d82730eec4579a1ebf507e4bc8a00fc45cf1364d2445b1aa82c5664ee7 feh-2.23.tar.bz2 +38ead15a58c402181da3e39c09002d9f951b03cfdf5edde19072da313638025dca5fa7dbe466b8f05094d49d44750c467d7fa3832fbaa11ac135c5839e0ecdc1 stdout-buff.patch +577e0420aef6bbf1cc43fe97813fd56a877c45b9cb01f1f86ee41863a8bf12f97b5f62c01b37a6b8fc78f7dd8ab9a372d1b09ba00e3811d0043772f5e16e0707 cflags.patch" diff --git a/user/feh/cflags.patch b/user/feh/cflags.patch new file mode 100644 index 000000000..88f0c05c9 --- /dev/null +++ b/user/feh/cflags.patch @@ -0,0 +1,11 @@ +--- feh-2.23/config.mk 2017-12-28 18:28:35.000000000 +0000 ++++ feh-2.23/config.mk 2018-01-08 01:19:54.440000000 +0000 +@@ -38,7 +38,7 @@ + CFLAGS += -Wall -Wextra -pedantic + + # Settings for glibc >= 2.19 - may need to be adjusted for other systems +-CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500 ++CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 + + ifeq (${curl},1) + CFLAGS += -DHAVE_LIBCURL |