summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/sdl-pango-header-guard.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-10 15:54:10 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-10 16:02:51 +0200
commit929510a45daf622213d46bfb97b7c37b8501625c (patch)
tree928270476ccc043a0a59f07e9b576d461370342b /gnu/packages/patches/sdl-pango-header-guard.patch
parent79b0816e173b973ce03f46bfd91a0859b5e301e8 (diff)
downloadpatches-929510a45daf622213d46bfb97b7c37b8501625c.tar
patches-929510a45daf622213d46bfb97b7c37b8501625c.tar.gz
gnu: sdl-pango: Shorten file name of patch.
* gnu/packages/patches/sdl-pango-fix-explicit-SDLPango_CopyFTBitmapTo.patch: Rename to... * gnu/packages/patches/sdl-pango-header-guard.patch: ... this. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/sdl.scm (sdl-pango): Likewise.
Diffstat (limited to 'gnu/packages/patches/sdl-pango-header-guard.patch')
-rw-r--r--gnu/packages/patches/sdl-pango-header-guard.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/patches/sdl-pango-header-guard.patch b/gnu/packages/patches/sdl-pango-header-guard.patch
new file mode 100644
index 0000000000..3d4b10cc10
--- /dev/null
+++ b/gnu/packages/patches/sdl-pango-header-guard.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__