[Pkg-sdl-commits] [sdlpango] 07/11: d/patches: Add fix-explicit-SDLPango_CopyFTBitmapToSurface.patch
Manuel A. Fernandez Montecelo
mafm at moszumanska.debian.org
Tue Jun 27 19:10:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
mafm pushed a commit to branch master
in repository sdlpango.
commit 2cadab5a05805852626a639525601d62da319e64
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Tue Jun 27 19:34:27 2017 +0200
d/patches: Add fix-explicit-SDLPango_CopyFTBitmapToSurface.patch
Add fix-explicit-SDLPango_CopyFTBitmapToSurface.patch to fix
building problem with Clang and possibly others. The define set by
the library changed from __FT2_BUILD_UNIX_H__ to FT2BUILD_H_
apparently many years ago, I could not find a reference.
(Closes: #753539)
---
debian/changelog | 6 ++++++
...fix-explicit-SDLPango_CopyFTBitmapToSurface.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bf84684..5544b02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,12 @@ sdlpango (0.1.2-7) UNRELEASED; urgency=low
* Switch to debhelper compat level v10
- dh flags --parallel are not needed
- autoreconf is invoked by default
+ * d/patches:
+ - Add fix-explicit-SDLPango_CopyFTBitmapToSurface.patch to fix
+ building problem with Clang and possibly others. The define set by
+ the library changed from __FT2_BUILD_UNIX_H__ to FT2BUILD_H_
+ apparently many years ago, I could not find a reference.
+ (Closes: #753539)
[ Gianfranco Costamagna ]
* Bump std-version to 3.9.6.
diff --git a/debian/patches/fix-explicit-SDLPango_CopyFTBitmapToSurface.patch b/debian/patches/fix-explicit-SDLPango_CopyFTBitmapToSurface.patch
new file mode 100644
index 0000000..3d4b10c
--- /dev/null
+++ b/debian/patches/fix-explicit-SDLPango_CopyFTBitmapToSurface.patch
@@ -0,0 +1,20 @@
+--- a/src/SDL_Pango.h
++++ b/src/SDL_Pango.h
+@@ -171,7 +171,7 @@
+ SDLPango_Direction direction);
+
+
+-#ifdef __FT2_BUILD_UNIX_H__
++#ifdef FT2BUILD_H_
+
+ extern DECLSPEC void SDLCALL SDLPango_CopyFTBitmapToSurface(
+ const FT_Bitmap *bitmap,
+@@ -179,7 +179,7 @@
+ const SDLPango_Matrix *matrix,
+ SDL_Rect *rect);
+
+-#endif /* __FT2_BUILD_UNIX_H__ */
++#endif
+
+
+ #ifdef __PANGO_H__
diff --git a/debian/patches/series b/debian/patches/series
index 16bfbcc..428b18f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-explicit-SDLPango_CopyFTBitmapToSurface.patch
am_maintainer_mode.patch
api_additions.patch
matrix_declarations.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