diff --git a/nss-3.11-zdefs.patch b/nss-3.11-zdefs.patch new file mode 100644 index 0000000..0e8128c --- /dev/null +++ b/nss-3.11-zdefs.patch @@ -0,0 +1,16 @@ +Index: mozilla/security/coreconf/Linux.mk +=================================================================== +RCS file: /cvsroot/mozilla/security/coreconf/Linux.mk,v +retrieving revision 1.27 +diff -u -r1.27 Linux.mk +--- mozilla/security/coreconf/Linux.mk 16 Sep 2005 17:09:23 -0000 1.27 ++++ mozilla/security/coreconf/Linux.mk 15 Dec 2005 21:25:00 -0000 +@@ -165,7 +165,7 @@ + ARCH = linux + + DSO_CFLAGS = -fPIC +-DSO_LDOPTS = -shared $(ARCHFLAG) -z defs ++DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs + DSO_LDFLAGS = + LDFLAGS += $(ARCHFLAG) + diff --git a/nss.spec b/nss.spec index 174b664..6bcb79a 100644 --- a/nss.spec +++ b/nss.spec @@ -3,7 +3,7 @@ Summary: Network Security Services Name: nss Version: 3.11 -Release: 0 +Release: 0.cvs.2 License: MPL/GPL/LGPL URL: http://www.mozilla.org/projects/security/pki/nss/ Group: System Environment/Libraries @@ -19,6 +19,8 @@ Source0: %{name}-%{version}.cvs.tar.bz2 Source1: nss.pc.in Source2: nss-config.in +Patch1: nss-3.11-zdefs.patch + %description Network Security Services (NSS) is a set of libraries designed to @@ -68,6 +70,7 @@ low level services. %prep %setup -q +%patch1 -p0 %build @@ -296,6 +299,9 @@ done %changelog +* Thu Dec 15 2005 Christopher Aillon 3.11-0.cvs.2 +- Add patch to allow building on ppc* + * Thu Dec 15 2005 Christopher Aillon 3.11-0.cvs - Initial import into Fedora Core, based on a CVS snapshot of the NSS_3_11_RTM tag