Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/pacutils
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-01-29 14:37:27 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-01-29 14:37:27 +0100
commit6b44298795b3c5c0a373808ffafa8ac51507e131 (patch)
treec01617c3c5360f529347756675bcb017c7f08d51 /community/pacutils
parent03dc874668b025ed8ddc5a1963d2644ef664feee (diff)
community/pacutils: added -D_FILE_OFFSET_BITS=64 (see FS32#317)
Diffstat (limited to 'community/pacutils')
-rw-r--r--community/pacutils/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/pacutils/PKGBUILD b/community/pacutils/PKGBUILD
new file mode 100644
index 00000000..8d11e5cc
--- /dev/null
+++ b/community/pacutils/PKGBUILD
@@ -0,0 +1,10 @@
+# see https://bugs.archlinux32.org/index.php?do=details&task_id=317
+# see https://github.com/andrewgregory/pacutils/pull/51
+# see https://github.com/CyberShadow/aconfmgr/issues/159
+eval "$(
+ declare -f build | \
+ sed '
+ /make CFLAGS/ i \
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
+ '
+)"