]> git.pld-linux.org Git - packages/libshout.git/commitdiff
- rel 4; fix openssl 1.1.1 build auto/th/libshout-2.4.1-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Sep 2018 11:13:19 +0000 (13:13 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Sep 2018 11:13:19 +0000 (13:13 +0200)
libshout.spec
openssl.patch [new file with mode: 0644]

index 6b5811cb0c18577684ad90257f2ddab3909c2e51..0b383a31ce0915178a1515cebe9004458caa3bcb 100644 (file)
@@ -6,11 +6,12 @@ Summary:      libshout - icecast source streaming library
 Summary(pl.UTF-8):     Biblioteka źródeł strumieni icecast
 Name:          libshout
 Version:       2.4.1
-Release:       3
+Release:       4
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.xiph.org/releases/libshout/%{name}-%{version}.tar.gz
 # Source0-md5: 89cebf8cb0197f639cde69c95177fe47
+Patch0:                openssl.patch
 URL:           http://www.icecast.org/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
@@ -66,6 +67,7 @@ Statyczna biblioteka libshout - źródeł strumieni icecast.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/openssl.patch b/openssl.patch
new file mode 100644 (file)
index 0000000..7045b94
--- /dev/null
@@ -0,0 +1,14 @@
+--- libshout-2.4.1/src/tls.c~  2015-06-18 06:27:45.000000000 +0200
++++ libshout-2.4.1/src/tls.c   2018-09-18 13:11:18.634717702 +0200
+@@ -65,7 +65,11 @@ static inline int tls_setup(shout_tls_t
+       SSL_library_init();
+       SSL_load_error_strings();
++#if OPENSSL_VERSION_NUMBER < 0x10100000
+       SSLeay_add_all_algorithms();
++#else
++      OpenSSL_add_all_algorithms();;
++#endif
+       SSLeay_add_ssl_algorithms();
+       meth = TLSv1_client_method();
This page took 0.106606 seconds and 4 git commands to generate.