[Pkg-sdl-commits] r112 - in unstable/sdlperl/debian: . patches

Samuel Hocevar sho at alioth.debian.org
Tue Feb 20 16:09:57 CET 2007


Author: sho
Date: 2007-02-20 16:09:57 +0100 (Tue, 20 Feb 2007)
New Revision: 112

Added:
   unstable/sdlperl/debian/patches/040_app_dtor.diff
Modified:
   unstable/sdlperl/debian/changelog
   unstable/sdlperl/debian/patches/series
Log:
sdlperl (1.20.3dfsg-2) unstable; urgency=high

  * debian/patches/040_app_dtor.diff:
    + Add an empty destructor to the App class so that the generic surface
      destructor does not get called. This prevent applications from crashing.

 -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 20 Feb 2007 16:08:43 +0100


Modified: unstable/sdlperl/debian/changelog
===================================================================
--- unstable/sdlperl/debian/changelog	2007-02-17 23:54:21 UTC (rev 111)
+++ unstable/sdlperl/debian/changelog	2007-02-20 15:09:57 UTC (rev 112)
@@ -1,3 +1,11 @@
+sdlperl (1.20.3dfsg-2) unstable; urgency=high
+
+  * debian/patches/040_app_dtor.diff:
+    + Add an empty destructor to the App class so that the generic surface
+      destructor does not get called. This prevent applications from crashing.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 20 Feb 2007 16:08:43 +0100
+
 sdlperl (1.20.3dfsg-1) unstable; urgency=high
 
   * Repackage original tarball to get rid of non-free fonts (Closes: #393694).

Added: unstable/sdlperl/debian/patches/040_app_dtor.diff
===================================================================
--- unstable/sdlperl/debian/patches/040_app_dtor.diff	2007-02-17 23:54:21 UTC (rev 111)
+++ unstable/sdlperl/debian/patches/040_app_dtor.diff	2007-02-20 15:09:57 UTC (rev 112)
@@ -0,0 +1,15 @@
+Index: sdlperl-1.20.3dfsg/lib/SDL/App.pm
+===================================================================
+--- sdlperl-1.20.3dfsg.orig/lib/SDL/App.pm	2007-02-20 16:03:25.000000000 +0100
++++ sdlperl-1.20.3dfsg/lib/SDL/App.pm	2007-02-20 16:03:48.000000000 +0100
+@@ -89,6 +89,10 @@
+ 	return $self;
+ }	
+ 
++sub DESTROY {
++	;
++}
++
+ sub resize ($$$) {
+ 	my ($self,$w,$h) = @_;
+ 	my $flags = SDL::SurfaceFlags($$self);

Modified: unstable/sdlperl/debian/patches/series
===================================================================
--- unstable/sdlperl/debian/patches/series	2007-02-17 23:54:21 UTC (rev 111)
+++ unstable/sdlperl/debian/patches/series	2007-02-20 15:09:57 UTC (rev 112)
@@ -7,4 +7,5 @@
 030_backwards_compatibility.diff -p1
 030_glu_nurbs.diff -p1
 030_opengl_fixes.diff -p1
-030_sdl_console.diff -p1
+030_sdl_console.diff 
+040_app_dtor.diff




More information about the Pkg-sdl-commits mailing list