mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/guile-reader: add deprecation.h header to fix build with GCC 14
This commit is contained in:
parent
de4feb771c
commit
10219577cb
@ -12,7 +12,8 @@ makedepends="gperf guile-dev gmp-dev"
|
||||
# Don't split -dev: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12783
|
||||
subpackages="$pkgname-doc"
|
||||
options="!strip" # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907061
|
||||
source="https://download.savannah.nongnu.org/releases/guile-reader/guile-reader-$pkgver.tar.gz"
|
||||
source="https://download.savannah.nongnu.org/releases/guile-reader/guile-reader-$pkgver.tar.gz
|
||||
add-deprecation-header.patch"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
@ -43,4 +44,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
0f9f47ee5f24ebb79894863ac96d63b0c7d2801020a212c59d11c7685ff4006a646be988a696a9b623dc0e0605f46d4a9a8680bfabd299878e41eab92e75efd5 guile-reader-0.6.3.tar.gz
|
||||
b311c607a030ab1f85ef832b8ae18b2f9327e2bdf3fd4af56167711a2ddf76a17e09e840d339ec2160314d35ca9b180f9b9bbab379b2f418c76a7815dbd6685a add-deprecation-header.patch
|
||||
"
|
||||
|
10
community/guile-reader/add-deprecation-header.patch
Normal file
10
community/guile-reader/add-deprecation-header.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- guile-reader-0.6.3.orig/src/compat.c
|
||||
+++ guile-reader-0.6.3/src/compat.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#endif
|
||||
|
||||
#include <libguile.h>
|
||||
+#include <libguile/deprecation.h>
|
||||
#include <compat.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
Loading…
Reference in New Issue
Block a user