aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-05-05 09:49:37 +0800
committerjbeich <jbeich@FreeBSD.org>2015-05-05 09:49:37 +0800
commit4087f27ee45be5b50635e8f7336935915ad137fa (patch)
tree5074f9df43f2e11706cb5c6e38c3ab0b30df1c4d /math
parent14c23102cf4167e27b4eecd37ba7406c05e845ce (diff)
downloadfreebsd-ports-gnome-4087f27ee45be5b50635e8f7336935915ad137fa.tar.gz
freebsd-ports-gnome-4087f27ee45be5b50635e8f7336935915ad137fa.tar.zst
freebsd-ports-gnome-4087f27ee45be5b50635e8f7336935915ad137fa.zip
math/fityk: unbreak build on 8.x
r385070 exposed another issue: In file included from ceria.cpp:4:0: ceria.h:52:23: error: 'FILE' was not declared in this scope CelFile read_cel_file(FILE* f); ^ ceria.h:52:29: error: 'f' was not declared in this scope CelFile read_cel_file(FILE* f); ^ ceria.h:53:41: error: 'FILE' has not been declared void write_cel_file(CelFile const& cel, FILE* f); ^ ceria.cpp: In function 'CelFile read_cel_file(FILE*)': ceria.cpp:719:30: error: 'CelFile read_cel_file(FILE*)' redeclared as different kind of symbol CelFile read_cel_file(FILE *f) ^ In file included from ceria.cpp:4:0: ceria.h:52:9: error: previous declaration of 'CelFile read_cel_file' CelFile read_cel_file(FILE* f); ^ Reported by: pkg-fallout Approved by: portmgr blanket
Diffstat (limited to 'math')
-rw-r--r--math/fityk/files/patch-src__wxgui__ceria.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/fityk/files/patch-src__wxgui__ceria.h b/math/fityk/files/patch-src__wxgui__ceria.h
new file mode 100644
index 000000000000..8a6825088043
--- /dev/null
+++ b/math/fityk/files/patch-src__wxgui__ceria.h
@@ -0,0 +1,10 @@
+--- src/wxgui/ceria.h.orig 2011-06-03 17:15:42 UTC
++++ src/wxgui/ceria.h
+@@ -4,6 +4,7 @@
+ #ifndef FITYK_WX_CERIA_H_
+ #define FITYK_WX_CERIA_H_
+
++#include <stdio.h>
+ #include <vector>
+ #include <string>
+ #include "atomtables.h"