mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 19:30:47 -04:00
14 lines
583 B
Plaintext
14 lines
583 B
Plaintext
$NetBSD: patch-ak,v 1.4 2010/04/05 22:52:23 markd Exp $
|
|
|
|
--- src/ComTerp/comterp.c.orig 2009-09-08 03:18:15.000000000 +0000
|
|
+++ src/ComTerp/comterp.c
|
|
@@ -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 || 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);
|