aboutsummaryrefslogtreecommitdiffstats
path: root/main/gsl
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-05 23:13:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-18 17:52:48 +0100
commit77e4c97e3364b7732d47d9d374903cb96e8a05a9 (patch)
tree248df39241da64f74d042f962b47532f54307f3e /main/gsl
parentcc7509c635d9eccd9afe84a1cf316d3e38f37d03 (diff)
downloadaports-77e4c97e3364b7732d47d9d374903cb96e8a05a9.tar.bz2
aports-77e4c97e3364b7732d47d9d374903cb96e8a05a9.tar.xz
main/gsl: upgrade to 2.6
Diffstat (limited to 'main/gsl')
-rw-r--r--main/gsl/APKBUILD14
-rw-r--r--main/gsl/dont-disable-deprecated.patch24
2 files changed, 4 insertions, 34 deletions
diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD
index c84080e575..99f301b07c 100644
--- a/main/gsl/APKBUILD
+++ b/main/gsl/APKBUILD
@@ -1,23 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsl
-pkgver=2.5
+pkgver=2.6
pkgrel=0
pkgdesc="Modern numerical library for C and C++ programmers"
url="https://www.gnu.org/software/gsl/gsl.html"
arch="all"
license="GPL-3.0-or-later"
-depends=
-makedepends=
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz
- dont-disable-deprecated.patch"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz"
options="!check" # x86 and aarch64 fail the testsuite
# dont-disable-deprecated.patch is workaround for:
# https://github.com/SciRuby/rb-gsl/issues/40
-builddir="$srcdir"/$pkgname-$pkgver
-
build() {
cd "$builddir"
./configure \
@@ -37,5 +32,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="5b4c5c023f9029ce220f4e09aa4d0234fed94d42ac224d58fda095fe0532d54237a7c33278f8b5d0ba051f6004486edb38d0adb4fcb49337a8c1d8a18cf4a24a gsl-2.5.tar.gz
-88d40e599a9e619d8968f9848a91c54492d99032734371ee23072c8dae9d9920da445c1f8a880baa613479facec4afca3d3dec1070c240e5dfd5a662a41c92e8 dont-disable-deprecated.patch"
+sha512sums="0be8240715f0b86aba2c63d9f12da4dba4719d4e350e9308d279e0dd3b2f0519ea26fd2e38a17f3e8cf43aacbaa2455207a7ca0d6c305f3b8725e8ece2250a74 gsl-2.6.tar.gz"
diff --git a/main/gsl/dont-disable-deprecated.patch b/main/gsl/dont-disable-deprecated.patch
deleted file mode 100644
index 40a7c3bcee..0000000000
--- a/main/gsl/dont-disable-deprecated.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urp gsl-2.2.1/configure.ac patched/configure.ac
---- gsl-2.2.1/configure.ac 2016-08-31 15:54:07.000000000 +0100
-+++ patched/configure.ac 2017-01-31 14:52:10.000000000 +0000
-@@ -575,10 +575,6 @@ AH_BOTTOM([#if defined(GSL_RANGE_CHECK_O
- AH_BOTTOM([#define RETURN_IF_NULL(x) if (!x) { return ; }
- ])
-
--AH_VERBATIM([GSL_DISABLE_DEPRECATED],
--[/* Disable deprecated functions and enums while building */
--#define GSL_DISABLE_DEPRECATED 1])
--
- dnl
- AC_CONFIG_FILES([ \
- Makefile \
---- gsl-2.2.1/config.h.in 2016-08-31 15:54:51.000000000 +0100
-+++ patched/config.h.in 2017-01-31 16:01:17.000000000 +0000
-@@ -1,8 +1,5 @@
- /* config.h.in. Generated from configure.ac by autoheader. */
-
--/* Disable deprecated functions and enums while building */
--#define GSL_DISABLE_DEPRECATED 1
--
- /* Define if you have inline with C99 behavior */
- #undef HAVE_C99_INLINE