[jhbuild] 3.2: patch nss to build against linux 3.0



commit 3dcfb6a97b15cf26ea03fa7fbd6a4ae8dd01732c
Author: Luca Ferretti <lferrett gnome org>
Date:   Wed Aug 31 19:51:58 2011 +0200

    3.2: patch nss to build against linux 3.0
    
    Simply copy Linux2.6.mk to Linux3.0.mk. Newer nss 3.12.11 removed those
    versioned files, but unfortunately fails to build, so be conservative by now.

 patches/nss.linux3.patch |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/patches/nss.linux3.patch b/patches/nss.linux3.patch
new file mode 100644
index 0000000..9d7ff9f
--- /dev/null
+++ b/patches/nss.linux3.patch
@@ -0,0 +1,52 @@
+diff -Naur nss-3.12.6/mozilla/security/coreconf/Linux3.0.mk nss-3.12.6-linux3/mozilla/security/coreconf/Linux3.0.mk
+--- nss-3.12.6/mozilla/security/coreconf/Linux3.0.mk	1970-01-01 01:00:00.000000000 +0100
++++ nss-3.12.6-linux3/mozilla/security/coreconf/Linux3.0.mk	2011-08-31 19:44:39.203676411 +0200
+@@ -0,0 +1,48 @@
++#
++# ***** BEGIN LICENSE BLOCK *****
++# Version: MPL 1.1/GPL 2.0/LGPL 2.1
++#
++# The contents of this file are subject to the Mozilla Public License Version
++# 1.1 (the "License"); you may not use this file except in compliance with
++# the License. You may obtain a copy of the License at
++# http://www.mozilla.org/MPL/
++#
++# Software distributed under the License is distributed on an "AS IS" basis,
++# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
++# for the specific language governing rights and limitations under the
++# License.
++#
++# The Original Code is the Netscape security libraries.
++#
++# The Initial Developer of the Original Code is
++# Netscape Communications Corporation.
++# Portions created by the Initial Developer are Copyright (C) 1994-2000
++# the Initial Developer. All Rights Reserved.
++#
++# Contributor(s):
++#
++# Alternatively, the contents of this file may be used under the terms of
++# either the GNU General Public License Version 2 or later (the "GPL"), or
++# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
++# in which case the provisions of the GPL or the LGPL are applicable instead
++# of those above. If you wish to allow use of your version of this file only
++# under the terms of either the GPL or the LGPL, and not to allow others to
++# use your version of this file under the terms of the MPL, indicate your
++# decision by deleting the provisions above and replace them with the notice
++# and other provisions required by the GPL or the LGPL. If you do not delete
++# the provisions above, a recipient may use your version of this file under
++# the terms of any one of the MPL, the GPL or the LGPL.
++#
++# ***** END LICENSE BLOCK *****
++
++include $(CORE_DEPTH)/coreconf/Linux.mk
++
++OS_REL_CFLAGS   += -DLINUX2_1
++MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
++
++ifdef MAPFILE
++	MKSHLIB += -Wl,--version-script,$(MAPFILE)
++endif
++PROCESS_MAP_FILE = grep -v ';-' $< | \
++        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
++



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]