[packages/nspr] - updated to 4.15 - added configure patch (fix missing fi)
qboosh
qboosh at pld-linux.org
Tue Jun 20 18:36:09 CEST 2017
commit fa75cd446a4c6133d36038f80ecb1dbff9f60865
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jun 20 18:37:12 2017 +0200
- updated to 4.15
- added configure patch (fix missing fi)
nspr-configure.patch | 10 ++++++++++
nspr.spec | 6 ++++--
2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/nspr.spec b/nspr.spec
index f6e9782..a53ef43 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -1,14 +1,15 @@
Summary: Netscape Portable Runtime (NSPR)
Summary(pl.UTF-8): Przenośne biblioteki uruchomieniowe Netscape
Name: nspr
-Version: 4.14
+Version: 4.15
Release: 1
Epoch: 1
License: MPL v2.0
Group: Libraries
Source0: http://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: 743f6b7888a614da9927400874054d8c
+# Source0-md5: c6c652d4f805be2daa344ac372d7bc59
Patch0: %{name}-pc.patch
+Patch1: %{name}-configure.patch
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
BuildRequires: autoconf >= 2.61
BuildRequires: automake
@@ -53,6 +54,7 @@ Statyczna biblioteka NSPR.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
cd nspr
diff --git a/nspr-configure.patch b/nspr-configure.patch
new file mode 100644
index 0000000..7c211a8
--- /dev/null
+++ b/nspr-configure.patch
@@ -0,0 +1,10 @@
+--- nspr-4.15/nspr/configure.in.orig 2017-06-05 22:16:00.000000000 +0200
++++ nspr-4.15/nspr/configure.in 2017-06-20 18:35:40.196433410 +0200
+@@ -1389,6 +1389,7 @@
+ changequote([,])
+ if test "$HOST_DARWIN_MAJOR" -ge 15 ; then
+ AC_DEFINE(HAS_CONNECTX)
++ fi
+ AS='$(CC) -x assembler-with-cpp'
+ CFLAGS="$CFLAGS -Wall -fno-common"
+ case "${target_cpu}" in
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nspr.git/commitdiff/fa75cd446a4c6133d36038f80ecb1dbff9f60865
More information about the pld-cvs-commit
mailing list