Bug 13138 - [patch] drop include fcprivate.h from libXft
Summary: [patch] drop include fcprivate.h from libXft
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xft (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 12917
  Show dependency treegraph
 
Reported: 2007-11-07 18:33 UTC by Shunichi Fuji
Modified: 2007-11-13 15:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
drop fcprivate & import misc macros. (3.79 KB, patch)
2007-11-08 02:15 UTC, Shunichi Fuji
no flags Details | Splinter Review

Description Shunichi Fuji 2007-11-07 18:33:38 UTC
fontconfig droped fcprivate.h now.

Remove fcprivate.h, move the remaining macros to fcint.h.
http://gitweb.freedesktop.org/?p=fontconfig;a=commit;h=b607922909acfc7ae96de688ed34efd19cd038ac

diff --git a/src/xftint.h b/src/xftint.h
index 8668ec4..982a792 100644
--- a/src/xftint.h
+++ b/src/xftint.h
@@ -59,7 +59,9 @@
 #include <X11/Xlibint.h>
 #define _XFT_NO_COMPAT_
 #include "Xft.h"
+#if (FC_VERSION < 20492)
 #include <fontconfig/fcprivate.h>
+#endif
 #include <fontconfig/fcfreetype.h>
 
 /* Added to <X11/Xfuncproto.h> in X11R6.9 and later */
Comment 1 Shunichi Fuji 2007-11-07 20:02:38 UTC
oops, it needs workaround for FcObjectSetVapBuild,FcPatternVapBuild ...
Comment 2 Shunichi Fuji 2007-11-08 02:15:03 UTC
Created attachment 12399 [details] [review]
drop fcprivate & import misc macros.
Comment 3 Keith Packard 2007-11-13 15:48:44 UTC
Oops. I've reverted this change in fontconfig so that Xft needn't be patched.
1315db01b626aedd27e3e05bde96ce46c253629b


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.