The following commit has been merged in the master branch:
commit 6be0ff10e2b8a6b9d6dcefd7f92fb91caf2d48f3
Author: Stephane Glondu <st...@glondu.net>
Date:   Tue Jun 5 11:57:35 2012 +0200

    Fix runtime error due to missing sdlvideo (Closes: #667447)

diff --git 
a/debian/patches/0002-Fix-runtime-error-due-to-missing-sdlvideo.patch 
b/debian/patches/0002-Fix-runtime-error-due-to-missing-sdlvideo.patch
new file mode 100644
index 0000000..14581fd
--- /dev/null
+++ b/debian/patches/0002-Fix-runtime-error-due-to-missing-sdlvideo.patch
@@ -0,0 +1,33 @@
+From: Stephane Glondu <st...@glondu.net>
+Date: Tue, 5 Jun 2012 11:54:47 +0200
+Subject: Fix runtime error due to missing sdlvideo
+
+Bug-Mageia: https://bugs.mageia.org/show_bug.cgi?id=4460
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667447
+---
+ src/Makefile |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index e1f77e1..a60d7f4 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -14,6 +14,8 @@ loader_MODULES = sdlloader
+ mixer_MODULES  = sdlmixer
+ ttf_MODULES    = sdlttf
+ gfx_MODULES    = sdlgfx
++video_MODULES  = sdlvideo
++gfx_C_SRC      = common.c
+ 
+ TARGETS  = sdl.cma $(patsubst %,sdl%.cma,$(PARTS))
+ TARGETS += libsdlstub.$(A) $(patsubst %,libsdl%stub.$(A),$(PARTS))
+@@ -55,7 +57,7 @@ sdlgfx.cma : $(call ML_OBJS,gfx)
+       $(call MKCMA,sdlgfx,sdlgfxstub,$^,$(call SYSLIB,SDL_gfx))
+ sdlgfx.cmxa : $(call ML_OPT_OBJS,gfx)
+       $(call MKCMXA,sdlgfx,sdlgfxstub,$^,$(call SYSLIB,SDL_gfx))
+-libsdlgfxstub.$(A) dllsdlgfxstub.so : $(call STUB_OBJS,gfx)
++libsdlgfxstub.$(A) dllsdlgfxstub.so : $(call STUB_OBJS,gfx) $(call 
STUB_OBJS,video)
+       $(call MKCLIB,sdlgfx,sdlgfxstub,$^,$(call SYSLIB,SDL_gfx))
+ 
+ 
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index c6c94b1..d8d3184 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-build-on-bytecode-architectures.patch
+0002-Fix-runtime-error-due-to-missing-sdlvideo.patch

-- 
ocamlsdl packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to