Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31753 Details for
Bug 32963
Portage needs a 64-bit and 32-bit libsandbox.so
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against sys-apps/portage-2.0.50-r6 to allow using a 32bit libsandbox.so
portage-2.0.50-r6.patch (text/plain), 1.43 KB, created by
Danny van Dyk (RETIRED)
on 2004-05-20 03:29:27 UTC
(
hide
)
Description:
Patch against sys-apps/portage-2.0.50-r6 to allow using a 32bit libsandbox.so
Filename:
MIME Type:
Creator:
Danny van Dyk (RETIRED)
Created:
2004-05-20 03:29:27 UTC
Size:
1.43 KB
patch
obsolete
>Index: portage-2.0.50-r6.ebuild >=================================================================== >RCS file: /home/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.50-r6.ebuild,v >retrieving revision 1.3 >diff -u -b -B -r1.3 portage-2.0.50-r6.ebuild >--- portage-2.0.50-r6.ebuild 26 Apr 2004 17:24:41 -0000 1.3 >+++ portage-2.0.50-r6.ebuild 20 May 2004 10:26:08 -0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /home/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.50-r6.ebuild,v 1.3 2004/04/26 17:24:41 carpaski Exp $ > >-IUSE="build" >+IUSE="build multilib" > > # If the old /lib/sandbox.so is in /etc/ld.so.preload, it can > # cause everything to segfault !! >@@ -39,11 +39,18 @@ > src_compile() { > cd ${S}/src; ${CC:-gcc} ${CFLAGS} tbz2tool.c -o tbz2tool > cd ${S}/src/sandbox-1.1 >- if [ "${ARCH}" = "x86" ]; then >+ case ${ARCH} in >+ "x86") > make CFLAGS="-march=i386 -O1 -pipe" || die >- else >+ ;; >+ "amd64") >+ use multilib && einfo "Building with multilib support on amd64" >+ make CFLAGS="-O2 -pipe" HAVE_64BIT_ARCH="`use multilib`" || die >+ ;; >+ *) > make || die >- fi >+ ;; >+ esac > cd ${S}/bin > } > >@@ -112,7 +119,9 @@ > #install sandbox > cd ${S}/src/sandbox-1.1 > make clean >- make DESTDIR=${D} install || die "Failed to compile sandbox" >+ make DESTDIR=${D} \ >+ HAVE_64BIT_ARCH="`use amd64 && use multilib`" \ >+ install || die "Failed to compile sandbox" > > #symlinks > dodir /usr/bin /usr/sbin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32963
:
20394
|
20395
|
20396
|
20480
|
20620
|
20621
|
20625
|
20646
|
22217
|
24576
|
24577
| 31753 |
31881