summaryrefslogtreecommitdiffstats
path: root/devel/lasi
diff options
context:
space:
mode:
Diffstat (limited to 'devel/lasi')
-rw-r--r--devel/lasi/Makefile2
-rw-r--r--devel/lasi/files/patch-include_LASi.h12
-rw-r--r--devel/lasi/files/patch-src_drawGlyph.cpp12
-rw-r--r--devel/lasi/files/patch-src_drawGlyph.h12
-rw-r--r--devel/lasi/files/patch-src_glyphMgr.cpp12
-rw-r--r--devel/lasi/files/patch-src_glyphMgr.h12
-rw-r--r--devel/lasi/files/patch-src_util.h11
7 files changed, 72 insertions, 1 deletions
diff --git a/devel/lasi/Makefile b/devel/lasi/Makefile
index 0b74f6f..7f4f39f 100644
--- a/devel/lasi/Makefile
+++ b/devel/lasi/Makefile
@@ -4,7 +4,7 @@
PORTNAME= lasi
PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source
DISTNAME= libLASi-${PORTVERSION}
diff --git a/devel/lasi/files/patch-include_LASi.h b/devel/lasi/files/patch-include_LASi.h
new file mode 100644
index 0000000..613b5c7
--- /dev/null
+++ b/devel/lasi/files/patch-include_LASi.h
@@ -0,0 +1,12 @@
+--- include/LASi.h.orig 2013-12-13 10:12:32.000000000 +0100
++++ include/LASi.h 2013-12-13 10:14:20.000000000 +0100
+@@ -11,7 +11,8 @@
+ #include <sstream>
+ #include <map>
+ #include <pango/pango.h>
+-#include <freetype/ftglyph.h>
++#include <ft2build.h>
++#include FT_GLYPH_H
+
+ class FreetypeGlyphMgr;
+ class ContextMgr;
diff --git a/devel/lasi/files/patch-src_drawGlyph.cpp b/devel/lasi/files/patch-src_drawGlyph.cpp
new file mode 100644
index 0000000..1ce9a4c
--- /dev/null
+++ b/devel/lasi/files/patch-src_drawGlyph.cpp
@@ -0,0 +1,12 @@
+--- src/drawGlyph.cpp.orig 2013-12-13 10:13:26.000000000 +0100
++++ src/drawGlyph.cpp 2013-12-13 10:15:19.000000000 +0100
+@@ -6,7 +6,8 @@
+ */
+
+ #include <ostream>
+-#include <freetype/ftoutln.h>
++#include <ft2build.h>
++#include FT_OUTLINE_H
+ #include <algorithm>
+ #include <LASi.h>
+ #include <config.h>
diff --git a/devel/lasi/files/patch-src_drawGlyph.h b/devel/lasi/files/patch-src_drawGlyph.h
new file mode 100644
index 0000000..cb174aa
--- /dev/null
+++ b/devel/lasi/files/patch-src_drawGlyph.h
@@ -0,0 +1,12 @@
+--- src/drawGlyph.h.orig 2013-12-13 10:13:05.000000000 +0100
++++ src/drawGlyph.h 2013-12-13 10:15:40.000000000 +0100
+@@ -10,7 +10,8 @@
+
+ #include <iostream>
+ #include <pango/pango.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ /** Generate the Postscript commands to draw the glyph
+ * using the font in pPangoCtx.
diff --git a/devel/lasi/files/patch-src_glyphMgr.cpp b/devel/lasi/files/patch-src_glyphMgr.cpp
new file mode 100644
index 0000000..426821e
--- /dev/null
+++ b/devel/lasi/files/patch-src_glyphMgr.cpp
@@ -0,0 +1,12 @@
+--- src/glyphMgr.cpp.orig 2013-12-13 10:13:39.000000000 +0100
++++ src/glyphMgr.cpp 2013-12-13 10:17:39.000000000 +0100
+@@ -10,8 +10,7 @@
+
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+-
+-#include <freetype/ftglyph.h>
++#include FT_GLYPH_H
+
+ #include <cassert>
+ #include "util.h"
diff --git a/devel/lasi/files/patch-src_glyphMgr.h b/devel/lasi/files/patch-src_glyphMgr.h
new file mode 100644
index 0000000..23afe4b
--- /dev/null
+++ b/devel/lasi/files/patch-src_glyphMgr.h
@@ -0,0 +1,12 @@
+--- src/glyphMgr.h.orig 2013-12-13 10:13:45.000000000 +0100
++++ src/glyphMgr.h 2013-12-13 10:17:50.000000000 +0100
+@@ -15,8 +15,7 @@
+
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+-
+-#include <freetype/ftglyph.h>
++#include FT_GLYPH_H
+
+ /** Manage FT_Glyph by insuring that FT_Glyph is handled correctly.
+ */
diff --git a/devel/lasi/files/patch-src_util.h b/devel/lasi/files/patch-src_util.h
new file mode 100644
index 0000000..567da58
--- /dev/null
+++ b/devel/lasi/files/patch-src_util.h
@@ -0,0 +1,11 @@
+--- src/util.h.orig 2013-12-13 10:13:16.000000000 +0100
++++ src/util.h 2013-12-13 10:17:01.000000000 +0100
+@@ -18,7 +18,7 @@
+
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+-#include <freetype/ftglyph.h>
++#include FT_GLYPH_H
+
+ std::ostream& operator<<(std::ostream&, const FT_Library);
+ std::ostream& operator<<(std::ostream&, const FT_Face);
OpenPOWER on IntegriCloud