[packages/cjose] - disable Werror to build with openssl 3.0.0, rel 2

baggins baggins at pld-linux.org
Fri Oct 22 22:32:40 CEST 2021


commit 60052151c564dd7497e7cbe5fd987166352e91d0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 22 22:32:00 2021 +0200

    - disable Werror to build with openssl 3.0.0, rel 2

 cjose.spec     | 4 +++-
 openssl3.patch | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/cjose.spec b/cjose.spec
index b5f6b60..37fc118 100644
--- a/cjose.spec
+++ b/cjose.spec
@@ -7,12 +7,13 @@ Summary:	JOSE implementation for C
 Summary(pl.UTF-8):	Implementacja JOSE dla C
 Name:		cjose
 Version:	0.6.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/cisco/cjose/releases
 Source0:	https://github.com/cisco/cjose/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	7618e839ea0ecfa38355fa7f58391f88
+Patch0:		openssl3.patch
 URL:		https://github.com/cisco/cjose
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake >= 1:1.14
@@ -75,6 +76,7 @@ Dokumentacja API biblioteki cjose.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/openssl3.patch b/openssl3.patch
new file mode 100644
index 0000000..9049af7
--- /dev/null
+++ b/openssl3.patch
@@ -0,0 +1,8 @@
+--- cjose-0.6.1/src/Makefile.am~	2018-04-12 00:39:58.000000000 +0200
++++ cjose-0.6.1/src/Makefile.am	2021-10-22 22:29:22.996058335 +0200
+@@ -1,4 +1,4 @@
+-AM_CFLAGS =-std=gnu99 --pedantic -Wall -Werror -g -O2 -I$(top_builddir)/include
++AM_CFLAGS =-std=gnu99 --pedantic -Wall -g -O2 -I$(top_builddir)/include
+ 
+ lib_LTLIBRARIES=libcjose.la
+ libcjose_la_CPPFLAGS= -I$(topdir)/include
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cjose.git/commitdiff/60052151c564dd7497e7cbe5fd987166352e91d0



More information about the pld-cvs-commit mailing list