summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/ftgl/ftgl.SlackBuild4
-rw-r--r--libraries/ftgl/patches/nopdfdocs.patch23
2 files changed, 26 insertions, 1 deletions
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild
index 959847aac1..ee47752ef3 100644
--- a/libraries/ftgl/ftgl.SlackBuild
+++ b/libraries/ftgl/ftgl.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ftgl
VERSION=${VERSION:-2.1.3_rc5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -72,6 +72,8 @@ chmod -R a-s,u+rw,go+r-w .
patch -p1 < $CWD/patches/gcc47.patch
# Fix spam that breaks build after autoreconfing
patch -p1 < $CWD/patches/spam.patch
+# Avoid building pdf docs (seems broken ATM)
+patch -p0 < $CWD/patches/nopdfdocs.patch
autoreconf -i
CFLAGS="$SLKCFLAGS" \
diff --git a/libraries/ftgl/patches/nopdfdocs.patch b/libraries/ftgl/patches/nopdfdocs.patch
new file mode 100644
index 0000000000..e938665bad
--- /dev/null
+++ b/libraries/ftgl/patches/nopdfdocs.patch
@@ -0,0 +1,23 @@
+--- configure.ac.old 2008-11-21 14:41:15.000000000 +0100
++++ configure.ac 2008-11-21 14:44:19.000000000 +0100
+@@ -64,19 +64,11 @@
+ CFLAGS="${CFLAGS} -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"
+
+ # Build HTML documentatin?
+-AC_PATH_PROG(DOXYGEN, doxygen, no)
++DOXYGEN="no"
+ AM_CONDITIONAL(HAVE_DOXYGEN, test "x$DOXYGEN" != "xno")
+
+ # Build PDF documentation?
+-AC_PATH_PROG(LATEX, pdflatex, no)
+-AC_PATH_PROG(KPSEWHICH, kpsewhich, no)
+-AC_PATH_PROG(DVIPS, dvips, no)
+-AC_PATH_PROG(CONVERT, convert, no)
+-AC_PATH_PROG(EPSTOPDF, epstopdf, no)
+-if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no" -o "${EPSTOPDF}" = "no" \
+- -o "${CONVERT}" = "no"; then
+ LATEX="no"
+-fi
+ if test "x${LATEX}" != "xno"; then
+ AC_MSG_CHECKING(for a4.sty and a4wide.sty)
+ if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then