[arch-commits] Commit in gpac/trunk (PKGBUILD gpac-openssl-1.1.patch)

Antonio Rojas arojas at archlinux.org
Sat Mar 4 00:38:08 UTC 2017


    Date: Saturday, March 4, 2017 @ 00:38:07
  Author: arojas
Revision: 214730

openssl 1.1 rebuild

Added:
  gpac/trunk/gpac-openssl-1.1.patch
Modified:
  gpac/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   13 ++++++++++---
 gpac-openssl-1.1.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-04 00:29:08 UTC (rev 214729)
+++ PKGBUILD	2017-03-04 00:38:07 UTC (rev 214730)
@@ -4,7 +4,7 @@
 
 pkgname=gpac
 pkgver=0.6.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
 arch=('i686' 'x86_64')
@@ -19,9 +19,16 @@
             'sdl2: for sdl support')
 provides=('libgpac.so')
 options=('staticlibs' '!makeflags')
-source=("gpac-${pkgver}.tar.gz::https://github.com/gpac/gpac/archive/v${pkgver}.tar.gz")
-sha256sums=('67d1ac8f8b3e74da0e4e38ea926dc15bca6e9941e8f366e3538abcf13c103c09')
+source=("gpac-${pkgver}.tar.gz::https://github.com/gpac/gpac/archive/v${pkgver}.tar.gz" gpac-openssl-1.1.patch)
+sha256sums=('67d1ac8f8b3e74da0e4e38ea926dc15bca6e9941e8f366e3538abcf13c103c09'
+            '3a8b7b51192424df5aee3bf11a0207c9374aabcfba4db90522af2e3bbc37bbbe')
 
+prepare() {
+  cd gpac-${pkgver}
+  # fix build with openssl 1.1 (rpmfusion)
+  patch -p1 -i ../gpac-openssl-1.1.patch
+}
+
 build() {
   cd gpac-${pkgver}
 

Added: gpac-openssl-1.1.patch
===================================================================
--- gpac-openssl-1.1.patch	                        (rev 0)
+++ gpac-openssl-1.1.patch	2017-03-04 00:38:07 UTC (rev 214730)
@@ -0,0 +1,11 @@
+--- a/src/utils/downloader.c
++++ b/src/utils/downloader.c
+@@ -391,7 +391,6 @@
+ 	}
+ 	SSL_library_init();
+ 	SSL_load_error_strings();
+-	SSLeay_add_all_algorithms();
+ 	SSLeay_add_ssl_algorithms();
+ 	_ssl_is_initialized = GF_TRUE;
+ 	GF_LOG(GF_LOG_DEBUG, GF_LOG_NETWORK, ("[HTTPS] Initalization of SSL library complete.\n"));
+


More information about the arch-commits mailing list