summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2005-12-09 07:39:19 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2005-12-09 07:39:19 +0000
commit98ae61193d0151e4b9f581d1b443ca7a8d7cd294 (patch)
treeecc5eb880a2f2db70bce455c4536e0fb925cb3c7 /x11-libs/libXfont/files
parentPull old versions. (diff)
downloadgentoo-2-98ae61193d0151e4b9f581d1b443ca7a8d7cd294.tar.gz
gentoo-2-98ae61193d0151e4b9f581d1b443ca7a8d7cd294.tar.bz2
gentoo-2-98ae61193d0151e4b9f581d1b443ca7a8d7cd294.zip
(fd.o #5175) Make encodingsdir configurable.
(Portage version: 2.0.53)
Diffstat (limited to 'x11-libs/libXfont/files')
-rw-r--r--x11-libs/libXfont/files/configurable-encodingsdir.patch35
-rw-r--r--x11-libs/libXfont/files/digest-libXfont-0.99.3-r21
2 files changed, 36 insertions, 0 deletions
diff --git a/x11-libs/libXfont/files/configurable-encodingsdir.patch b/x11-libs/libXfont/files/configurable-encodingsdir.patch
new file mode 100644
index 000000000000..bf4fded127dd
--- /dev/null
+++ b/x11-libs/libXfont/files/configurable-encodingsdir.patch
@@ -0,0 +1,35 @@
+--- configure.ac 2005/12/03 05:49:43 1.20
++++ configure.ac 2005/12/09 06:55:26 1.21
+@@ -1,5 +1,5 @@
+ dnl
+-dnl $Id: configurable-encodingsdir.patch,v 1.1 2005/12/09 07:39:19 joshuabaergen Exp $
++dnl $Id: configurable-encodingsdir.patch,v 1.1 2005/12/09 07:39:19 joshuabaergen Exp $
+ dnl
+ dnl Copyright © 2003 Keith Packard
+ dnl
+@@ -50,6 +50,15 @@
+ AC_CHECK_HEADERS([endian.h poll.h sys/poll.h])
+ AC_CHECK_FUNCS([poll])
+
++m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
++
++DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings
++AC_ARG_WITH(encodingsdir,
++ AS_HELP_STRING([--with-encodingsdir=ENCODINGSDIR], [Path to font encodings]),
++ [ENCODINGSDIR="$withval"],
++ [ENCODINGSDIR="$DEFAULT_ENCODINGSDIR"])
++AC_SUBST(ENCODINGSDIR)
++
+ #
+ # select libraries to include
+ #
+--- src/fontfile/Makefile.am 2005/07/03 16:10:05 1.3
++++ src/fontfile/Makefile.am 2005/12/09 06:55:27 1.4
+@@ -1,5 +1,5 @@
+-FONTDIR=${libdir}/X11/fonts
+-FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(FONTDIR)/encodings/encodings.dir\"
++FONTENCDIR=@ENCODINGSDIR@
++FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(FONTENCDIR)/encodings.dir\"
+
+ INCLUDES = \
+ -I${top_srcdir}/include \
diff --git a/x11-libs/libXfont/files/digest-libXfont-0.99.3-r2 b/x11-libs/libXfont/files/digest-libXfont-0.99.3-r2
new file mode 100644
index 000000000000..1b31cb989a46
--- /dev/null
+++ b/x11-libs/libXfont/files/digest-libXfont-0.99.3-r2
@@ -0,0 +1 @@
+MD5 08ed359995921a1092c3bdcd6da8853a libXfont-0.99.3.tar.bz2 540069