rpms/libaacs/F-20 libaacs.git-7f61e3f0124e0b4f4acc5555a90910cf29aac9e4.patch, NONE, 1.1 libaacs.spec, 1.14, 1.15

Xavier Bachelot xavierb at rpmfusion.org
Mon Mar 16 19:25:34 CET 2015


Author: xavierb

Update of /cvs/free/rpms/libaacs/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv1918

Modified Files:
	libaacs.spec 
Added Files:
	libaacs.git-7f61e3f0124e0b4f4acc5555a90910cf29aac9e4.patch 
Log Message:
Fix build with libgcrypt < 1.6.0

libaacs.git-7f61e3f0124e0b4f4acc5555a90910cf29aac9e4.patch:
 crypto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE libaacs.git-7f61e3f0124e0b4f4acc5555a90910cf29aac9e4.patch ---
>From 7f61e3f0124e0b4f4acc5555a90910cf29aac9e4 Mon Sep 17 00:00:00 2001
From: Xavier Bachelot <xavier at bachelot.org>
Date: Sun, 15 Mar 2015 22:34:31 +0100
Subject: [PATCH] errno.h is needed when using pthread

---
 src/libaacs/crypto.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libaacs/crypto.c b/src/libaacs/crypto.c
index 57e8702..1294366 100644
--- a/src/libaacs/crypto.c
+++ b/src/libaacs/crypto.c
@@ -38,6 +38,7 @@
 #ifdef HAVE_PTHREAD_H
 #if GCRYPT_VERSION_NUMBER < 0x010600
 #include <pthread.h>
+#include <errno.h>
 #endif
 #endif
 
-- 
1.7.10.4



Index: libaacs.spec
===================================================================
RCS file: /cvs/free/rpms/libaacs/F-20/libaacs.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libaacs.spec	15 Mar 2015 21:07:27 -0000	1.14
+++ libaacs.spec	16 Mar 2015 18:25:34 -0000	1.15
@@ -5,7 +5,7 @@
 
 Name:           libaacs
 Version:        0.8.1
-Release:        1%{?snapshot:.%{tarball_date}git%{git_short}}%{?dist}
+Release:        1%{?snapshot:.%{tarball_date}git%{git_short}}%{?dist}.1
 Summary:        Open implementation of AACS specification
 Group:          System Environment/Libraries
 License:        LGPLv2+
@@ -19,6 +19,9 @@
 %else
 Source0:        ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
 %endif
+# Fix build with libgcrypt < 1.6.0
+# http://git.videolan.org/gitweb.cgi/libaacs.git/?p=libaacs.git;a=patch;h=7f61e3f0124e0b4f4acc5555a90910cf29aac9e4
+Patch0:         libaacs.git-7f61e3f0124e0b4f4acc5555a90910cf29aac9e4.patch
 
 %if 0%{?snapshot}
 BuildRequires:  autoconf
@@ -60,6 +63,9 @@
 %else
 %setup -q
 %endif
+# Fix build with libgcrypt < 1.6.0
+%patch0 -p1
+
 sed -i -e 's/\r//' KEYDB.cfg
 
 
@@ -97,6 +103,9 @@
 
 
 %changelog
+* Mon Mar 16 2015 Xavier Bachelot <xavier at bachelot.org> 0.8.1-1.1
+- Fix build with libgcrypt < 1.6.0.
+
 * Sun Mar 15 2015 Xavier Bachelot <xavier at bachelot.org> 0.8.1-1
 - Update to 0.8.1.
 


More information about the rpmfusion-commits mailing list