aboutsummaryrefslogtreecommitdiffstats
path: root/databases/grass
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-23 02:39:12 +0800
committermarcus <marcus@FreeBSD.org>2004-03-23 02:39:12 +0800
commit91b9b12371e87de84a904c9762f88822e079d0d5 (patch)
tree07627c0389a6f8d96994d668e56c76cea44c2d1b /databases/grass
parent671b73c58ed95a7e8c2609cb0c32ce6012a8d460 (diff)
downloadfreebsd-ports-gnome-91b9b12371e87de84a904c9762f88822e079d0d5.tar.gz
freebsd-ports-gnome-91b9b12371e87de84a904c9762f88822e079d0d5.tar.zst
freebsd-ports-gnome-91b9b12371e87de84a904c9762f88822e079d0d5.zip
Fix build with freetype2-2.1.7.
Reported by: bento via kris
Diffstat (limited to 'databases/grass')
-rw-r--r--databases/grass/files/patch-configure.in13
-rw-r--r--databases/grass/files/patch-src_display_d.text.freetype_main.c12
-rw-r--r--databases/grass/files/patch-src_display_d.text.freetype_vflib_main.c12
3 files changed, 35 insertions, 2 deletions
diff --git a/databases/grass/files/patch-configure.in b/databases/grass/files/patch-configure.in
index aa1e4b63cc1e..b67abb9dbe8e 100644
--- a/databases/grass/files/patch-configure.in
+++ b/databases/grass/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig Sun Mar 16 21:25:19 2003
-+++ configure.in Thu Oct 9 23:00:51 2003
+--- configure.in.orig Sun Mar 16 07:25:19 2003
++++ configure.in Mon Mar 22 13:35:29 2004
@@ -295,7 +295,7 @@
AC_MSG_ERROR([*** You must supply a directory list to --with-libs.])
;;
@@ -27,3 +27,12 @@
LOC_CHECK_LIBS(GLU,gluBeginCurve,GLU,$OPENGL_LIB_PATH,OPENGLULIB,$OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB,,,-lstdc++)
+@@ -1054,7 +1054,7 @@
+
+ LOC_CHECK_INC_PATH(freetype,FreeType,FTINC)
+
+-LOC_CHECK_INCLUDES(freetype/freetype.h,FreeType,$FTINC)
++LOC_CHECK_INCLUDES(ft2build.h,FreeType,$FTINC)
+
+ # With FreeType library directory
+
diff --git a/databases/grass/files/patch-src_display_d.text.freetype_main.c b/databases/grass/files/patch-src_display_d.text.freetype_main.c
new file mode 100644
index 000000000000..1cf4e90da262
--- /dev/null
+++ b/databases/grass/files/patch-src_display_d.text.freetype_main.c
@@ -0,0 +1,12 @@
+--- src/display/d.text.freetype/main.c.orig Mon Mar 22 13:36:09 2004
++++ src/display/d.text.freetype/main.c Mon Mar 22 13:36:46 2004
+@@ -28,7 +28,8 @@
+ #ifdef HAVE_ICONV_H
+ #include <iconv.h>
+ #endif
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include "gis.h"
+ #include "display.h"
+ #include "raster.h"
diff --git a/databases/grass/files/patch-src_display_d.text.freetype_vflib_main.c b/databases/grass/files/patch-src_display_d.text.freetype_vflib_main.c
new file mode 100644
index 000000000000..1a98b6b6aab6
--- /dev/null
+++ b/databases/grass/files/patch-src_display_d.text.freetype_vflib_main.c
@@ -0,0 +1,12 @@
+--- src/display/d.text.freetype/vflib/main.c.orig Mon Mar 22 13:37:39 2004
++++ src/display/d.text.freetype/vflib/main.c Mon Mar 22 13:37:50 2004
+@@ -31,7 +31,8 @@
+ #endif
+
+ #ifndef VFlib
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #else
+ #include <VFlib-3_6.h>
+ #endif