[Pkg-erlang-commits] r1366 - in libsdl-erlang/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Fri Dec 16 09:23:51 UTC 2011


Author: sgolovan
Date: 2011-12-16 09:23:50 +0000 (Fri, 16 Dec 2011)
New Revision: 1366

Added:
   libsdl-erlang/trunk/debian/patches/driver.patch
Modified:
   libsdl-erlang/trunk/debian/changelog
   libsdl-erlang/trunk/debian/patches/series
Log:
[esdl]
  * Fixed loading driver esdl_driver into Erlang R15B.


Modified: libsdl-erlang/trunk/debian/changelog
===================================================================
--- libsdl-erlang/trunk/debian/changelog	2011-12-15 18:37:15 UTC (rev 1365)
+++ libsdl-erlang/trunk/debian/changelog	2011-12-16 09:23:50 UTC (rev 1366)
@@ -1,10 +1,10 @@
-esdl (1.2-1) unstable; urgency=low
+esdl (1.0.1-4) unstable; urgency=low
 
-  * New upstream release.
   * Fixed typo in package description (closes: #601194).
   * Bumped standards version to 3.9.2.
+  * Fixed loading driver esdl_driver into Erlang R15B.
 
- -- Sergei Golovan <sgolovan at debian.org>  Mon, 13 Jun 2011 15:22:46 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Fri, 16 Dec 2011 13:09:57 +0400
 
 esdl (1.0.1-3) unstable; urgency=low
 

Added: libsdl-erlang/trunk/debian/patches/driver.patch
===================================================================
--- libsdl-erlang/trunk/debian/patches/driver.patch	                        (rev 0)
+++ libsdl-erlang/trunk/debian/patches/driver.patch	2011-12-16 09:23:50 UTC (rev 1366)
@@ -0,0 +1,22 @@
+Patch fixes esdl_driver loading into Erlang R15B.
+
+--- esdl-1.0.1.orig/c_src/esdl_driver.c
++++ esdl-1.0.1/c_src/esdl_driver.c
+@@ -59,6 +59,17 @@
+     sdl_driver_control,    /* F_PTR control, port_control callback */
+     NULL,                  /* F_PTR timeout, reserved */
+     standard_outputv,	   /* F_PTR outputv, reserved */
++    NULL,
++    NULL,
++    NULL,
++    NULL,
++    ERL_DRV_EXTENDED_MARKER,
++    ERL_DRV_EXTENDED_MAJOR_VERSION,
++    ERL_DRV_EXTENDED_MINOR_VERSION,
++    0,
++    NULL,
++    NULL,
++    NULL
+ };
+ 
+ DRIVER_INIT(sdl_driver)

Modified: libsdl-erlang/trunk/debian/patches/series
===================================================================
--- libsdl-erlang/trunk/debian/patches/series	2011-12-15 18:37:15 UTC (rev 1365)
+++ libsdl-erlang/trunk/debian/patches/series	2011-12-16 09:23:50 UTC (rev 1366)
@@ -1 +1 @@
-# Currently there's no patches but they could be added in the future
+driver.patch




More information about the Pkg-erlang-commits mailing list