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

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Wed Dec 31 12:25:45 UTC 2008


Author: aurel32
Date: 2008-12-31 12:25:44 +0000 (Wed, 31 Dec 2008)
New Revision: 193

Added:
   unstable/sdlperl/debian/README.source
   unstable/sdlperl/debian/patches/060_sprintf.diff
Modified:
   unstable/sdlperl/debian/changelog
   unstable/sdlperl/debian/control
   unstable/sdlperl/debian/patches/series
Log:
sdlperl (1.20.3dfsg-4) unstable; urgency=low

  * debian/patches/060_sprintf.diff:
    + fix problematic use of sprintf when -D_FORTIFY_SOURCE=2 is used.
  * debian/README.source:
    + New file.
  * debian/control: 
    + Set policy to 3.8.0.
    + Relax build-depends on libsdl-gfx1.2-dev.

 -- Aurelien Jarno <aurel32 at debian.org>  Wed, 31 Dec 2008 13:17:29 +0100




Added: unstable/sdlperl/debian/README.source
===================================================================
--- unstable/sdlperl/debian/README.source	                        (rev 0)
+++ unstable/sdlperl/debian/README.source	2008-12-31 12:25:44 UTC (rev 193)
@@ -0,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Modified: unstable/sdlperl/debian/changelog
===================================================================
--- unstable/sdlperl/debian/changelog	2008-10-17 15:13:15 UTC (rev 192)
+++ unstable/sdlperl/debian/changelog	2008-12-31 12:25:44 UTC (rev 193)
@@ -1,3 +1,15 @@
+sdlperl (1.20.3dfsg-4) unstable; urgency=low
+
+  * debian/patches/060_sprintf.diff:
+    + fix problematic use of sprintf when -D_FORTIFY_SOURCE=2 is used.
+  * debian/README.source:
+    + New file.
+  * debian/control: 
+    + Set policy to 3.8.0.
+    + Relax build-depends on libsdl-gfx1.2-dev.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed, 31 Dec 2008 13:17:29 +0100
+
 sdlperl (1.20.3dfsg-3) unstable; urgency=low
 
   * Acknowledge NMU (Closes: #441276).

Modified: unstable/sdlperl/debian/control
===================================================================
--- unstable/sdlperl/debian/control	2008-10-17 15:13:15 UTC (rev 192)
+++ unstable/sdlperl/debian/control	2008-12-31 12:25:44 UTC (rev 193)
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
 Uploaders: Matthew Danish <mrd at debian.org>, Zephaniah E. Hull <warp at debian.org>, Lawrence Williams <lawrence_cecil_williams at hotmail.com>, Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Aurelien Jarno <aurel32 at debian.org>, Josselin Mouette <joss at debian.org>
-Build-Depends: debhelper (>= 4.0), quilt, perl (>= 5.8), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libjpeg62-dev, libpng12-dev, libsdl1.2-dev (>= 1.2.5-3), libsdl-image1.2-dev, libsdl-mixer1.2-dev (>= 1.2.5-2), libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl-console-dev (>= 1.3-2.2), libsdl-gfx1.2-dev (>= 2.0.13-1)
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 4.0), quilt, perl (>= 5.8), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libjpeg62-dev, libpng12-dev, libsdl1.2-dev (>= 1.2.5-3), libsdl-image1.2-dev, libsdl-mixer1.2-dev (>= 1.2.5-2), libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl-console-dev (>= 1.3-2.2), libsdl-gfx1.2-dev (>= 2.0.13)
+Standards-Version: 3.8.0
 
 Package: libsdl-perl
 Architecture: any

Added: unstable/sdlperl/debian/patches/060_sprintf.diff
===================================================================
--- unstable/sdlperl/debian/patches/060_sprintf.diff	                        (rev 0)
+++ unstable/sdlperl/debian/patches/060_sprintf.diff	2008-12-31 12:25:44 UTC (rev 193)
@@ -0,0 +1,11 @@
+--- sdlperl-1.20.3dfsg.orig/SFont.c.orig	2008-12-30 00:54:23.000000000 +0100
++++ sdlperl-1.20.3dsfg/SFont.c	2008-12-30 00:57:25.000000000 +0100
+@@ -180,7 +180,7 @@
+ 		if ((ch=='\b')&&(strlen(text)>0))
+ 		    text[strlen(text)-1]='\0';
+ 		else if (ch!='\b')
+-		    sprintf(text,"%s%c",text,ch);
++		    sprintf(text + strlen(text),"%c",ch);
+ 	        if (TextWidth2(Font,text)>PixelWidth) text[strlen(text)-1]='\0';
+ 		SDL_BlitSurface( Back, NULL, Dest, &rect);
+ 		PutString2(Dest, Font, x, y, text);

Modified: unstable/sdlperl/debian/patches/series
===================================================================
--- unstable/sdlperl/debian/patches/series	2008-10-17 15:13:15 UTC (rev 192)
+++ unstable/sdlperl/debian/patches/series	2008-12-31 12:25:44 UTC (rev 193)
@@ -11,3 +11,5 @@
 040_app_dtor.diff
 
 050_sdl_event_namespace.diff -p1
+
+060_sprintf.diff -p1




More information about the pkg-sdl-commits mailing list