summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libgdiplus/cairo-type1-include.patch11
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/libraries/libgdiplus/cairo-type1-include.patch b/libraries/libgdiplus/cairo-type1-include.patch
new file mode 100644
index 0000000000..8be7e94421
--- /dev/null
+++ b/libraries/libgdiplus/cairo-type1-include.patch
@@ -0,0 +1,11 @@
+--- libgdiplus-1.2.4~/cairo/src/cairo-type1-subset.c 2007-05-03 20:40:26.000000000 +0000
++++ libgdiplus-1.2.4/cairo/src/cairo-type1-subset.c 2007-07-23 09:30:11.000000000 +0000
+@@ -46,6 +46,8 @@
+ #include FT_OUTLINE_H
+ #include FT_TYPE1_TABLES_H
+
++#include <ctype.h>
++
+ typedef struct _cairo_type1_font_subset {
+
+ cairo_scaled_font_subset_t *scaled_font_subset;
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index 82bf59240c..0baeacc2a7 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -48,6 +48,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+patch -p1 < $CWD/cairo-type1-include.patch
chown -R root:root .
chmod -R u+w,go+r-w,a-s .