summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/lapack-atlas/files/unbuffered.patch')
-rw-r--r--sci-libs/lapack-atlas/files/unbuffered.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-libs/lapack-atlas/files/unbuffered.patch b/sci-libs/lapack-atlas/files/unbuffered.patch
new file mode 100644
index 000000000000..893680ac220f
--- /dev/null
+++ b/sci-libs/lapack-atlas/files/unbuffered.patch
@@ -0,0 +1,16 @@
+*** ATLAS/config.c Mon Dec 22 15:06:32 2003
+--- ATLAS_modif/config.c Fri Sep 9 19:45:37 2005
+***************
+*** 4364,4369 ****
+--- 4364,4374 ----
+ char UCDEF[256];
+ enum MACHTYPE mach;
+
++ /* Workaround for occasional hanging during emerge.*/
++
++ setbuf(stdout, 0);
++ setbuf(stdin, 0);
++
+ flag = GetFlags(nargs, args, &mach, &ncpu, UCDEF, TOPdir, ARCH, blaslib,
+ CC, CCFLAGS, F77, F77FLAGS, MCC, MMFLAGS, GOODGCC,
+ XCC, XCCFLAGS);