Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 16 years ago
parent
commit
f0f7e1bda5
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      package/base/ncurses/hotfix-gcc43.patch

+ 20
- 0
package/base/ncurses/hotfix-gcc43.patch

@ -0,0 +1,20 @@
--- ./c++/etip.h.in.orig 2008-06-07 10:44:43.000000000 +0200
+++ ./c++/etip.h.in 2008-06-07 10:46:43.000000000 +0200
@@ -335,7 +335,7 @@
};
#if !((defined(__GNUG__) && defined(__EXCEPTIONS)) || defined(__SUNPRO_CC))
-# include <iostream.h>
+# include <iostream>
extern "C" void exit(int);
#endif
@@ -354,7 +354,7 @@
#endif
#else
if (e)
- cerr << e->message << endl;
+ std::cerr << e->message << std::endl;
exit(0);
#endif
}

Loading…
Cancel
Save