Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: racket 8.9-2 #2840

Merged
merged 1 commit into from
Jul 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions racket/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
diff --git PKGBUILD PKGBUILD
index 995d5068..ff79e278 100644
--- PKGBUILD
+++ PKGBUILD
@@ -21,12 +21,16 @@
@@ -22,12 +22,16 @@ b2sums=('860aa8fd7673ec484a9856a8b7dea8915ca444fb15158703b8e04562b489a548e350f41
prepare() {
cd "$pkgbase-$pkgver"
echo "Icon=drracket" >> share/pkgs/drracket/drracket/drracket.desktop
+ _sharedir=/usr/share/autoconf/build-aux
+ for _file in "config.guess" "config.sub"; do
+ find -name "${_file}" -exec cp -v "${_sharedir}/${_file}" {} \;
+ find -name "${_file}" -exec cp -v "${_sharedir}/${_file}" {} \;
+ done
}

build() {
cd "$pkgbase-$pkgver/src"
[ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC"
[ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC -ffat-lto-objects"
- ./configure --prefix=/usr --sysconfdir=/etc --enable-shared
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-bcdefault
make
Expand Down