Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76434 - libgadu fails to build - patch
Summary: libgadu fails to build - patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 11:08 UTC by Grzesiek Kolodziejczyk
Modified: 2008-02-29 20:32 UTC (History)
1 user (show)

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


Attachments
patch fixing libgadu on macos. (ppc-macos.patch,411 bytes, patch)
2005-01-02 11:09 UTC, Grzesiek Kolodziejczyk
Details | Diff
patches made to the sources to get libgado to compile on darwin (libgadu-20050719-darwin.patch,1.80 KB, patch)
2005-08-26 11:16 UTC, Fabian Groffen
Details | Diff
changes made to the ebuild (ebuild.diff,717 bytes, patch)
2005-08-26 11:19 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzesiek Kolodziejczyk 2005-01-02 11:08:49 UTC
libgadu fails to build because it's being built with gcc -shared. on os x this should be different. i'm submitting a patch fixing this.
Comment 1 Grzesiek Kolodziejczyk 2005-01-02 11:09:36 UTC
Created attachment 47390 [details, diff]
patch fixing libgadu on macos.
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-02-09 17:30:31 UTC
Patch works great and it compiles just fine, BUT it still installs .so files. We need it to install .dylib files.
Comment 3 Fabian Groffen gentoo-dev 2005-08-26 11:16:13 UTC
Created attachment 66927 [details, diff]
patches made to the sources to get libgado to compile on darwin

I tried to fix this issue a bit more gently, and perhaps in an eligable manner
to be submitted to upstream.  I checked this thing only installs dylibs, not
sos.

Note: I couldn't get the threads USE flag working, I don't know if OSX has
pthreads and if so how to enable them.	Otherwise I think we should mask this
flag

Request for review.

Does anybody know how to test this gado-gado client side protocol library
thing?
Comment 4 Fabian Groffen gentoo-dev 2005-08-26 11:19:22 UTC
Created attachment 66928 [details, diff]
changes made to the ebuild

for convenience here my small changes made to the ebuild (an unconditional
patch in src_unpack)
Comment 5 Kito (RETIRED) gentoo-dev 2005-08-26 11:30:03 UTC
pthreads are in libSystem, but they are not always compatible with linux pthreads. Probably need to check 
the actual symbols it wants.
Comment 6 Fabian Groffen gentoo-dev 2005-08-26 11:36:50 UTC
configure dies on the pthreads check, that's all I know.
Comment 7 Fabian Groffen gentoo-dev 2008-02-29 20:32:45 UTC
net-libs/libgadu-1.7.1 compiles fine, in prefix. (sorry for the slight delay)