Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516374 - x11-proto/xproto-7.0.26 [Prefix]: add patch for AIX port (ifdef's only)
Summary: x11-proto/xproto-7.0.26 [Prefix]: add patch for AIX port (ifdef's only)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All AIX
: Normal normal
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2014-07-04 14:44 UTC by Michael Haubenwallner (RETIRED)
Modified: 2015-02-04 18:03 UTC (History)
1 user (show)

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


Attachments
patch with ifdef's for AIX port (xproto-7.0.26-aix.patch,1.55 KB, patch)
2014-07-04 14:44 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2014-07-04 14:44:12 UTC
Created attachment 380192 [details, diff]
patch with ifdef's for AIX port

Please review attached patch making xproto compileable on ppc-aix Platform, reported upstream already.

For the ebuild diff I'm unsure if xorg-2.eclass offers a more preferred method to apply patches.

Thanks!

--- x11-proto/xproto/xproto-7.0.26.ebuild
+++ x11-proto/xproto/xproto-7.0.26.ebuild
@@ -15,6 +15,11 @@
 RDEPEND=""
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-aix.patch
+       xorg-2_src_prepare
+}
+
 src_configure() {
        XORG_CONFIGURE_OPTIONS=(
                $(use_enable doc specs)
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2014-07-07 12:48:41 UTC
Patch is committed upstream.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-02-04 18:03:32 UTC
Fixed in 7.0.27