aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-23 12:20:07 +0800
committermarcus <marcus@FreeBSD.org>2004-03-23 12:20:07 +0800
commita1a72c589901b0c402532d08ea5c63168d9e65c7 (patch)
tree687ec5b769392ec53d270c399c74699da0825aaf /graphics
parent4e1bbabd92ac9b3e32484cdee291687be2da234b (diff)
downloadfreebsd-ports-gnome-a1a72c589901b0c402532d08ea5c63168d9e65c7.tar.gz
freebsd-ports-gnome-a1a72c589901b0c402532d08ea5c63168d9e65c7.tar.zst
freebsd-ports-gnome-a1a72c589901b0c402532d08ea5c63168d9e65c7.zip
Fix build with freetyp2-2.1.7.
Reported by: bento via kris
Diffstat (limited to 'graphics')
-rw-r--r--graphics/librsvg/files/patch-configure27
-rw-r--r--graphics/librsvg/files/patch-rsvg-ft.c12
-rw-r--r--graphics/librsvg/files/patch-test-ft-gtk.c12
-rw-r--r--graphics/librsvg/files/patch-test-ft.c12
4 files changed, 58 insertions, 5 deletions
diff --git a/graphics/librsvg/files/patch-configure b/graphics/librsvg/files/patch-configure
index 444b8335e4d7..e345400828bb 100644
--- a/graphics/librsvg/files/patch-configure
+++ b/graphics/librsvg/files/patch-configure
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- configure 2002/04/25 19:16:30 1.1
-+++ configure 2002/04/25 19:16:42
+--- configure.orig Thu Jan 17 13:54:07 2002
++++ configure Mon Mar 22 23:16:08 2004
@@ -5397,6 +5397,7 @@
# This can be used to rebuild libtool when needed
@@ -11,3 +8,23 @@ $FreeBSD$
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -6020,7 +6021,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ char*
+ my_strdup (char *str)
+@@ -6114,7 +6116,8 @@
+ #include "confdefs.h"
+
+ #include <stdio.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ int main() {
+ return 0;
diff --git a/graphics/librsvg/files/patch-rsvg-ft.c b/graphics/librsvg/files/patch-rsvg-ft.c
new file mode 100644
index 000000000000..60740ddb1ca9
--- /dev/null
+++ b/graphics/librsvg/files/patch-rsvg-ft.c
@@ -0,0 +1,12 @@
+--- rsvg-ft.c.orig Mon Mar 22 23:16:39 2004
++++ rsvg-ft.c Mon Mar 22 23:16:57 2004
+@@ -28,7 +28,8 @@
+ #include <stdlib.h>
+ #include <math.h>
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include <libart_lgpl/art_misc.h>
+ #include <libart_lgpl/art_rect.h>
diff --git a/graphics/librsvg/files/patch-test-ft-gtk.c b/graphics/librsvg/files/patch-test-ft-gtk.c
new file mode 100644
index 000000000000..07bc00113325
--- /dev/null
+++ b/graphics/librsvg/files/patch-test-ft-gtk.c
@@ -0,0 +1,12 @@
+--- test-ft-gtk.c.orig Mon Mar 22 23:17:19 2004
++++ test-ft-gtk.c Mon Mar 22 23:17:38 2004
+@@ -34,7 +34,8 @@
+
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include <libart_lgpl/art_misc.h>
+ #include <libart_lgpl/art_rect.h>
diff --git a/graphics/librsvg/files/patch-test-ft.c b/graphics/librsvg/files/patch-test-ft.c
new file mode 100644
index 000000000000..97f323bdb70e
--- /dev/null
+++ b/graphics/librsvg/files/patch-test-ft.c
@@ -0,0 +1,12 @@
+--- test-ft.c.orig Mon Mar 22 23:17:54 2004
++++ test-ft.c Mon Mar 22 23:18:06 2004
+@@ -30,7 +30,8 @@
+
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include <libart_lgpl/art_misc.h>
+ #include <libart_lgpl/art_rect.h>