diff options
Diffstat (limited to 'graphics/ivtools/patches/patch-ak')
-rw-r--r-- | graphics/ivtools/patches/patch-ak | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/ivtools/patches/patch-ak b/graphics/ivtools/patches/patch-ak index fca87f18c76..166386bfa5c 100644 --- a/graphics/ivtools/patches/patch-ak +++ b/graphics/ivtools/patches/patch-ak @@ -1,13 +1,13 @@ -$NetBSD: patch-ak,v 1.3 2007/02/15 18:26:15 joerg Exp $ +$NetBSD: patch-ak,v 1.4 2010/04/05 22:52:23 markd Exp $ ---- src/ComTerp/comterp.c.orig 2007-02-15 16:01:11.000000000 +0000 +--- src/ComTerp/comterp.c.orig 2009-09-08 03:18:15.000000000 +0000 +++ src/ComTerp/comterp.c -@@ -899,7 +899,7 @@ int ComTerp::run(boolean one_expr, boole +@@ -999,7 +999,7 @@ int ComTerp::run(boolean one_expr, boole fbuf.attach(fd); } else fbuf.attach(fileno(stdout)); --#elif (__GNUC__==3 && __GNUC_MINOR__<1) || __GNUC__>3 -+#elif (__GNUC__==3 && (__GNUC_MINOR__<1 || __GNUC_MINOR__ >= 4)) || __GNUC__>3 +-#elif (__GNUC__==3 && __GNUC_MINOR__<1) || __GNUC__>3 || defined(__CYGWIN__) ++#elif (__GNUC__==3 && (__GNUC_MINOR__<1 || __GNUC_MINOR__ >= 4)) || __GNUC__>3 || defined(__CYGWIN__) fileptr_filebuf fbuf(handler() && handler()->wrfptr() ? handler()->wrfptr() : stdout, ios_base::out); |