[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733385: Patch for #733385



Control: tags -1 + patch

Dear maintainer,

Here’s a patch I’ve created and tested.

I’ve attached two files: “fix-freetype-includes.patch” is just the patch
fixing the issues in code and “xft_nmu.debdiff” is a debdiff for a NMU
which incorporates the patch into the package.

After a short delay I’ll consider finding a sponsor for the NMU.
The built source package will be available at mentors[1].

Thanks,
-- Juhani Numminen

[1] http://mentors.debian.net/package/xft

Attachment: xft_nmu.debdiff
Description: Binary data

Dscription: Fix build failure with freetype 2.5.1
Author: Juhani Numminen <juhaninumminen0@gmail.com>
Bug-Debian: http://bugs.debian.org/733385

--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,10 +21,11 @@
  */
 
 #include "xftint.h"
-#include <freetype/ftoutln.h>
-#include <freetype/ftlcdfil.h>
+#include <ft2build.h>
+#include FT_OUTLINE_H
+#include FT_LCD_FILTER_H
 
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
 
 /*
  * Validate the memory info for a font

Reply to: