source: trunk/dports/graphics/vtk/files/patch-vtkOSXRenderingTclInit.c @ 21483

Last change on this file since 21483 was 21483, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 433 bytes
Line 
1--- Rendering/vtkOSXRenderingTclInit.c.orig     2006-02-12 20:38:43.000000000 -0600
2+++ Rendering/vtkOSXRenderingTclInit.2006-02-12 20:40:22.000000000 -0600
3@@ -1,8 +1,10 @@
4 //-----  This hack needed to compile using gcc3 on OSX until new stdc++.dylib
5+#if defined(__APPLE_CC__) && (__GNUC__ == 3)
6 #include <stdio.h>
7 void oft_initRenOSXInit() 
8 {
9   extern void _ZNSt8ios_base4InitC4Ev();
10   _ZNSt8ios_base4InitC4Ev();
11 }
12+#endif
13 
Note: See TracBrowser for help on using the repository browser.