From fa75cd446a4c6133d36038f80ecb1dbff9f60865 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 20 Jun 2017 18:37:12 +0200 Subject: [PATCH] - updated to 4.15 - added configure patch (fix missing fi) --- nspr-configure.patch | 10 ++++++++++ nspr.spec | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 nspr-configure.patch 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 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 -- 2.44.0