summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrás Wacha2022-01-17 10:07:55 +0100
committerAndrás Wacha2022-01-17 10:07:55 +0100
commite736cfada15a083e0826a164c98bf7c31b02a02b (patch)
tree17cd4a28999d72bea5bf3d855646795f32631ff8
parentb1cbacca0e89da9d046b9b4a7dc0ac289211a0f4 (diff)
downloadaur-e736cfada15a083e0826a164c98bf7c31b02a02b.tar.gz
Workaround for a too strict compiler flag (-Werror=format-security) in the default /etc/makepkg.conf
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5613e73faf0a..d5dfcc36db78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = perl-starlink-ast
pkgdesc = Interface to the Starlink AST library
pkgver = 3.01
- pkgrel = 1
+ pkgrel = 2
url = https://metacpan.org/release/Starlink-AST
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9d24823ccc17..33d546620efd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-starlink-ast'
pkgver='3.01'
-pkgrel='1'
+pkgrel='2'
pkgdesc="Interface to the Starlink AST library"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
@@ -17,6 +17,10 @@ md5sums=('db53bc018bd349e3a0c85bd8c6883f3c')
sha512sums=('0beddc6c7c76f260725aa0958b2c82c2496b80c94529fca37e912493d45b09a07494f2b1bb3b0eb0ca99f61c6f415a6671240e9e69a8bef166d6b1591a00ddcf')
_distdir="Starlink-AST-${pkgver}"
+# Pacman v6.0.0 sets -Werror=format-security in /etc/makepkg.conf. This breaks the compilation of lib/Starlink/AST.xs
+CFLAGS="${CFLAGS} -Wno-error=format-security"
+
+
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \