1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00
gnupg/build-aux/speedo/patches/pango-1.29.4.patch
Werner Koch e06d5d1a3b speedo: Revamped speedo and include a w32 installer.
* build-aux/speedo/: New.
* build-aux/speedo/w32/: New.
--

The new installer uses some code from Gpg4win but is much smaller and
easier to maintain.  To build an installer, unpack GnuPG and then run

  make -f build-aux/speedo.mk  TARBALLS=~/mytarballs installer

~/mytarballs is a directory with tarballs of external libraries.  See
speedo.mk for a list of them.

WARNING: The installed W32 version does not correctly work right now.
2014-06-10 21:34:39 +02:00

28 lines
873 B
Diff
Executable File

#! /bin/sh
patch -p0 -l -f $* < $0
exit $?
Without that patch the module is build with wrong symbols and thus
can't be loaded by pango. I don't know why they have this defines
just in this module. It entirely defeats the feature of loading
modules dynamically - maybe this was just a quick hack for including
the code directly - however, I was not able to make that work either.
--- modules/basic/basic-win32.c~ 2011-09-28 16:34:33.000000000 +0200
+++ modules/basic/basic-win32.c 2014-02-20 20:01:10.107723565 +0100
@@ -33,9 +33,10 @@
extern HFONT _pango_win32_font_get_hfont (PangoFont *font);
-#ifndef PANGO_MODULE_PREFIX
-#define PANGO_MODULE_PREFIX _pango_basic_win32
-#endif
+/* #ifndef PANGO_MODULE_PREFIX */
+/* #define PANGO_MODULE_PREFIX _pango_basic_win32 */
+/* #endif */
+#undef PANGO_MODULE_PREFIX
#include "pango-engine.h"
#include "pango-utils.h"