Gentoo Archives: gentoo-dev

From: Tony Clark <tclark@×××××.com>
To: whoracle <verse.iq@××××××××.com>, gentoo-dev@g.o
Cc: Simonics Zsolt <simc@××××××.hu>, Spider <spider@g.o>
Subject: Re: [gentoo-dev] Mozilla 1.0.1 and flash
Date: Fri, 18 Oct 2002 10:15:43
Message-Id: 200210181715.35331.tclark@telia.com
In Reply to: Re: [gentoo-dev] Mozilla 1.0.1 maybe serious problem!! by whoracle
1 Tried your thing below but it didn't help. compiles ok and doesn't seem to
2 hurt anything. I also tried
3
4 There is a patch in mozilla-1.0-r3.ebuild:
5
6 if [ "${ARCH}" = "x86" ] ; then
7 patch -p0 < ${FILESDIR}/${P}-abi-compat-wrappers.patch
8 fi
9
10 and that didn't help either.
11
12 My USE flags are
13 USE="X -gtk2 -gtk gnome -alsa -esd"
14
15 I don't know why I put in "gnome" but I have built it before without that
16 anyway.
17
18 What I have established is macromedia flash works with Mozilla 1.0. gplflash
19 works with neither and bombs out on loading with this.
20
21 LoadPlugin: failed to initialize shared library
22 /opt/netscape/plugins/npflash.so [/opt/netscape/plugins/npflash.so: undefined
23 symbol: __dso_handle]
24
25 Macromedia flash works with konq.
26
27 Mozilla 1.0.1 crashes with macromedia flash when loading flash files.
28
29 I am never going to do emerge -u world ever again...promise :)
30
31 tony
32
33
34
35 On Thursday 17 October 2002 22.22, whoracle wrote:
36 > On Thu, 17 Oct 2002 19:36:52 +0200
37 > Tony Clark <tclark@×××××.com> wrote:
38 >
39 > create a file and name it libc++mem.c
40 > then use your favourite editor add these lines into the file:
41 >
42 > void *__builtin_new(int size) {return (void*)malloc(size);}
43 > void *__builtin_vec_new(int size) {return __builtin_new(size);}
44 > void *__builtin_delete(void *ptr) {free(ptr);}
45 > void *__builtin_vec_delete(void *ptr) {__builtin_delete(ptr);}
46 >
47 > save and compile with
48 >
49 > gcc -shared -fPIC -o libc++mem.so libc++mem.c
50 >
51 > copy the libc++mem.so to /usr/lib/mozilla and restart mozilla
52 >
53
54 --
55 Contract ASIC and FPGA design.
56 Telephone
57 +46 702 894 667