xref: /AOO41X/main/nss/nss.patch.mingw (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/nsprpub/config/autoconf.mk.in   2009-03-04 07:04:23.000000000 +0900
2*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/nsprpub/config/autoconf.mk.in 2010-06-17 08:42:08.010625000 +0900
3*cdf0e10cSrcweir@@ -22,6 +22,7 @@
4*cdf0e10cSrcweir RELEASE_OBJDIR_NAME = @RELEASE_OBJDIR_NAME@
5*cdf0e10cSrcweir OBJDIR_NAME    = @OBJDIR_NAME@
6*cdf0e10cSrcweir OBJDIR     = @OBJDIR@
7*cdf0e10cSrcweir+LIB_PREFIX = @LIB_PREFIX@
8*cdf0e10cSrcweir OBJ_SUFFIX = @OBJ_SUFFIX@
9*cdf0e10cSrcweir LIB_SUFFIX = @LIB_SUFFIX@
10*cdf0e10cSrcweir DLL_SUFFIX = @DLL_SUFFIX@
11*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/nsprpub/config/rules.mk 2009-12-10 06:24:37.000000000 +0900
12*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/nsprpub/config/rules.mk   2010-06-17 08:42:08.057500000 +0900
13*cdf0e10cSrcweir@@ -113,9 +113,9 @@
14*cdf0e10cSrcweir # other platforms do not.
15*cdf0e10cSrcweir #
16*cdf0e10cSrcweir ifeq (,$(filter-out WIN95 WINCE WINMO OS2,$(OS_TARGET)))
17*cdf0e10cSrcweir-LIBRARY        = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
18*cdf0e10cSrcweir+LIBRARY        = $(OBJDIR)/$(LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
19*cdf0e10cSrcweir SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
20*cdf0e10cSrcweir-IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
21*cdf0e10cSrcweir+IMPORT_LIBRARY = $(OBJDIR)/$(LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
22*cdf0e10cSrcweir SHARED_LIB_PDB = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).pdb
23*cdf0e10cSrcweir else
24*cdf0e10cSrcweir LIBRARY        = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
25*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/nsprpub/configure   2010-02-09 03:41:35.000000000 +0900
26*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/nsprpub/configure 2010-06-17 08:42:10.000000000 +0900
27*cdf0e10cSrcweir@@ -2770,6 +2770,7 @@
28*cdf0e10cSrcweir LIB_SUFFIX=a
29*cdf0e10cSrcweir DLL_SUFFIX=so
30*cdf0e10cSrcweir ASM_SUFFIX=s
31*cdf0e10cSrcweir+LIB_PREFIX=lib
32*cdf0e10cSrcweir MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
33*cdf0e10cSrcweir PR_MD_ASFILES=
34*cdf0e10cSrcweir PR_MD_CSRCS=
35*cdf0e10cSrcweir@@ -4000,6 +4001,7 @@
36*cdf0e10cSrcweir         OBJ_SUFFIX=obj
37*cdf0e10cSrcweir         LIB_SUFFIX=lib
38*cdf0e10cSrcweir         DLL_SUFFIX=dll
39*cdf0e10cSrcweir+        LIB_PREFIX=
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir         # Determine compiler version
42*cdf0e10cSrcweir         CC_VERSION=`"${CC}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' -e 's| .*||'`
43*cdf0e10cSrcweir@@ -6262,6 +6264,7 @@
44*cdf0e10cSrcweir s%@LIB_SUFFIX@%$LIB_SUFFIX%g
45*cdf0e10cSrcweir s%@DLL_SUFFIX@%$DLL_SUFFIX%g
46*cdf0e10cSrcweir s%@ASM_SUFFIX@%$ASM_SUFFIX%g
47*cdf0e10cSrcweir+s%@LIB_PREFIX@%$LIB_PREFIX%g
48*cdf0e10cSrcweir s%@MKSHLIB@%$MKSHLIB%g
49*cdf0e10cSrcweir s%@DSO_CFLAGS@%$DSO_CFLAGS%g
50*cdf0e10cSrcweir s%@DSO_LDOPTS@%$DSO_LDOPTS%g
51*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/nsprpub/pr/src/Makefile.in  2009-12-19 18:06:07.000000000 +0900
52*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/nsprpub/pr/src/Makefile.in    2010-06-17 08:42:08.151250000 +0900
53*cdf0e10cSrcweir@@ -195,7 +195,7 @@
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir ifeq ($(OS_ARCH),WINNT)
56*cdf0e10cSrcweir ifdef NS_USE_GCC
57*cdf0e10cSrcweir-OS_LIBS        = -ladvapi32 -lwsock32 -lwinmm
58*cdf0e10cSrcweir+OS_LIBS        += -ladvapi32 -lwsock32 -lwinmm
59*cdf0e10cSrcweir else
60*cdf0e10cSrcweir OS_LIBS        = advapi32.lib wsock32.lib winmm.lib
61*cdf0e10cSrcweir endif
62*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/coreconf/WIN32.mk  2009-07-29 09:15:46.000000000 +0900
63*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/coreconf/WIN32.mk    2010-06-17 08:42:08.198125000 +0900
64*cdf0e10cSrcweir@@ -43,8 +43,8 @@
65*cdf0e10cSrcweir DEFAULT_COMPILER = cl
66*cdf0e10cSrcweir
67*cdf0e10cSrcweir ifdef NS_USE_GCC
68*cdf0e10cSrcweir-   CC           = gcc
69*cdf0e10cSrcweir-   CCC          = g++
70*cdf0e10cSrcweir+#  CC           = gcc
71*cdf0e10cSrcweir+   CCC          = $(CXX)
72*cdf0e10cSrcweir    LINK         = ld
73*cdf0e10cSrcweir    AR           = ar
74*cdf0e10cSrcweir    AR          += cr $@
75*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/coreconf/WIN95.mk  2009-02-14 14:51:10.000000000 +0900
76*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/coreconf/WIN95.mk    2010-06-17 08:42:08.245000000 +0900
77*cdf0e10cSrcweir@@ -44,4 +44,8 @@
78*cdf0e10cSrcweir DEFINES += -DWIN95
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir # WINNT uses the lib prefix, Win95 and WinCE don't
81*cdf0e10cSrcweir-NSPR31_LIB_PREFIX = $(NULL)
82*cdf0e10cSrcweir+ifdef NS_USE_GCC
83*cdf0e10cSrcweir+  NSPR31_LIB_PREFIX = lib
84*cdf0e10cSrcweir+else
85*cdf0e10cSrcweir+  NSPR31_LIB_PREFIX = $(NULL)
86*cdf0e10cSrcweir+endif
87*cdf0e10cSrcweir\ No newline at end of file
88*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/coreconf/rules.mk  2009-12-08 10:33:36.000000000 +0900
89*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/coreconf/rules.mk    2010-06-17 08:42:08.291875000 +0900
90*cdf0e10cSrcweir@@ -281,8 +281,12 @@
91*cdf0e10cSrcweir    fi
92*cdf0e10cSrcweir endif  # MSVC with manifest tool
93*cdf0e10cSrcweir else
94*cdf0e10cSrcweir+ifeq (,$(filter-out WIN%,$(OS_TARGET)))
95*cdf0e10cSrcweir+   $(MKPROG) -o $@ $(CFLAGS) $(OBJS) $(LDFLAGS) -Wl,--start-group $(EXTRA_LIBS) -Wl,--end-group $(EXTRA_SHARED_LIBS) $(OS_LIBS)
96*cdf0e10cSrcweir+else
97*cdf0e10cSrcweir    $(MKPROG) -o $@ $(CFLAGS) $(OBJS) $(LDFLAGS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
98*cdf0e10cSrcweir endif
99*cdf0e10cSrcweir+endif
100*cdf0e10cSrcweir
101*cdf0e10cSrcweir get_objs:
102*cdf0e10cSrcweir    @echo $(OBJS)
103*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/nss/Makefile   2009-12-09 01:47:03.000000000 +0900
104*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/nss/Makefile 2010-06-17 08:42:08.338750000 +0900
105*cdf0e10cSrcweir@@ -108,7 +108,7 @@
106*cdf0e10cSrcweir NSPR_CONFIGURE_OPTS += --enable-debug-rtl
107*cdf0e10cSrcweir endif
108*cdf0e10cSrcweir ifdef NS_USE_GCC
109*cdf0e10cSrcweir-NSPR_COMPILERS = CC=gcc CXX=g++
110*cdf0e10cSrcweir+NSPR_COMPILERS = CC="$(CC)" CXX="$(CXX)"
111*cdf0e10cSrcweir endif
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir #
114*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/nss/cmd/crmftest/Makefile  2005-11-14 09:17:21.000000000 +0900
115*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/nss/cmd/crmftest/Makefile    2010-06-17 08:42:08.370000000 +0900
116*cdf0e10cSrcweir@@ -90,7 +90,7 @@
117*cdf0e10cSrcweir LDDIST = $(DIST)/lib
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir ifeq (,$(filter-out WIN%,$(OS_TARGET)))
120*cdf0e10cSrcweir-EXTRA_LIBS += $(LDDIST)/sectool.lib
121*cdf0e10cSrcweir+EXTRA_LIBS += $(LDDIST)/$(LIB_PREFIX)sectool.$(LIB_SUFFIX)
122*cdf0e10cSrcweir endif
123*cdf0e10cSrcweir
124*cdf0e10cSrcweir include ../platrules.mk
125*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/nss/cmd/shlibsign/Makefile 2009-08-08 04:06:37.000000000 +0900
126*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/nss/cmd/shlibsign/Makefile   2010-06-17 08:42:10.000000000 +0900
127*cdf0e10cSrcweir@@ -115,10 +115,16 @@
128*cdf0e10cSrcweir    $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \
129*cdf0e10cSrcweir    $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<)
130*cdf0e10cSrcweir else
131*cdf0e10cSrcweir+ifeq ($(OS_TARGET), WIN95)
132*cdf0e10cSrcweir+   sh ./sign.sh $(shell cygpath -m -a $(DIST)) \
133*cdf0e10cSrcweir+   $(shell cygpath -m -a $(OBJDIR)) $(OS_TARGET) \
134*cdf0e10cSrcweir+   $(shell cygpath -m -a $(NSPR_LIB_DIR)) $(shell cygpath -m -a $<)
135*cdf0e10cSrcweir+else
136*cdf0e10cSrcweir    cd $(OBJDIR) ; sh $(SRCDIR)/sign.sh $(call core_abspath,$(DIST)) \
137*cdf0e10cSrcweir    $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \
138*cdf0e10cSrcweir    $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<)
139*cdf0e10cSrcweir endif
140*cdf0e10cSrcweir+endif
141*cdf0e10cSrcweir
142*cdf0e10cSrcweir libs install :: $(CHECKLOC)
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir--- misc/nss-3.12.6/mozilla/security/nss/lib/freebl/config.mk   2009-04-12 06:18:42.000000000 +0900
145*cdf0e10cSrcweir+++ misc/build/nss-3.12.6/mozilla/security/nss/lib/freebl/config.mk 2010-06-17 08:42:08.557500000 +0900
146*cdf0e10cSrcweir@@ -84,10 +84,6 @@
147*cdf0e10cSrcweir RES     = $(OBJDIR)/$(LIBRARY_NAME).res
148*cdf0e10cSrcweir RESNAME = freebl.rc
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir-ifndef WINCE
151*cdf0e10cSrcweir-OS_LIBS += shell32.lib
152*cdf0e10cSrcweir-endif
153*cdf0e10cSrcweir-
154*cdf0e10cSrcweir ifdef NS_USE_GCC
155*cdf0e10cSrcweir EXTRA_SHARED_LIBS += \
156*cdf0e10cSrcweir    -L$(DIST)/lib \
157*cdf0e10cSrcweir@@ -97,6 +93,10 @@
158*cdf0e10cSrcweir    -lnspr4 \
159*cdf0e10cSrcweir    $(NULL)
160*cdf0e10cSrcweir else # ! NS_USE_GCC
161*cdf0e10cSrcweir+ifndef WINCE
162*cdf0e10cSrcweir+OS_LIBS += shell32.lib
163*cdf0e10cSrcweir+endif
164*cdf0e10cSrcweir+
165*cdf0e10cSrcweir EXTRA_SHARED_LIBS += \
166*cdf0e10cSrcweir    $(DIST)/lib/nssutil3.lib \
167*cdf0e10cSrcweir    $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \
168