Skip to content

Commit

Permalink
updpatch: cdrtools 3.02a09-6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Sep 27, 2024
1 parent 769d9ea commit 790f15b
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions cdrtools/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 1010493)
+++ PKGBUILD (working copy)
@@ -22,7 +22,7 @@
--- PKGBUILD
+++ PKGBUILD
@@ -37,14 +37,16 @@ prepare() {
sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux
# install rscsi to /usr/bin instead of /usr/sbin
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
-
sed -i 's|INSDIR=\s*sbin|INSDIR=bin|' rscsi/Makefile
+
+ ln -s i586-linux-cc.rul RULES/riscv64-linux-cc.rul
}

build() {
cd $pkgname-$_pkgver

export GMAKE_NOWARN=true
make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS"
- export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing"
- make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS"
+ export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing -Wno-implicit-int"
+ make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS" COPTX="$CFLAGS"
}

check() {

0 comments on commit 790f15b

Please sign in to comment.