From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 24A891381F3 for ; Fri, 31 May 2013 21:28:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E4B7E0822; Fri, 31 May 2013 21:28:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7787AE0822 for ; Fri, 31 May 2013 21:28:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44F0F33E24F for ; Fri, 31 May 2013 21:28:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C345EE5309 for ; Fri, 31 May 2013 21:28:13 +0000 (UTC) From: "Vadim A. Misbakh-Soloviov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim A. Misbakh-Soloviov" Message-ID: <1370024837.0831a442afc2926f4a95c7d1bbf432cd032cb6eb.mva@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: media-libs/libsdl/files/, media-libs/libsdl/ X-VCS-Repository: proj/gamerlay X-VCS-Files: media-libs/libsdl/files/libsdl-xdata32_fix.patch media-libs/libsdl/libsdl-2.0.0.ebuild X-VCS-Directories: media-libs/libsdl/files/ media-libs/libsdl/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: 0831a442afc2926f4a95c7d1bbf432cd032cb6eb X-VCS-Branch: master Date: Fri, 31 May 2013 21:28:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 777d144f-c973-43bd-82cb-20590c20498d X-Archives-Hash: e38b8c1003251d91b6698443f1d743d2 commit: 0831a442afc2926f4a95c7d1bbf432cd032cb6eb Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Fri May 31 18:27:17 2013 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Fri May 31 18:27:17 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=0831a442 [media-libs/libsdl] compilation fix (xdata32-related) Signed-off-by: Vadim A. Misbakh-Soloviov mva.name> --- media-libs/libsdl/files/libsdl-xdata32_fix.patch | 15 +++++++++++++++ media-libs/libsdl/libsdl-2.0.0.ebuild | 3 +++ 2 files changed, 18 insertions(+) diff --git a/media-libs/libsdl/files/libsdl-xdata32_fix.patch b/media-libs/libsdl/files/libsdl-xdata32_fix.patch new file mode 100644 index 0000000..8590cd9 --- /dev/null +++ b/media-libs/libsdl/files/libsdl-xdata32_fix.patch @@ -0,0 +1,15 @@ +libX11-1.5.99.901 has changed prototype of _XData32 + + + +diff -r b6b2829cd7ef src/video/x11/SDL_x11sym.h +--- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800 ++++ b/src/video/x11/SDL_x11sym.h Wed Mar 27 16:07:23 2013 +0100 +@@ -165,7 +165,7 @@ + */ + #ifdef LONG64 + SDL_X11_MODULE(IO_32BIT) +-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) ++SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) + SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) + #endif \ No newline at end of file diff --git a/media-libs/libsdl/libsdl-2.0.0.ebuild b/media-libs/libsdl/libsdl-2.0.0.ebuild index 7d92c7f..130c8ae 100644 --- a/media-libs/libsdl/libsdl-2.0.0.ebuild +++ b/media-libs/libsdl/libsdl-2.0.0.ebuild @@ -75,6 +75,9 @@ src_prepare() { epatch "${FILESDIR}/${PN}-add-libtool-export-cmake-v2.patch" # Make headers more universal for 32/64 archs. epatch "${FILESDIR}/${PN}-universal_sizeof_voidp.patch" + + # Build failure on 64bit systems fix: + epatch "${FILESDIR}/${PN}-xdata32_fix.patch" } src_configure() {