~ruther/guix-local

ref: e51c26ef2daf7742eb1617ecb2c7f1594b73fb0c guix-local/gnu/packages/patches/sdl-pango-header-guard.patch -rw-r--r-- 410 bytes
e51c26ef — Zheng Junjie gnu: plasma-desktop: Fix build. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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__