summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-08-02 04:23:57 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-08-02 13:48:36 +0000
commitf8c042ae7c7ae2e8bf7a96f1a0e1ae373b6436b8 (patch)
treecfd22d3ba2580c654c166128fac7ac53d0c80886 /sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch
parentdev-lang/swi-prolog: bump 7.5 development version (diff)
downloadgentoo-f8c042ae7c7ae2e8bf7a96f1a0e1ae373b6436b8.tar.gz
gentoo-f8c042ae7c7ae2e8bf7a96f1a0e1ae373b6436b8.tar.bz2
gentoo-f8c042ae7c7ae2e8bf7a96f1a0e1ae373b6436b8.zip
sci-astronomy/montage: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch')
-rw-r--r--sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch b/sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch
new file mode 100644
index 000000000000..42fd94950b84
--- /dev/null
+++ b/sci-astronomy/montage/files/montage-5.0-fix_freetype_incude.patch
@@ -0,0 +1,35 @@
+From: Ole Streicher <olebole@debian.org>
+Date: Thu, 22 Dec 2016 14:24:44 +0100
+Subject: Fix freetype include path
+
+---
+ MontageLib/Viewer/mViewer_graphics.c | 2 +-
+ util/Viewer/graphics.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/MontageLib/Viewer/mViewer_graphics.c b/MontageLib/Viewer/mViewer_graphics.c
+index 932ca5f..a50281d 100644
+--- a/MontageLib/Viewer/mViewer_graphics.c
++++ b/MontageLib/Viewer/mViewer_graphics.c
+@@ -1,7 +1,7 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <freetype2/ft2build.h>
+-#include <freetype.h>
++#include FT_FREETYPE_H
+
+ void mViewer_labeledCurve (char *face_path, int fontsize, int showLine,
+ double *xcurve, double *ycurve, int npt,
+diff --git a/util/Viewer/graphics.c b/util/Viewer/graphics.c
+index 6bb7d8d..f7a5215 100644
+--- a/util/Viewer/graphics.c
++++ b/util/Viewer/graphics.c
+@@ -1,7 +1,7 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <freetype2/ft2build.h>
+-#include <freetype.h>
++#include FT_FREETYPE_H
+
+ void labeled_curve (char *face_path, int fontsize, int showLine,
+ double *xcurve, double *ycurve, int npt,