[Pkg-sdl-commits] [sdlpango] 02/04: Fix clang build

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Thu Jan 21 11:47:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch master
in repository sdlpango.

commit b2d2c20325746ec37277b45a4f9fe64d8bb8f786
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Thu Jan 21 12:41:16 2016 +0100

    Fix clang build
---
 debian/patches/fix-clang-build.patch | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fix-clang-build.patch b/debian/patches/fix-clang-build.patch
new file mode 100644
index 0000000..0f194af
--- /dev/null
+++ b/debian/patches/fix-clang-build.patch
@@ -0,0 +1,17 @@
+Index: sdlpango/src/SDL_Pango.c
+===================================================================
+--- sdlpango.orig/src/SDL_Pango.c
++++ sdlpango/src/SDL_Pango.c
+@@ -264,6 +264,12 @@
+ 
+ static void clearFTBitmap(FT_Bitmap *bitmap);
+ 
++static void SDLPango_CopyFTBitmapToSurface(
++    const FT_Bitmap *bitmap,
++    SDL_Surface *surface,
++    const SDLPango_Matrix *matrix,
++    SDL_Rect *rect);
++
+ typedef struct _surfaceArgs {
+     Uint32 flags;
+     int depth;
diff --git a/debian/patches/series b/debian/patches/series
index 16bfbcc..1dbafa0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ matrix_declarations.patch
 sans-serif.patch
 fillrect_crash.patch
 blit_overflow.patch
+fix-clang-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdlpango.git



More information about the pkg-sdl-commits mailing list