summaryrefslogtreecommitdiff
path: root/user/swig
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-26 14:50:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-06-11 14:03:57 -0500
commite0c053a53d9da2c6ec6b07140d7c82ed2d0cc7de (patch)
tree4ef2660d74632db1e79c043225ef548afac4f6a1 /user/swig
parent892f9e73f376acf90344da98a0ea24d3ff556fdc (diff)
downloadpackages-e0c053a53d9da2c6ec6b07140d7c82ed2d0cc7de.tar.gz
packages-e0c053a53d9da2c6ec6b07140d7c82ed2d0cc7de.tar.bz2
packages-e0c053a53d9da2c6ec6b07140d7c82ed2d0cc7de.tar.xz
packages-e0c053a53d9da2c6ec6b07140d7c82ed2d0cc7de.zip
user/swig: Update to 4.1.1
Needed for GCC 13 support, since the generated C++ code was not amenable to GCC 13 in its prior state. 4.1.1 is the last version to support PHP 7, so I stopped there until we are able to land PHP 8.
Diffstat (limited to 'user/swig')
-rw-r--r--user/swig/APKBUILD13
-rw-r--r--user/swig/fix-overload-simple-cast-test.patch23
2 files changed, 5 insertions, 31 deletions
diff --git a/user/swig/APKBUILD b/user/swig/APKBUILD
index 20ec308c1..9ad56dd8b 100644
--- a/user/swig/APKBUILD
+++ b/user/swig/APKBUILD
@@ -1,18 +1,16 @@
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=swig
-pkgver=4.0.2
-pkgrel=2
+pkgver=4.1.1
+pkgrel=0
pkgdesc="Tool for integrating C and C++ code with other languages"
url="http://www.swig.org/"
arch="all"
license="GPL-3.0+ AND MIT"
depends=""
checkdepends="boost-dev diffutils"
-makedepends="pcre-dev perl-dev python3-dev zlib-dev"
+makedepends="pcre2-dev perl-dev python3-dev zlib-dev"
subpackages="$pkgname-doc"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- fix-overload-simple-cast-test.patch
- "
+source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
./configure \
@@ -34,5 +32,4 @@ package() {
install -D -m644 LICENSE-UNIVERSITIES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-UNIVERSITIES
}
-sha512sums="05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed swig-4.0.2.tar.gz
-3de6484d920d8ecf042102d40af3a375ecb1ead3c4e0bc45ae63633e5fd652f52e1938108f747514a654a19d93a783afe2968b141be56957f438162263d62d8a fix-overload-simple-cast-test.patch"
+sha512sums="1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100 swig-4.1.1.tar.gz"
diff --git a/user/swig/fix-overload-simple-cast-test.patch b/user/swig/fix-overload-simple-cast-test.patch
deleted file mode 100644
index a3c8cff26..000000000
--- a/user/swig/fix-overload-simple-cast-test.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From a2850397ba3eec5d4c58304cf8277ca535919760 Mon Sep 17 00:00:00 2001
-From: Julien Schueller <schueller@phimeca.com>
-Date: Thu, 5 Aug 2021 14:05:10 +0200
-Subject: [PATCH] [Python] Fix overload_simple_cast test with 3.10
-
-Closes #2044
----
- Examples/test-suite/python/python_overload_simple_cast_runme.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/Examples/test-suite/python/python_overload_simple_cast_runme.py b/Examples/test-suite/python/python_overload_simple_cast_runme.py
-index fc398ab29b9..7a0174af8a2 100644
---- a/Examples/test-suite/python/python_overload_simple_cast_runme.py
-+++ b/Examples/test-suite/python/python_overload_simple_cast_runme.py
-@@ -9,6 +9,8 @@ def __init__(self, x):
- def __int__(self):
- return self.x
-
-+ def __index__(self):
-+ return self.x
-
- class Ad:
-