mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/tinyfugue: fix build with GCC 14
This commit is contained in:
parent
a777a84958
commit
58e66ffa7d
@ -9,7 +9,8 @@ arch="all"
|
|||||||
options="!check" # no testsuite
|
options="!check" # no testsuite
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
makedepends="openssl-dev ncurses-dev pcre-dev icu-dev python3-dev"
|
makedepends="openssl-dev ncurses-dev pcre-dev icu-dev python3-dev"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ingwarsw/tinyfugue/archive/refs/tags/$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ingwarsw/tinyfugue/archive/refs/tags/$pkgver.tar.gz
|
||||||
|
gcc14.patch"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
@ -32,4 +33,5 @@ package() {
|
|||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
5732b3f96bc5e09e1eadd89994a25161d765ecaa0c72e5fd1d546b12028eb873faeb178fefbe3262aa790660a509fbf5de6dc74a50c23040005ab42d4a46ae14 tinyfugue-5.1.4.tar.gz
|
5732b3f96bc5e09e1eadd89994a25161d765ecaa0c72e5fd1d546b12028eb873faeb178fefbe3262aa790660a509fbf5de6dc74a50c23040005ab42d4a46ae14 tinyfugue-5.1.4.tar.gz
|
||||||
|
fa5bbbcb236aeff6095a9bbac2975d78e72e73abd88260c41fccddd0e7b33e5cb50a77cf5661e9efab952e2076e76792a616c59552c25d8dce9e0bb21372ad46 gcc14.patch
|
||||||
"
|
"
|
||||||
|
11
community/tinyfugue/gcc14.patch
Normal file
11
community/tinyfugue/gcc14.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- tinyfugue-5.1.4.orig/src/tfpython.c
|
||||||
|
+++ tinyfugue-5.1.4/src/tfpython.c
|
||||||
|
@@ -201,7 +201,7 @@
|
||||||
|
{
|
||||||
|
struct Value *rc;
|
||||||
|
char *cstr;
|
||||||
|
- int len; // Py_ssize_t len;
|
||||||
|
+ Py_ssize_t len;
|
||||||
|
|
||||||
|
// can be null if exception was thrown
|
||||||
|
if( !pRc ) {
|
Loading…
Reference in New Issue
Block a user