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: cdrtools 3.02a09-6 #4143

Merged
merged 1 commit into from
Sep 29, 2024
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
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() {
Loading