freebsd-ports/devel/ddd/files/extra-patch-ddd::streampos.h
Mario Sergio Fujikawa Ferreira acf1b7ba86 Fix build in 5.x branch: configure is not detecting streampos
correctly, circumvent that. Provide a proper auto* tools related
solution later

PR:		52983
Submitted by:	David Yeske <dyeske@yahoo.com>
2003-06-09 18:27:33 +00:00

12 lines
249 B
C

--- ddd/streampos.h.orig Mon Jan 17 09:53:42 2000
+++ ddd/streampos.h Fri Jun 6 03:49:41 2003
@@ -40,7 +40,9 @@
#include "config.h"
#if !HAVE_STREAMPOS
+#ifndef __FreeBSD__
typedef long streampos;
+#endif
#endif
#endif // _DDD_streampos_h