summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 02:49:01 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 02:49:01 +0800
commitb213eec8b81f1a92d0c25d656d293e3621659e81 (patch)
treef7b697664173b123ceb9bcbccb9c2710164a1f1b
parentda1b2366cec1ea098aa31f11e18e3b7370978e46 (diff)
downloadmarcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar.gz
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar.bz2
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar.lz
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar.xz
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.tar.zst
marcuscom-ports-b213eec8b81f1a92d0c25d656d293e3621659e81.zip
Include stdlib.h for random().
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4516 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/cairo/files/patch-src_cairo-ft-font.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/cairo/files/patch-src_cairo-ft-font.c b/graphics/cairo/files/patch-src_cairo-ft-font.c
index 88bcadeed..8cd60665f 100644
--- a/graphics/cairo/files/patch-src_cairo-ft-font.c
+++ b/graphics/cairo/files/patch-src_cairo-ft-font.c
@@ -1,17 +1,18 @@
---- src/cairo-ft-font.c.orig Tue Aug 16 14:33:55 2005
-+++ src/cairo-ft-font.c Tue Aug 16 14:43:47 2005
-@@ -44,6 +44,10 @@
+--- src/cairo-ft-font.c.orig Tue Aug 16 14:46:46 2005
++++ src/cairo-ft-font.c Tue Aug 16 14:46:59 2005
+@@ -44,6 +44,11 @@
#include <fontconfig/fontconfig.h>
#include <fontconfig/fcfreetype.h>
+#include <sys/types.h>
++#include <stdlib.h>
+#include <time.h>
+#include <unistd.h>
+
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_OUTLINE_H
-@@ -257,7 +261,12 @@ _cairo_ft_unscaled_font_init_key (cairo_
+@@ -257,7 +262,12 @@ _cairo_ft_unscaled_font_init_key (cairo_
key->id = id;
/* 1607 is just an arbitrary prime. */