[arch-commits] Commit in sdl/trunk (PKGBUILD sdl_x11sym.patch)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Oct 23 17:24:50 UTC 2013
Date: Wednesday, October 23, 2013 @ 19:24:50
Author: heftig
Revision: 197193
staticlibs
Added:
sdl/trunk/sdl_x11sym.patch
Modified:
sdl/trunk/PKGBUILD
------------------+
PKGBUILD | 15 +++++++++++----
sdl_x11sym.patch | 12 ++++++++++++
2 files changed, 23 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-23 17:22:29 UTC (rev 197192)
+++ PKGBUILD 2013-10-23 17:24:50 UTC (rev 197193)
@@ -5,7 +5,7 @@
pkgname=sdl
pkgver=1.2.15
-pkgrel=3
+pkgrel=4
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
@@ -19,19 +19,26 @@
sdl-1.2.14-fix-mouse-clicking.patch
sdl-1.2.14-disable-mmx.patch
fix_joystick_misc_axes.diff
- libsdl-1.2.15-resizing.patch)
+ libsdl-1.2.15-resizing.patch
+ sdl_x11sym.patch)
md5sums=('9d96df8417572a2afb781a7c4c811a85'
'04d8c179f125e04bcd4c9d60e013c2d7'
'e5c16b7611f62c7cb25f0534eff68852'
'687586a108b597a2a6b73070c1d37e51'
- '3dd50347d8856160a9cbd7f80383a1f8')
+ '3dd50347d8856160a9cbd7f80383a1f8'
+ '148b285bccee9d21bb96db807363b962')
-build() {
+prepare() {
cd SDL-$pkgver
patch -Np1 -i ../sdl-1.2.14-fix-mouse-clicking.patch
patch -Np1 -i ../sdl-1.2.14-disable-mmx.patch
patch -Np1 -i ../fix_joystick_misc_axes.diff
patch -Np1 -i ../libsdl-1.2.15-resizing.patch
+ patch -Np0 -i ../sdl_x11sym.patch
+}
+
+build() {
+ cd SDL-$pkgver
./configure --prefix=/usr --disable-nasm --enable-alsa \
--with-x --disable-rpath --disable-static
make
Added: sdl_x11sym.patch
===================================================================
--- sdl_x11sym.patch (rev 0)
+++ sdl_x11sym.patch 2013-10-23 17:24:50 UTC (rev 197193)
@@ -0,0 +1,12 @@
+--- src/video/x11/SDL_x11sym.h-orig 2013-07-16 23:56:46.718523385 -0600
++++ src/video/x11/SDL_x11sym.h 2013-07-16 23:58:27.025186485 -0600
+@@ -165,7 +165,8 @@
+ */
+ #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
+
More information about the arch-commits
mailing list