/[fink]/10.3/main/finkinfo/net/firefox1.5.patch
ViewVC logotype

Annotation of /10.3/main/finkinfo/net/firefox1.5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Apr 10 18:58:55 2007 UTC (17 years, 1 month ago) by nieder
Branch: MAIN
Changes since 1.1: +51 -51 lines
new minor version

1 nieder 1.1 diff -ruN mozilla-orig/.mozconfig mozilla/.mozconfig
2 nieder 1.2 --- mozilla-orig/.mozconfig 1969-12-31 19:00:00.000000000 -0500
3     +++ mozilla/.mozconfig 2007-03-15 12:41:23.000000000 -0400
4     @@ -0,0 +1,43 @@
5 nieder 1.1 +# sh
6     +# Build configuration script
7     +#
8     +# See http://www.mozilla.org/build/unix.html for build instructions.
9     +#
10     +
11     +. $topsrcdir/browser/config/mozconfig
12     +
13     +# Options for client.mk.
14     +# environment variables to set
15     +#mk_add_options MOZILLA_OFFICIAL=1
16     +#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
17     +
18     +# Options for 'configure' (same as command-line options).
19     +ac_add_options --enable-official-branding
20     +ac_add_options --enable-default-toolkit=gtk2
21     +ac_add_options --enable-xft
22     +#ac_add_options --disable-xft
23     +#ac_add_options --enable-freetype2
24     +ac_add_options --disable-freetype2
25     +ac_add_options --enable-postscript
26     +ac_add_options --enable-xinerama
27     +ac_add_options --with-pthreads
28     +ac_add_options --disable-gnomevfs
29     +ac_add_options --disable-gnomeui
30     +ac_add_options --enable-extensions=default,-gnomevfs,xforms,schema-validation
31     +ac_add_options --enable-canvas
32     +ac_add_options --enable-svg
33     +
34     +# prebinding disabled or otherwise don't get binary
35     +ac_add_options --disable-prebinding
36     +ac_add_options --disable-debug
37     +ac_add_options --disable-tests
38     +ac_add_options --enable-strip
39 nieder 1.2 +ac_add_options --enable-optimize='-O2'
40 nieder 1.1 +ac_add_options --enable-macos-target=10.3
41     +ac_add_options --with-default-mozilla-five-home=@PREFIX@/lib/firefox1.5
42     +ac_add_options --with-system-jpeg=@PREFIX@
43     +ac_add_options --with-system-png=@PREFIX@
44     +ac_add_options --with-freetype-prefix=@PREFIX@/lib/freetype219
45     +
46     +#ac_add_options --with-ft-prefix=@PREFIX@/lib/freetype2
47     +#ac_add_options --with-ft-exec-prefix=@PREFIX@/lib/freetype2/bin
48     diff -ruN mozilla-orig/browser/app/mozilla.in mozilla/browser/app/mozilla.in
49 nieder 1.2 --- mozilla-orig/browser/app/mozilla.in 2005-09-20 17:13:03.000000000 -0400
50     +++ mozilla/browser/app/mozilla.in 2007-03-15 12:41:23.000000000 -0400
51 nieder 1.1 @@ -99,7 +99,9 @@
52     # If not, then start resolving symlinks until we find run-mozilla.sh
53     found=0
54     progname="$0"
55     -curdir=`dirname "$progname"`
56     +#curdir=`dirname "$progname"`
57     +# looking in %p/bin, not %p/lib/firefox, so fixing to $moz_libdir
58     +curdir="$moz_libdir"
59     progbase=`basename "$progname"`
60     run_moz="$curdir/run-mozilla.sh"
61     if test -x "$run_moz"; then
62 nieder 1.2 @@ -140,10 +142,76 @@
63 nieder 1.1 debugging=0
64     MOZILLA_BIN="${progbase}-bin"
65    
66     +# The following is to check for a currently running instance.
67     +# This is taken almost verbatim from the Mozilla RPM package's launch script.
68     +MOZ_CLIENT_PROGRAM="$dist_bin/mozilla-xremote-client"
69     +check_running() {
70     + "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" 'ping()' 2>/dev/null >/dev/null
71     + RETURN_VAL=$?
72     + if [ $RETURN_VAL -eq 0 ]; then
73     + echo 1
74     + return 1
75     + else
76     + echo 0
77     + return 0
78     + fi
79     +}
80     +
81     if [ "$OSTYPE" = "beos" ]; then
82     mimeset -F "$MOZILLA_BIN"
83     fi
84 nieder 1.2
85 nieder 1.1 +ALREADY_RUNNING=`check_running`
86     +
87     +################################################################ Parse Arguments
88     +# If there's a command line argument but it doesn't begin with a -
89     +# it's probably a url. Try to send it to a running instance.
90     +_USE_EXIST=0
91     +_optOne="$1"
92     +case "${_optOne}" in
93     + -*)
94     + ;;
95     + *)
96     + _USE_EXIST=1
97     + ;;
98     +esac
99     +
100     +_optLast=
101     +for i in "$@"; do
102     + _optLast="${i}"
103     +done #last arg
104     +
105     +if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
106     + # Last argument seems to be a local file/directory
107     + # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
108     + # If it is just "relatively" (./file) specified, make it absolutely
109     + [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
110     +fi
111     +################################################################ Parse Arguments
112     +
113     +########################################################################### Main
114     +if [ $ALREADY_RUNNING -eq 1 ]; then
115     + # There's an instance already running. Use it.
116     + # Any command line args passed in?
117     + if [ $# -gt 0 ]; then
118     + # There were "some" command line args.
119     + if [ ${_USE_EXIST} -eq 1 ]; then
120     + # We should use an existing instance, as _USE_EXIST=$_USE_EXIST=-1
121     + _remote_cmd="openURL(${_optLast})"
122     + "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "${_remote_cmd}"
123     + unset _remote_cmd
124     + exit $?
125     + fi
126     + else
127     + # No command line args. Open new window/tab
128     + #exec "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "xfeDoCommand(openBrowser)"
129     + "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "xfeDoCommand(openBrowser)"
130     + exit $?
131     + fi
132     +fi
133     +# Default action - no running instance or _USE_EXIST (${_USE_EXIST}) ! -eq 1
134     +########################################################################### Main
135 nieder 1.2 +
136 nieder 1.1 pass_arg_count=0
137     while [ $# -gt $pass_arg_count ]
138 nieder 1.2 do
139 nieder 1.1 diff -ruN mozilla-orig/browser/components/build/Makefile.in mozilla/browser/components/build/Makefile.in
140 nieder 1.2 --- mozilla-orig/browser/components/build/Makefile.in 2005-06-22 22:25:04.000000000 -0400
141     +++ mozilla/browser/components/build/Makefile.in 2007-03-15 12:41:24.000000000 -0400
142 nieder 1.1 @@ -74,6 +74,12 @@
143     $(MOZ_COMPONENT_LIBS) \
144     $(NULL)
145    
146     +# fix for building on Mac/X11 (bug 257773)
147     +# dependencies for gkgfx
148     +ifeq ($(MOZ_WIDGET_TOOLKIT), gtk2)
149     +EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
150     +endif
151     +
152     # Need to link to CoreFoundation for Mac Migrators (PList reading code)
153     ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
154     EXTRA_DSO_LDOPTS += \
155     diff -ruN mozilla-orig/browser/locales/en-US/profile/bookmarks.html mozilla/browser/locales/en-US/profile/bookmarks.html
156 nieder 1.2 --- mozilla-orig/browser/locales/en-US/profile/bookmarks.html 2005-11-03 03:30:35.000000000 -0500
157     +++ mozilla/browser/locales/en-US/profile/bookmarks.html 2007-03-15 12:41:24.000000000 -0400
158 nieder 1.1 @@ -12,6 +12,7 @@
159     <DL><p>
160     <DT><A HREF="http://www.mozilla.com/products/firefox/central.html" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1" ID="rdf:#$GvPhC3">Getting Started</A>
161     <DT><A HREF="http://fxfeeds.mozilla.com/" LAST_MODIFIED="1094668003" FEEDURL="http://fxfeeds.mozilla.com/rss20.xml" ID="rdf:#$HvPhC3">Latest Headlines</A>
162     + <DT><A HREF="http://fink.sourceforge.net/">Fink - Home</A>
163     </DL><p>
164     <HR>
165     <DT><H3 ID="rdf:#$6wPhC3">Quick Searches</H3>
166     diff -ruN mozilla-orig/build/unix/mozilla-config.in mozilla/build/unix/mozilla-config.in
167 nieder 1.2 --- mozilla-orig/build/unix/mozilla-config.in 2004-04-22 16:17:59.000000000 -0400
168     +++ mozilla/build/unix/mozilla-config.in 2007-03-15 12:41:24.000000000 -0400
169 nieder 1.1 @@ -115,7 +115,7 @@
170     fi
171    
172     _nspr_libs="%FULL_NSPR_LIBS%"
173     -_xpcom_libs="-lxpcom $_nspr_libs"
174     +_xpcom_libs="-lxpcom -lxpcom_core $_nspr_libs"
175     _js_libs="-ljs"
176    
177     if test "$echo_libs" = "yes"; then
178     diff -ruN mozilla-orig/build/unix/mozilla-xpcom.pc.in mozilla/build/unix/mozilla-xpcom.pc.in
179 nieder 1.2 --- mozilla-orig/build/unix/mozilla-xpcom.pc.in 2005-07-05 19:21:52.000000000 -0400
180     +++ mozilla/build/unix/mozilla-xpcom.pc.in 2007-03-15 12:41:24.000000000 -0400
181 nieder 1.1 @@ -8,5 +8,5 @@
182     Description: The Mozilla Cross Platform Component Library
183     Version: %MOZILLA_VERSION%
184     Requires: %NSPR_NAME% >= %NSPR_VERSION%
185     -Libs: -L${libdir} -lxpcom
186     +Libs: -L${libdir} -lxpcom -lxpcom_core
187     Cflags: -I${includedir} -I${includedir}/xpcom -I${includedir}/string
188     diff -ruN mozilla-orig/config/autoconf.mk.in mozilla/config/autoconf.mk.in
189 nieder 1.2 --- mozilla-orig/config/autoconf.mk.in 2006-04-21 16:50:30.000000000 -0400
190     +++ mozilla/config/autoconf.mk.in 2007-03-15 12:41:24.000000000 -0400
191 nieder 1.1 @@ -56,14 +56,14 @@
192     prefix = @prefix@
193     exec_prefix = @exec_prefix@
194     bindir = @bindir@
195     -includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
196     +includedir = @includedir@/$(MOZ_APP_NAME)1.5
197     libdir = @libdir@
198     datadir = @datadir@
199     mandir = @mandir@
200     -idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
201     +idldir = @datadir@/idl/$(MOZ_APP_NAME)1.5
202    
203     -mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
204     -mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION)
205     +mozappdir = $(libdir)/$(MOZ_APP_NAME)1.5
206     +mredir = $(libdir)/mre/mre1.5
207     mrelibdir = $(mredir)/lib
208    
209     DIST = $(DEPTH)/dist
210     diff -ruN mozilla-orig/config/config.mk mozilla/config/config.mk
211 nieder 1.2 --- mozilla-orig/config/config.mk 2006-04-06 12:28:13.000000000 -0400
212     +++ mozilla/config/config.mk 2007-03-15 12:41:24.000000000 -0400
213 nieder 1.1 @@ -679,7 +679,7 @@
214     ifeq ($(OS_ARCH),Darwin)
215     ifdef USE_PREBINDING
216     export LD_PREBIND=1
217     -export LD_SEG_ADDR_TABLE=$(shell cd $(topsrcdir); pwd)/config/prebind-address-table
218     +export LD_PREBIND_ALLOW_OVERLAP=1
219     endif # USE_PREBINDING
220     ifdef NEXT_ROOT
221     export NEXT_ROOT
222     diff -ruN mozilla-orig/configure mozilla/configure
223 nieder 1.2 --- mozilla-orig/configure 2006-08-23 12:40:33.000000000 -0400
224     +++ mozilla/configure 2007-03-15 12:41:24.000000000 -0400
225     @@ -5516,7 +5516,7 @@
226 nieder 1.1 ;;
227    
228     *-darwin*)
229     - HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX -DXP_MACOSX -DNO_X11"
230     + HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
231     HOST_NSPR_MDCPUCFG='\"md/_darwin.cfg\"'
232     HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
233     MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(DIST)/bin'
234 nieder 1.2 @@ -5802,10 +5802,10 @@
235 nieder 1.1
236     *-darwin*)
237     _PEDANTIC=
238     - CFLAGS="$CFLAGS -fpascal-strings -no-cpp-precomp -fno-common"
239     - CXXFLAGS="$CXXFLAGS -fpascal-strings -no-cpp-precomp -fno-common"
240     + CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
241     + CXXFLAGS="$CXXFLAGS -no-cpp-precomp -fno-common"
242     DLL_SUFFIX=".dylib"
243     - DSO_LDOPTS=''
244     + DSO_LDOPTS='-framework CoreFoundation'
245     STRIP="$STRIP -x -S"
246     _PLATFORM_DEFAULT_TOOLKIT='mac'
247     MOZ_ENABLE_POSTSCRIPT=
248     diff -ruN mozilla-orig/fink/applications/firefox.desktop mozilla/fink/applications/firefox.desktop
249 nieder 1.2 --- mozilla-orig/fink/applications/firefox.desktop 1969-12-31 19:00:00.000000000 -0500
250     +++ mozilla/fink/applications/firefox.desktop 2007-03-15 12:41:24.000000000 -0400
251 nieder 1.1 @@ -0,0 +1,10 @@
252     +[Desktop Entry]
253     +Encoding=UTF-8
254     +Name=Firefox Web Browser
255     +Comment=Browse the World Wide Web
256     +Exec=firefox
257     +Icon=firefox.xpm
258     +Terminal=false
259     +Type=Application
260     +Categories=Application;Network
261     +StartupNotify=true
262     diff -ruN mozilla-orig/fink/fink.js mozilla/fink/fink.js
263 nieder 1.2 --- mozilla-orig/fink/fink.js 1969-12-31 19:00:00.000000000 -0500
264     +++ mozilla/fink/fink.js 2007-03-15 12:41:24.000000000 -0400
265 nieder 1.1 @@ -0,0 +1,27 @@
266     +pref("general.useragent.extra.vendorComment", "Fink Community Edition");
267     +
268     +// Give a default font set that can do BOLD
269     +pref("font.name.serif.x-western", "Bitstream Vera Serif");
270     +pref("font.name.sans-serif.x-western", "Bitstream Vera Sans");
271     +pref("font.size.variable.x-western", 15);
272     +
273     +// TrueType
274     +//pref("font.FreeType2.enable", true);
275     +//pref("font.freetype2.shared-library", "@PREFIX@/lib/freetype219/lib/libfreetype.6.dylib");
276     +//pref("font.freetype2.shared-library", "/usr/X11R6/lib/libfreetype.6.dylib");
277     +//pref("font.freetype2.autohinted", true);
278     +//pref("font.freetype2.unhinted", true);
279     +//pref("font.antialias.min", 10);
280     +//pref("font.embedded_bitmaps.max", 1000000);
281     +//pref("font.scale.tt_bitmap.dark_text.min", 64);
282     +//pref("font.scale.tt_bitmap.dark_text.gain", "0.0");
283     +//pref("font.directory.truetype.1", "/Library/Fonts");
284     +//pref("font.directory.truetype.2", "/Network/Library/Fonts");
285     +//pref("font.directory.truetype.3", "/System/Library/Fonts");
286     +//pref("font.directory.truetype.4", "/usr/X11R6/lib/X11/fonts/TTF");
287     +//pref("font.directory.truetype.5", "@PREFIX@/share/fonts/truetype");
288     +
289     +// AA with Bitmap scaling.
290     +//pref("font.scale.aa_bitmap.enable", true);
291     +//pref("font.scale.aa_bitmap.always", false);
292     +//pref("font.scale.aa_bitmap.min", 6);
293     diff -ruN mozilla-orig/modules/libpref/src/nsPrefService.cpp mozilla/modules/libpref/src/nsPrefService.cpp
294 nieder 1.2 --- mozilla-orig/modules/libpref/src/nsPrefService.cpp 2005-05-13 20:30:08.000000000 -0400
295     +++ mozilla/modules/libpref/src/nsPrefService.cpp 2007-03-15 12:41:24.000000000 -0400
296 nieder 1.1 @@ -748,6 +748,7 @@
297     #elif defined(XP_BEOS)
298     "beos.js"
299     #endif
300     + , "fink.js"
301     };
302    
303     rv = pref_LoadPrefsInDir(defaultPrefDir, specialFiles, NS_ARRAY_LENGTH(specialFiles));
304     diff -ruN mozilla-orig/nsprpub/config/nspr.m4 mozilla/nsprpub/config/nspr.m4
305 nieder 1.2 --- mozilla-orig/nsprpub/config/nspr.m4 2001-05-11 20:36:57.000000000 -0400
306     +++ mozilla/nsprpub/config/nspr.m4 2007-03-15 12:41:24.000000000 -0400
307 nieder 1.1 @@ -5,7 +5,7 @@
308    
309     dnl AM_PATH_NSPR([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
310     dnl Test for NSPR, and define NSPR_CFLAGS and NSPR_LIBS
311     -AC_DEFUN(AM_PATH_NSPR,
312     +AC_DEFUN([AM_PATH_NSPR],
313     [dnl
314    
315     AC_ARG_WITH(nspr-prefix,
316     diff -ruN mozilla-orig/nsprpub/configure mozilla/nsprpub/configure
317 nieder 1.2 --- mozilla-orig/nsprpub/configure 2007-01-16 17:36:21.000000000 -0500
318     +++ mozilla/nsprpub/configure 2007-03-15 12:41:24.000000000 -0400
319 nieder 1.1 @@ -3338,9 +3338,6 @@
320    
321     # Add Mac OS X support for loading CFM & CFBundle plugins
322     if test -f /System/Library/Frameworks/Carbon.framework/Carbon; then
323     - cat >> confdefs.h <<\EOF
324     -#define XP_MACOSX 1
325     -EOF
326    
327     OS_TARGET=MacOSX
328    
329 nieder 1.2 @@ -4956,8 +4953,6 @@
330 nieder 1.1
331    
332     case $target in
333     -*-darwin*)
334     - ;;
335     *)
336     echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
337 nieder 1.2 echo "configure:4964: checking for dlopen in -ldl" >&5
338 nieder 1.1 diff -ruN mozilla-orig/nsprpub/pr/include/md/_darwin.h mozilla/nsprpub/pr/include/md/_darwin.h
339 nieder 1.2 --- mozilla-orig/nsprpub/pr/include/md/_darwin.h 2006-12-06 13:02:35.000000000 -0500
340     +++ mozilla/nsprpub/pr/include/md/_darwin.h 2007-03-15 12:41:24.000000000 -0400
341 nieder 1.1 @@ -62,7 +62,8 @@
342    
343     #undef HAVE_STACK_GROWING_UP
344     #define HAVE_DLL
345     -#define USE_MACH_DYLD
346     +/* #define USE_MACH_DYLD */
347     +#define USE_DLFCN
348     #define _PR_HAVE_SOCKADDR_LEN
349     #define _PR_STAT_HAS_ST_ATIMESPEC
350 nieder 1.2 #define _PR_HAVE_LARGE_OFF_T
351 nieder 1.1 diff -ruN mozilla-orig/nsprpub/pr/src/Makefile.in mozilla/nsprpub/pr/src/Makefile.in
352 nieder 1.2 --- mozilla-orig/nsprpub/pr/src/Makefile.in 2006-10-18 20:39:28.000000000 -0400
353     +++ mozilla/nsprpub/pr/src/Makefile.in 2007-03-15 12:41:24.000000000 -0400
354 nieder 1.1 @@ -204,9 +204,9 @@
355     endif
356     endif
357    
358     -ifeq ($(OS_TARGET),MacOSX)
359     -OS_LIBS = -framework CoreServices -framework CoreFoundation
360     -endif
361     +#ifeq ($(OS_TARGET),MacOSX)
362     +#OS_LIBS = -framework CoreServices -framework CoreFoundation
363     +#endif
364    
365     ifdef GC_LEAK_DETECTOR
366     EXTRA_LIBS = -L$(dist_libdir) -lboehm
367     diff -ruN mozilla-orig/nsprpub/pr/src/linking/prlink.c mozilla/nsprpub/pr/src/linking/prlink.c
368 nieder 1.2 --- mozilla-orig/nsprpub/pr/src/linking/prlink.c 2006-10-06 19:36:22.000000000 -0400
369     +++ mozilla/nsprpub/pr/src/linking/prlink.c 2007-03-15 12:41:24.000000000 -0400
370     @@ -158,7 +158,8 @@
371 nieder 1.1 #if defined(SUNOS4) || defined(DARWIN) || defined(NEXTSTEP) \
372     || defined(WIN16) || defined(XP_OS2) \
373     || ((defined(OPENBSD) || defined(NETBSD)) && !defined(__ELF__))
374     -#define NEED_LEADING_UNDERSCORE
375     +/* On MacOSX 10.3, dlsym does not accept symbols with '_'. */
376     +/* #define NEED_LEADING_UNDERSCORE */
377     #endif
378    
379 nieder 1.2 #define PR_LD_PATHW 0x8000 /* for PR_LibSpec_PathnameU */
380 nieder 1.1 diff -ruN mozilla-orig/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h
381 nieder 1.2 --- mozilla-orig/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 2006-02-23 14:37:11.000000000 -0500
382     +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 2007-03-15 12:41:25.000000000 -0400
383 nieder 1.1 @@ -163,7 +163,7 @@
384     /* Define KEEP_STACK_16_BYTE_ALIGNED if the stack needs to maintain alignment
385     * in a CALL for some good reason (like ABI compliance). */
386    
387     -#ifdef XP_MACOSX
388     +#ifdef __APPLE__
389     /* http://developer.apple.com/documentation/DeveloperTools/Conceptual/LowLevelABI/Articles/IA32.html */
390     #define KEEP_STACK_16_BYTE_ALIGNED
391     #endif
392     diff -ruN mozilla-orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp
393 nieder 1.2 --- mozilla-orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp 2005-10-24 01:42:28.000000000 -0400
394     +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp 2007-03-15 12:41:25.000000000 -0400
395 nieder 1.1 @@ -104,7 +104,7 @@
396    
397     #ifdef __GNUC__ /* Gnu Compiler. */
398    
399     -#ifdef XP_MACOSX
400     +#ifdef __APPLE__
401     /* Make sure the stack is 16-byte aligned. Do that by aligning to 16 bytes and
402     * then subtracting 4 so the three subsequent pushes result in a 16-byte aligned
403     * stack. */

  ViewVC Help
Powered by ViewVC 1.1.17