Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228721 - www-client/mozilla-firefox-3.0 patch to build on sparc solaris
Summary: www-client/mozilla-firefox-3.0 patch to build on sparc solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on: 228717
Blocks:
  Show dependency tree
 
Reported: 2008-06-21 11:33 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2008-06-25 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mozilla-firefox-3.0-jemalloc-sparc-solaris.patch (mozilla-firefox-3.0-jemalloc-sparc-solaris.patch,576 bytes, patch)
2008-06-21 11:35 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-21 11:33:14 UTC
www-client/mozilla-firefox-3.0 fails build on sparc-solaris.

Reproducible: Always

Steps to Reproduce:
1. emerge www-client/mozilla-firefox

Actual Results:  
sparc-sun-solaris2.10-gcc -o jemalloc.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS  -I. -I.  -I../../dist/include   -I/home/pub/lib/gentoo-prefix/usr/lib/xulrunner-1.9/include -I../../dist/include/jemalloc -I/home/pub/lib/gentoo-prefix/usr/include/nspr    -I/home/pub/lib/gentoo-prefix/usr/include   -I/home/pub/lib/gentoo-prefix/usr/lib/xulrunner-1.9/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsbrowser/plugins\"  -Wno-long-long -pipe -mcpu=ultrasparc -Wno-return-type -w -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O2  -DGENTOO_NSPLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsbrowser/plugins\"  -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jemalloc.pp jemalloc.c
jemalloc.c:5778:28: error: missing ')' in expression

Expected Results:  
build successfully

This is due to a typo in jemalloc.c, which was fixed by the following upstream patch:
http://hg.mozilla.org/index.cgi/mozilla-central/rev/663c51189e98
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-21 11:35:26 UTC
Created attachment 157897 [details, diff]
mozilla-firefox-3.0-jemalloc-sparc-solaris.patch

patch based on upstream patch, similar to attachment 157891 [details, diff] which fixes the same issue in xulrunner-1.9
Comment 2 Fabian Groffen gentoo-dev 2008-06-25 19:10:20 UTC
committed, thanks!