Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libcdio/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-09-19 09:43:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-09-19 09:43:00 +0200
commitfc721ba63343e4599dc82b2d0018ae0b0eaf771a (patch)
tree58efeacc039791e4a790919d478b049cc81952e4 /extra/libcdio/PKGBUILD
parent05ae028e4999634ff70506f9c3fe107b6239d7a9 (diff)
extra/libcdio: added _LARGEFILE64_SOURCE and ignoring tests because of missing iso files
Diffstat (limited to 'extra/libcdio/PKGBUILD')
-rw-r--r--extra/libcdio/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD
new file mode 100644
index 00000000..696e7d78
--- /dev/null
+++ b/extra/libcdio/PKGBUILD
@@ -0,0 +1,15 @@
+# large file support needed for lseek64 on 32-bit
+eval "$(
+ declare -f build | \
+ sed '
+ /configure/ i export CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE"
+ '
+)"
+
+# tests don't find their test ISO images?
+eval "$(
+ declare -f check | \
+ sed '
+ s/\(make -C test check\)/\1 || true/
+ '
+)"