1
0
forked from ports/contrib

libsrtp: fixed build against gcc 10

This commit is contained in:
Tim Biermann 2020-10-17 14:40:02 +00:00
parent a271ae1223
commit 0a35e3ea93
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zv02AQgNW6VrKZwaYxitchCrDj893VghNzrqx1IAqT6hhucaD7+a/hsQ6mNlzE/f5bIl56NDln24B1EbQCTZwU=
SHA256 (Pkgfile) = 188813f38f4053664b04c652019158365fce6423a35b676512a588ac3f3455a7
RWSagIOpLGJF3+yAfRtiRb2qYxxfKAFv3FAl2z7EPYC50s6USgox7ExUf1YKIS3b0/WXsclsSK+QoHZlnEe/Cgzb2w48UAgLcAI=
SHA256 (Pkgfile) = 75acfd1d9e0ac9065ebf462f4f233a63cd229b9b0478d67309474a04e9d0a260
SHA256 (.footprint) = 91295a1aca3241912bd2cf2fb57bdf10b3f3d53025e35c879a35d70ca34f09a3
SHA256 (libsrtp-2.3.0.tar.gz) = 94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
SHA256 (libsrtp-2.3.0-1.tar.gz) = 185cefa11cb44ee94082d57ec59ad9740e84a48b0c71abb2a90720ec9529a71b

View File

@ -5,14 +5,18 @@
name=libsrtp
version=2.3.0
release=1
source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
release=2
source=(#https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
# ugly fix, but hey.. let's wait for a release here
https://github.com/cisco/libsrtp/archive/7d351de8177b33c96669bb79dc684a8dc64c2483/$name-$version-1.tar.gz)
build() {
cd $name-$version
#cd $name-$version
cd $name-7d351de8177b33c96669bb79dc684a8dc64c2483
autoreconf -fvi
./configure \
--prefix=/usr \
--disable-debug
--enable-openssl
make
make DESTDIR=$PKG install
}