summaryrefslogtreecommitdiff
path: root/package/xorg/freetype.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-07-08 23:58:02 +0000
committerEric Andersen <andersen@codepoet.org>2006-07-08 23:58:02 +0000
commit600bcddaef1ec0e3be5d1b07eda8e85944c1e711 (patch)
treea3b0877184b9055b5cd7ec7ce3605bfab568ad68 /package/xorg/freetype.patch
parent830228b9d990c63d870bef9e05f474f3083cb87d (diff)
fixup xorg compile -- it now at least compiles and runs for me on x86
Diffstat (limited to 'package/xorg/freetype.patch')
-rw-r--r--package/xorg/freetype.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/xorg/freetype.patch b/package/xorg/freetype.patch
new file mode 100644
index 000000000..0ba3dd562
--- /dev/null
+++ b/package/xorg/freetype.patch
@@ -0,0 +1,22 @@
+--- xc/lib/font/FreeType/Imakefile.old 2005-06-03 20:18:51.000000000 +0100
++++ xc/lib/font/FreeType/Imakefile 2005-06-03 20:18:52.000000000 +0100
+@@ -20,7 +20,7 @@
+
+ INCLUDES = $(FT2INCS) -I. -I$(FONTINCSRC) -I../include -I$(XINCLUDESRC) \
+ -I$(SERVERSRC)/include $(EXTRAINCLUDES) \
+- -I$(INCLUDESRC)
++ -I$(INCLUDESRC) $(CC_STAGING)
+
+ SRCS = xttcap.c ftfuncs.c ftenc.c fttools.c
+ OBJS = xttcap.o ftfuncs.o ftenc.o fttools.o
+--- xc/config/cf/X11.tmpl.old 2005-06-03 20:40:24.000000000 +0100
++++ xc/config/cf/X11.tmpl 2005-06-03 20:40:40.000000000 +0100
+@@ -3371,7 +3371,7 @@
+
+ #if BuildFreetype2Library || HasFreetype2
+ #if Freetype2IncDirStandard
+-FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
++FREETYPE2INCLUDES = `pkg-config --cflags freetype2`
+ #else
+ FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR) -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
+ #endif