Skip to content

Commit

Permalink
updpatch: racket 8.9-2
Browse files Browse the repository at this point in the history
Fix rotten patch.
  • Loading branch information
hack3ric authored and felixonmars committed Jul 29, 2023
1 parent 2d0595a commit 70f7b13
Showing 1 changed file with 3 additions and 5 deletions.
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

0 comments on commit 70f7b13

Please sign in to comment.