freebsd-ports/graphics/rawtherapee/files/patch-rtengine_myfile.h
Ruslan Makhmatkhanov 89580fdbcc - update to 4.0.7
- switch to GOOGLE_CODE as distfiles mirror
- switch to USE_XZ
- add two upstream patches (patch-rtengine-CA__correct__RT.c and
  patch-rtengine_array2D.h) [1]
  to fix build on i386. They should be removed after release of 4.0.8.
- add patch (patch-rtengine_improcfun.h) to fix build on log2()-less systems
  (~everything<=8.3)
- some cosmetics

It would be great if someone with access to ia64, powerpc, sparc64 could confirm
that it still failing there.

[1] http://code.google.com/p/rawtherapee/source/detail?r=4b5ae9eb4000ce5eb8e8939343da4d8f4ee4a36d

Feature safe:	yes
2012-03-30 19:52:21 +00:00

11 lines
272 B
C

--- ./rtengine/myfile.h.orig 2012-01-31 05:00:05.000000000 +0400
+++ ./rtengine/myfile.h 2012-03-29 19:28:04.000000000 +0400
@@ -22,6 +22,8 @@
#include <glib/gstdio.h>
#include <cstdio>
#include <cstring>
+#undef feof
+#undef getc
struct IMFILE {
int fd;
int pos;