chiark / gitweb /
gnupg2 (2.1.17-3) unstable; urgency=medium
[gnupg2.git] / build-aux / speedo / patches / pango-1.29.4.patch
1 #! /bin/sh
2 patch -p0 -l -f $* < $0
3 exit $?
4
5 Without that patch the module is build with wrong symbols and thus
6 can't be loaded by pango.  I don't know why they have this defines
7 just in this module.  It entirely defeats the feature of loading
8 modules dynamically - maybe this was just a quick hack for including
9 the code directly - however, I was not able to make that work either.
10
11
12 --- modules/basic/basic-win32.c~        2011-09-28 16:34:33.000000000 +0200
13 +++ modules/basic/basic-win32.c 2014-02-20 20:01:10.107723565 +0100
14 @@ -33,9 +33,10 @@
15
16  extern HFONT _pango_win32_font_get_hfont (PangoFont *font);
17
18 -#ifndef PANGO_MODULE_PREFIX
19 -#define PANGO_MODULE_PREFIX _pango_basic_win32
20 -#endif
21 +/* #ifndef PANGO_MODULE_PREFIX */
22 +/* #define PANGO_MODULE_PREFIX _pango_basic_win32 */
23 +/* #endif */
24 +#undef PANGO_MODULE_PREFIX
25
26  #include "pango-engine.h"
27  #include "pango-utils.h"