summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2020-05-15 16:48:34 -0300
committerRodrigo Bezerra2020-05-15 16:48:34 -0300
commit6402dc023040465a48558dfd9b4a55954b0a278f (patch)
tree3b499acef6769751ca78abd8801ec97b769dc787
parent28f427c02b2391ec02e004e33024bf1027f5653b (diff)
downloadaur-6402dc023040465a48558dfd9b4a55954b0a278f.tar.gz
Fix build with GCC 10
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2aca7537b3e1..f62ed339878f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-libsrtp
pkgdesc = Library for SRTP (Secure Realtime Transport Protocol) (32-bit)
pkgver = 2.3.0
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/cisco/libsrtp
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d3aa2e4d7f08..c3ec55624720 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_basename=libsrtp
pkgname="lib32-$_basename"
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Library for SRTP (Secure Realtime Transport Protocol) (32-bit)"
url="https://github.com/cisco/libsrtp"
@@ -29,6 +29,9 @@ prepare() {
# Fixup pkgver: There are tags like v1.5.4 but also "moving" tags like v1 and v1.5
git tag | grep -Pv '^v\d+.\d+.\d+$' | xargs git tag -d
+ # Fix building with GCC 10
+ git cherry-pick -n 716a73862b387a2107f37398c0fb7d9a754c0ccd
+
autoreconf -fvi
}