summaryrefslogtreecommitdiff
path: root/libraries/libgdiplus
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 22:23:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:23:54 +0200
commit2a927a1f69d81db3735f353d8e3d1f6080f49c4f (patch)
tree73cd87297da0b4ef90bee30375f0717e78b8ac38 /libraries/libgdiplus
parent44d2c945dc411c0cce66147f4a35341c1a22ff05 (diff)
downloadslackbuilds-2a927a1f69d81db3735f353d8e3d1f6080f49c4f.tar.gz
libraries/libgdiplus: Updated for version 1.2.4
Diffstat (limited to 'libraries/libgdiplus')
-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 .