- Use external libtiff. - Unmark FORBIDDEN. - Unmark BROKEN since it seems to work on FreeBSD 6.X+ and !i386 now (at least the platforms I could test). Initial upgrade work by: fenner
22 lines
547 B
C
22 lines
547 B
C
|
|
$FreeBSD$
|
|
|
|
--- src/ComTerp/comterp.c.orig
|
|
+++ src/ComTerp/comterp.c
|
|
@@ -74,6 +74,7 @@
|
|
#if __GNUC__>=3
|
|
#include <fstream.h>
|
|
#endif
|
|
+#include <errno.h>
|
|
|
|
#define TITLE "ComTerp"
|
|
#define STREAM_MECH
|
|
@@ -896,7 +897,7 @@
|
|
fbuf.attach(fd);
|
|
} else
|
|
fbuf.attach(fileno(stdout));
|
|
-#elif (__GNUC__==3 && __GNUC_MINOR__<1) || __GNUC__>3
|
|
+#elif (__GNUC__==3 && __GNUC_MINOR__<1) || __GNUC__>3 || defined(__FreeBSD__)
|
|
fileptr_filebuf fbuf(handler() && handler()->wrfptr()
|
|
? handler()->wrfptr() : stdout,
|
|
ios_base::out);
|