Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 816392: Update NSS to NSS 3_14_1_BETA1, r=me, a=relyea, a=wtc
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Smith committed Dec 1, 2012
1 parent 0c62400 commit 76204b1
Show file tree
Hide file tree
Showing 97 changed files with 1,392 additions and 25,111 deletions.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -3983,7 +3983,7 @@ MOZ_ARG_WITH_BOOL(system-nss,
_USE_SYSTEM_NSS=1 )

if test -n "$_USE_SYSTEM_NSS"; then
AM_PATH_NSS(3.14, [MOZ_NATIVE_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
AM_PATH_NSS(3.14.1, [MOZ_NATIVE_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
fi

if test -n "$MOZ_NATIVE_NSS"; then
Expand Down
5 changes: 0 additions & 5 deletions dbm/include/mcom_db.h
Expand Up @@ -35,11 +35,6 @@
#ifndef _DB_H_
#define _DB_H_


#ifdef WINCE
#define off_t long
#endif

#ifndef macintosh
#include <sys/types.h>
#endif
Expand Down
6 changes: 0 additions & 6 deletions dbm/include/winfile.h
Expand Up @@ -31,13 +31,7 @@ typedef struct DIR_Struct {
typedef unsigned long mode_t;
typedef long uid_t;
typedef long gid_t;

#ifdef WINCE
typedef long ino_t;
#else
typedef long off_t;
#endif

typedef unsigned long nlink_t;
#endif

Expand Down
4 changes: 0 additions & 4 deletions dbm/src/Makefile.in
Expand Up @@ -53,10 +53,6 @@ include $(topsrcdir)/config/rules.mk

DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)

ifeq ($(OS_ARCH),WINCE)
DEFINES += -D__STDC__ -DDBM_REOPEN_ON_FLUSH
endif

ifeq ($(OS_ARCH),AIX)
OS_LIBS += -lc_r
endif
Expand Down
8 changes: 0 additions & 8 deletions dbm/src/mktemp.c
Expand Up @@ -78,14 +78,6 @@ mkstempflags(char *path, int extraFlags)
return (_gettemp(path, &fd, extraFlags) ? fd : -1);
}

#ifdef WINCE /* otherwise, use the one in libc */
char *
mktemp(char *path)
{
return(_gettemp(path, (int *)NULL, 0) ? path : (char *)NULL);
}
#endif

/* NB: This routine modifies its input string, and does not always restore it.
** returns 1 on success, 0 on failure.
*/
Expand Down
2 changes: 1 addition & 1 deletion security/coreconf/Linux.mk
Expand Up @@ -132,7 +132,7 @@ endif
G++INCLUDES = -I/usr/include/g++

#
# Always set CPU_TAG on Linux, WINCE.
# Always set CPU_TAG on Linux.
#
CPU_TAG = _$(CPU_ARCH)

Expand Down
6 changes: 0 additions & 6 deletions security/coreconf/README
Expand Up @@ -457,12 +457,6 @@ OVERVIEW of "rules.mk":

MISCELLANEOUS
-------------
$(DIRS):: specifies a helper method
used by $(LOOP_THROUGH_DIRS)
to recursively change
directories and invoke
$(MAKE)

%.i: build the preprocessor file
associated with the
makefile rule dependency:
Expand Down
2 changes: 1 addition & 1 deletion security/coreconf/WIN95.mk
Expand Up @@ -11,5 +11,5 @@ include $(CORE_DEPTH)/coreconf/WIN32.mk

DEFINES += -DWIN95

# WINNT uses the lib prefix, Win95 and WinCE don't
# WINNT uses the lib prefix, Win95 doesn't
NSPR31_LIB_PREFIX = $(NULL)
182 changes: 0 additions & 182 deletions security/coreconf/WINCE.mk

This file was deleted.

2 changes: 1 addition & 1 deletion security/coreconf/WINNT.mk
Expand Up @@ -16,5 +16,5 @@ DEFINES += -DWINNT
#
OS_CFLAGS += -GT

# WINNT uses the lib prefix, Win95 and WinCE don't
# WINNT uses the lib prefix, Win95 doesn't
NSPR31_LIB_PREFIX = lib
2 changes: 1 addition & 1 deletion security/coreconf/config.mk
Expand Up @@ -31,7 +31,7 @@ endif
#######################################################################

TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \
AIX RISCOS WINNT WIN95 WINCE Linux
AIX RISCOS WINNT WIN95 Linux

ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
Expand Down
1 change: 0 additions & 1 deletion security/coreconf/coreconf.dep
Expand Up @@ -10,4 +10,3 @@
*/

#error "Do not include this header file."

25 changes: 8 additions & 17 deletions security/coreconf/rules.mk
Expand Up @@ -241,7 +241,7 @@ alltags:
$(PROGRAM): $(OBJS) $(EXTRA_LIBS)
@$(MAKE_OBJDIR)
ifeq (,$(filter-out _WIN%,$(NS_USE_GCC)_$(OS_TARGET)))
$(MKPROG) $(subst /,\\,$(OBJS)) -Fe$@ -link $(LDFLAGS) $(subst /,\\,$(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)) $(EXTRA_EXE_LD_FLAGS)
$(MKPROG) $(subst /,\\,$(OBJS)) -Fe$@ -link $(LDFLAGS) $(subst /,\\,$(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS))
ifdef MT
if test -f $@.manifest; then \
$(MT) -NOLOGO -MANIFEST $@.manifest -OUTPUTRESOURCE:$@\;1; \
Expand Down Expand Up @@ -337,7 +337,7 @@ $(OBJDIR)/$(PROG_PREFIX)%$(PROG_SUFFIX): $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX)
@$(MAKE_OBJDIR)
ifeq (,$(filter-out _WIN%,$(NS_USE_GCC)_$(OS_TARGET)))
$(MKPROG) $< -Fe$@ -link \
$(LDFLAGS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS) $(EXTRA_EXE_LD_FLAGS)
$(LDFLAGS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
ifdef MT
if test -f $@.manifest; then \
$(MT) -NOLOGO -MANIFEST $@.manifest -OUTPUTRESOURCE:$@\;1; \
Expand Down Expand Up @@ -365,12 +365,16 @@ else
# Windows
ifeq (,$(filter-out _WIN%,$(NS_USE_GCC)_$(OS_TARGET)))
NEED_ABSOLUTE_PATH := 1
ifdef .PYMAKE
PWD := $(CURDIR)
else
PWD := $(shell pwd)
ifeq (,$(findstring ;,$(PATH)))
ifndef USE_MSYS
PWD := $(subst \,/,$(shell cygpath -w $(PWD)))
endif
endif
endif

else
# everything else
Expand Down Expand Up @@ -476,19 +480,6 @@ endif
%: %.sh
rm -f $@; cp $< $@; chmod +x $@

ifdef DIRS
$(DIRS)::
@if test -d $@; then \
set $(EXIT_ON_ERROR); \
echo "cd $@; $(MAKE)"; \
cd $@; $(MAKE); \
set +e; \
else \
echo "Skipping non-directory $@..."; \
fi; \
$(CLICK_STOPWATCH)
endif

################################################################################
# Bunch of things that extend the 'export' rule (in order):
################################################################################
Expand Down Expand Up @@ -896,7 +887,7 @@ $(MKDEPENDENCIES)::
$(NOMD_CFLAGS) $(YOPT) $(CSRCS) $(CPPSRCS) $(ASFILES)

$(MKDEPEND):: $(MKDEPEND_DIR)/*.c $(MKDEPEND_DIR)/*.h
cd $(MKDEPEND_DIR); $(MAKE)
$(MAKE) -C $(MKDEPEND_DIR)

ifdef OBJS
depend:: $(MKDEPEND) $(MKDEPENDENCIES)
Expand Down Expand Up @@ -958,5 +949,5 @@ $(filter $(OBJDIR)/%$(OBJ_SUFFIX),$(OBJS)): $(OBJDIR)/%$(OBJ_SUFFIX): $(DUMMY_DE
# Fake targets. Always run these rules, even if a file/directory with that
# name already exists.
#
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs program realclean release $(OBJDIR) $(DIRS)
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs program realclean release $(OBJDIR)

0 comments on commit 76204b1

Please sign in to comment.