diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/libverto/001-libev-not-compliant-c89.patch | 15 | ||||
-rw-r--r-- | main/libverto/APKBUILD | 14 |
2 files changed, 23 insertions, 6 deletions
diff --git a/main/libverto/001-libev-not-compliant-c89.patch b/main/libverto/001-libev-not-compliant-c89.patch new file mode 100644 index 0000000000..502aefe987 --- /dev/null +++ b/main/libverto/001-libev-not-compliant-c89.patch @@ -0,0 +1,15 @@ +diff --git a/configure.ac b/configure.ac +index 09ee123..b7b5908 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -7,8 +7,8 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + [AC_USE_SYSTEM_EXTENSIONS], + [AC_GNU_SOURCE]) + +-AC_PROG_CC_C89 +-for flag in -std=c89 -Wall -Wextra; do ++AC_PROG_CC_C99 ++for flag in -Wall -Wextra; do + AC_TRY_COMPILE([], [return 0;], [CFLAGS="$CFLAGS $flag"],) + done + diff --git a/main/libverto/APKBUILD b/main/libverto/APKBUILD index 727219e1c5..65d78fbc51 100644 --- a/main/libverto/APKBUILD +++ b/main/libverto/APKBUILD @@ -1,19 +1,20 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libverto -pkgver=0.2.5 -pkgrel=2 +pkgver=0.3.0 +pkgrel=0 pkgdesc="Main loop abstraction library" url="https://github.com/npmccallum/libverto" arch="all" license="MIT" -depends="" makedepends="glib-dev libevent-dev libev-dev automake autoconf libtool" subpackages="$pkgname-dev $pkgname-libev $pkgname-libevent $pkgname-glib" -source="$pkgname-$pkgver.tar.gz::https://github.com/npmccallum/$pkgname/archive/$pkgver.tar.gz" - +source="$pkgname-$pkgver.tar.gz::https://github.com/npmccallum/$pkgname/archive/$pkgver.tar.gz + 001-libev-not-compliant-c89.patch" builddir="$srcdir"/libverto-$pkgver + prepare() { + default_prepare cd "$builddir" autoreconf -i } @@ -45,4 +46,5 @@ libev() { _mv_backend libev; } libevent() { _mv_backend libevent; } glib() { _mv_backend glib; } -sha512sums="f5c9c8a999fec932022c30836791d77b30cf85f4e03f5cd28e3cac76a7dcd91e0d233f963437af25666908ef2ea5a9c6c7c817cfa42e675c81665df19971b070 libverto-0.2.5.tar.gz" +sha512sums="1c5ff810c839a9dbd515f0782e4f742193e4e6d40a5a87e669ceb4765838d30569dc89f2b425c131247fb5f67e354abb472d08fc5e91f4e5a82c05a30d2daac8 libverto-0.3.0.tar.gz +db713bb388766a3bd4cf7fca579fdd1611f30d53054d246d42c2b106932a3c758347d84ff5138b1135c599437f520dc46d20048bb27e6d305e270fca7ac3a53b 001-libev-not-compliant-c89.patch" |