[packages/nss] - rel 2; don't include prtypes.h (not needed and causing glibc build failure) - patch from fc
arekm
arekm at pld-linux.org
Fri Aug 16 22:42:43 CEST 2013
commit fd1d921f0cc0571a473f8b3f6528b3478fb5f4bf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Aug 16 22:42:39 2013 +0200
- rel 2; don't include prtypes.h (not needed and causing glibc build failure) - patch from fc
hasht-dont-include-prtypes.patch | 11 +++++++++++
nss.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/nss.spec b/nss.spec
index 523e8fc..adcfc77 100644
--- a/nss.spec
+++ b/nss.spec
@@ -3,7 +3,7 @@ Summary: NSS - Network Security Services
Summary(pl.UTF-8): NSS - Network Security Services
Name: nss
Version: 3.15.1
-Release: 1
+Release: 2
Epoch: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
@@ -14,6 +14,7 @@ Source2: %{name}-config.in
Source3: http://www.cacert.org/certs/root.der
# Source3-md5: a61b375e390d9c3654eebd2031461f6b
Patch0: %{name}-Makefile.patch
+Patch1: hasht-dont-include-prtypes.patch
URL: http://www.mozilla.org/projects/security/pki/nss/
BuildRequires: nspr-devel >= 1:4.10
BuildRequires: nss-tools
@@ -95,6 +96,7 @@ Biblioteka kryptograficzna freebl dla bibliotek NSS.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%if 0%{!?debug:1}
# strip before signing
diff --git a/hasht-dont-include-prtypes.patch b/hasht-dont-include-prtypes.patch
new file mode 100644
index 0000000..46efefb
--- /dev/null
+++ b/hasht-dont-include-prtypes.patch
@@ -0,0 +1,11 @@
+diff -up ./nss/lib/util/hasht.h.prtypes ./nss/lib/util/hasht.h
+--- ./nss/lib/util/hasht.h.prtypes 2013-04-19 09:56:51.656957336 -0700
++++ ./nss/lib/util/hasht.h 2013-04-19 09:57:19.841115823 -0700
+@@ -6,7 +6,6 @@
+ #ifndef _HASHT_H_
+ #define _HASHT_H_
+
+-#include "prtypes.h"
+
+ /* Opaque objects */
+ typedef struct SECHashObjectStr SECHashObject;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nss.git/commitdiff/fd1d921f0cc0571a473f8b3f6528b3478fb5f4bf
More information about the pld-cvs-commit
mailing list