Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/sys-libs/pthreads-win32/pthreads-win32-2.8.0.ebuild - annotation
39d1268394e4
1.2 KiB
application/vnd.gentoo.ebuild
media-sound/glame fixed problem with newer guile
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 |
# Originally by Nathan Brink <ohnobinki@ohnopublishing.net>, 2008
# Distributed under the terms of the GNU General Public License v2
inherit eutils
DESCRIPTION="Provides the pthreads API on windows"
HOMEPAGE="http://sourceware.org/pthreads-win32/"
SRC_URI="ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
#This is commented because, even w32api is installed into my /usr/mingw32 sysroot, crossdev didn't automatically add the package to /usr/mingw32/etc/portage/profile/package.provided
#RDEPEND="dev-util/w32api"
DEPEND=""
PDEPEND=""
src_compile() {
#cd "pthreads-w32-${PV}-release"
#cd "pthreads-w32-2-8-0-release"
cd pthreads-w32-*-release
emake CROSS="${CHOST}-" clean GC-inlined || die "emake failed"
}
src_install() {
mkdir -p "${D}"usr/include "${D}"usr/bin "${D}"usr/lib && \
cd pthreads-w32-*-release && \
cp pthread.h sched.h semaphore.h "${D}"usr/include/ && \
cp pthreadGC2.dll "${D}"usr/bin/ && \
cp libpthreadGC2.a "${D}"usr/lib/ && \
dosym pthreadGC2.dll /usr/bin/pthread.dll && \
dosym libpthreadGC2.a /usr/lib/libpthread.a || \
die "install failed"
dodoc COPYING COPYING.LIB PROGRESS MAINTAINERS NEWS ANNOUNCE BUGS ChangeLog CONTRIBUTORS WinCE-PORT README*
}
|