Skip to content

Commit

Permalink
updpatch: cdparanoia
Browse files Browse the repository at this point in the history
- Fix rotten
- Successfully build without removing the `format-security` compiler flag
  • Loading branch information
Xunop authored and felixonmars committed Dec 23, 2023
1 parent 07309f1 commit f316b7d
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions cdparanoia/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 422631)
+++ PKGBUILD (working copy)
@@ -18,10 +18,12 @@
prepare() {
cd cdparanoia-III-$pkgver
patch -p0 -i "$srcdir"/gcc.patch
--- PKGBUILD
+++ PKGBUILD
@@ -27,6 +27,7 @@ prepare() {
patch -p1 -i "$srcdir"/cdparanoia-10.2-format-security.patch
# Use LDFLAGS
patch -p1 -i "$srcdir"/cdparanoia-10.2-ldflags.patch
+ cp /usr/share/autoconf/build-aux/config.guess ./configure.guess
}

build() {
cd cdparanoia-III-$pkgver
+ export CFLAGS=${CFLAGS/-Werror=format-security/}
./configure --prefix=/usr --mandir=/usr/share/man
make
}

0 comments on commit f316b7d

Please sign in to comment.