From 803438a401f78556f2b4149c8e619fceecb09a1f Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sun, 20 Oct 2019 11:17:50 +0200 Subject: [PATCH] libsdl: initial import --- libsdl/.footprint | 226 +++++++++++++++++++++++++++++++ libsdl/.signature | 7 + libsdl/Pkgfile | 27 ++++ libsdl/README | 8 ++ libsdl/libsdl-1.2.15-bs.patch | 12 ++ libsdl/libsdl-1.2.x-libx11.patch | 11 ++ 6 files changed, 291 insertions(+) create mode 100644 libsdl/.footprint create mode 100644 libsdl/.signature create mode 100644 libsdl/Pkgfile create mode 100644 libsdl/README create mode 100644 libsdl/libsdl-1.2.15-bs.patch create mode 100644 libsdl/libsdl-1.2.x-libx11.patch diff --git a/libsdl/.footprint b/libsdl/.footprint new file mode 100644 index 0000000..a17a445 --- /dev/null +++ b/libsdl/.footprint @@ -0,0 +1,226 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/sdl-config +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/SDL/ +-rw-r--r-- root/root usr/include/SDL/SDL.h +-rw-r--r-- root/root usr/include/SDL/SDL_active.h +-rw-r--r-- root/root usr/include/SDL/SDL_audio.h +-rw-r--r-- root/root usr/include/SDL/SDL_byteorder.h +-rw-r--r-- root/root usr/include/SDL/SDL_cdrom.h +-rw-r--r-- root/root usr/include/SDL/SDL_config.h +-rw-r--r-- root/root usr/include/SDL/SDL_cpuinfo.h +-rw-r--r-- root/root usr/include/SDL/SDL_endian.h +-rw-r--r-- root/root usr/include/SDL/SDL_error.h +-rw-r--r-- root/root usr/include/SDL/SDL_events.h +-rw-r--r-- root/root usr/include/SDL/SDL_getenv.h +-rw-r--r-- root/root usr/include/SDL/SDL_joystick.h +-rw-r--r-- root/root usr/include/SDL/SDL_keyboard.h +-rw-r--r-- root/root usr/include/SDL/SDL_keysym.h +-rw-r--r-- root/root usr/include/SDL/SDL_loadso.h +-rw-r--r-- root/root usr/include/SDL/SDL_main.h +-rw-r--r-- root/root usr/include/SDL/SDL_mouse.h +-rw-r--r-- root/root usr/include/SDL/SDL_mutex.h +-rw-r--r-- root/root usr/include/SDL/SDL_name.h +-rw-r--r-- root/root usr/include/SDL/SDL_opengl.h +-rw-r--r-- root/root usr/include/SDL/SDL_platform.h +-rw-r--r-- root/root usr/include/SDL/SDL_quit.h +-rw-r--r-- root/root usr/include/SDL/SDL_rwops.h +-rw-r--r-- root/root usr/include/SDL/SDL_stdinc.h +-rw-r--r-- root/root usr/include/SDL/SDL_syswm.h +-rw-r--r-- root/root usr/include/SDL/SDL_thread.h +-rw-r--r-- root/root usr/include/SDL/SDL_timer.h +-rw-r--r-- root/root usr/include/SDL/SDL_types.h +-rw-r--r-- root/root usr/include/SDL/SDL_version.h +-rw-r--r-- root/root usr/include/SDL/SDL_video.h +-rw-r--r-- root/root usr/include/SDL/begin_code.h +-rw-r--r-- root/root usr/include/SDL/close_code.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4 +-rwxr-xr-x root/root usr/lib/libSDL-1.2.so.0.11.4 +-rw-r--r-- root/root usr/lib/libSDL.a +-rwxr-xr-x root/root usr/lib/libSDL.la +lrwxrwxrwx root/root usr/lib/libSDL.so -> libSDL-1.2.so.0.11.4 +-rw-r--r-- root/root usr/lib/libSDLmain.a +-rwxr-xr-x root/root usr/lib/libSDLmain.la +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/sdl.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/sdl.m4 +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/SDLKey.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ActiveEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_AddTimer.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_AudioCVT.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_AudioSpec.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_BlitSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_BuildAudioCVT.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CD.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDClose.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDEject.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDName.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDNumDrives.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDOpen.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDPause.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDPlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDPlayTracks.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDResume.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDStatus.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDStop.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CDtrack.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CloseAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Color.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CondBroadcast.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CondSignal.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CondWait.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CondWaitTimeout.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ConvertAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ConvertSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateCond.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateCursor.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateMutex.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateRGBSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateRGBSurfaceFrom.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateSemaphore.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateThread.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_CreateYUVOverlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Delay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DestroyCond.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DestroyMutex.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DestroySemaphore.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DisplayFormat.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DisplayFormatAlpha.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_DisplayYUVOverlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_EnableKeyRepeat.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_EnableUNICODE.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Event.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_EventState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ExposeEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_FillRect.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Flip.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_FreeCursor.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_FreeSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_FreeWAV.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_FreeYUVOverlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GL_GetAttribute.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GL_GetProcAddress.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GL_LoadLibrary.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GL_SetAttribute.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GL_SwapBuffers.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GLattr.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetAppState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetAudioStatus.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetClipRect.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetCursor.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetError.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetEventFilter.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetGamma.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetGammaRamp.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetKeyName.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetKeyState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetModState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetMouseState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetRGB.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetRGBA.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetRelativeMouseState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetThreadID.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetTicks.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetVideoInfo.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_GetVideoSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Init.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_InitSubSystem.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoyAxisEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoyBallEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoyButtonEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoyHatEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickClose.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickEventState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickGetAxis.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickGetBall.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickGetButton.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickGetHat.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickIndex.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickName.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickNumAxes.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickNumBalls.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickNumButtons.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickNumHats.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickOpen.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickOpened.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_JoystickUpdate.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_KeyboardEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_KillThread.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ListModes.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_LoadBMP.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_LoadWAV.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_LockAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_LockSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_LockYUVOverlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_MapRGB.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_MapRGBA.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_MixAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_MouseButtonEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_MouseMotionEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_NumJoysticks.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_OpenAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Overlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Palette.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PauseAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PeepEvents.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PixelFormat.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PollEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PumpEvents.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_PushEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Quit.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_QuitEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_QuitSubSystem.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_RWFromFile.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Rect.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_RemoveTimer.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ResizeEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SaveBMP.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SemPost.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SemTryWait.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SemValue.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SemWait.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SemWaitTimeout.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetAlpha.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetClipRect.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetColorKey.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetColors.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetCursor.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetEventFilter.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetGamma.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetGammaRamp.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetModState.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetPalette.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetTimer.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SetVideoMode.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ShowCursor.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_Surface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_SysWMEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_ThreadID.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UnlockAudio.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UnlockSurface.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UnlockYUVOverlay.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UpdateRect.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UpdateRects.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_UserEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_VideoDriverName.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_VideoInfo.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_VideoModeOK.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_GetCaption.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_GrabInput.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_IconifyWindow.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_SetCaption.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_SetIcon.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WM_ToggleFullScreen.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WaitEvent.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WaitThread.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WarpMouse.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_WasInit.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_keysym.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_mutexP.3.gz +-rw-r--r-- root/root usr/share/man/man3/SDL_mutexV.3.gz diff --git a/libsdl/.signature b/libsdl/.signature new file mode 100644 index 0000000..6a8fdde --- /dev/null +++ b/libsdl/.signature @@ -0,0 +1,7 @@ +untrusted comment: verify with /etc/ports/opt-arm64.pub +RWRitF9a2DJqMcMiiQkpU7C6QSRkl/R1CxbO0EMkTbPu4NQkWaCIkR4rzzpiEBTs99n7e440nTMDXbeX9pTS1whqwRxrkcqccAc= +SHA256 (Pkgfile) = 5be992710e771db07d9910b4a561d8e6c2e0efc181ac0fed9ee4b4c867e9093d +SHA256 (.footprint) = 203217745aafde2a04cab5d6620fe36d940d3aba7cc5a678130cb771bd8284c7 +SHA256 (SDL-1.2.15.tar.gz) = d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00 +SHA256 (libsdl-1.2.x-libx11.patch) = cdb44e23a1ce8336313f340e226e094d0c65d895772e396f9b3f55566ecd6394 +SHA256 (libsdl-1.2.15-bs.patch) = 86e2d2e680ccbd7e6a914455d80d39104a0528b949e4886203a7a4d0aa5b9242 diff --git a/libsdl/Pkgfile b/libsdl/Pkgfile new file mode 100644 index 0000000..c575f41 --- /dev/null +++ b/libsdl/Pkgfile @@ -0,0 +1,27 @@ +# Description: SDL, Simple DirectMedia Layer +# URL: https://www.libsdl.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: alsa-lib glu + +name=libsdl +version=1.2.15 +release=5 +source=(https://www.libsdl.org/release/SDL-$version.tar.gz + $name-1.2.x-libx11.patch $name-$version-bs.patch) + +build() { + cd SDL-$version + + patch -p1 -i $SRC/$name-1.2.x-libx11.patch + patch -p1 -i $SRC/$name-$version-bs.patch + + ./configure \ + --prefix=/usr \ + --build=aarch64-unknown-linux-gnueabi \ + --enable-alsa \ + --disable-rpath + + make + make DESTDIR=$PKG install +} diff --git a/libsdl/README b/libsdl/README new file mode 100644 index 0000000..e9fd0ac --- /dev/null +++ b/libsdl/README @@ -0,0 +1,8 @@ + +README for libsdl-1.2.x + +NOTES + +Backing store is enabled by default. To see more information see: +https://bugzilla.libsdl.org/show_bug.cgi?id=2383 +https://bugs.freedesktop.org/show_bug.cgi?id=74158 diff --git a/libsdl/libsdl-1.2.15-bs.patch b/libsdl/libsdl-1.2.15-bs.patch new file mode 100644 index 0000000..3e0132d --- /dev/null +++ b/libsdl/libsdl-1.2.15-bs.patch @@ -0,0 +1,12 @@ +diff -urN SDL-1.2.15.orig/src/video/x11/SDL_x11video.c SDL-1.2.15/src/video/x11/SDL_x11video.c +--- SDL-1.2.15.orig/src/video/x11/SDL_x11video.c 2012-01-19 00:30:06.000000000 -0600 ++++ SDL-1.2.15/src/video/x11/SDL_x11video.c 2014-11-24 11:06:26.103652066 -0600 +@@ -1088,7 +1088,7 @@ + } + } + +-#if 0 /* This is an experiment - are the graphics faster now? - nope. */ ++#if 1 /* This is an experiment - are the graphics faster now? - nope. */ + if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") ) + #endif + /* Cache the window in the server, when possible */ diff --git a/libsdl/libsdl-1.2.x-libx11.patch b/libsdl/libsdl-1.2.x-libx11.patch new file mode 100644 index 0000000..2dca322 --- /dev/null +++ b/libsdl/libsdl-1.2.x-libx11.patch @@ -0,0 +1,11 @@ +--- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800 ++++ a/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 + -- 2.26.2