opnsense-ports/print/lyx/files/patch-src__Thesaurus.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
351 B
C++

Build fix for gcc 4.5+, which complains about FILE not being defined in
mythes.hxx.
--- src/Thesaurus.cpp.orig 2012-12-25 17:28:52.000000000 +0200
+++ src/Thesaurus.cpp 2012-12-25 17:29:18.000000000 +0200
@@ -24,6 +24,7 @@
#include "support/os.h"
#ifdef USE_EXTERNAL_MYTHES
+#include <cstdio>
#include MYTHES_H_LOCATION
#else
#include <cstdio>