Ticket #19482: erlang-r13b-wx.diff
File erlang-r13b-wx.diff, 4.9 KB (added by nottwo (Trannie Carter), 16 years ago) |
---|
-
dports/lang/erlang/Portfile
diff --git a/dports/lang/erlang/Portfile b/dports/lang/erlang/Portfile index b3eaaa8..e3d7f4d 100644
a b 3 3 PortSystem 1.0 4 4 name erlang 5 5 version R13B 6 revision 26 revision 3 7 7 categories lang erlang 8 8 maintainers bfulgham@macports.org 9 9 platforms darwin … … patchfiles patch-toolbar.erl \ 58 58 patch-lib_ssl_c_src_Makefile.in \ 59 59 patch-decode_big.c.diff \ 60 60 patch-decode_fun.c.diff \ 61 patch-erts_configure.diff 61 patch-erts_configure.diff \ 62 patch-lib_wx_configure.in \ 63 patch-lib_wx_configure 62 64 63 65 configure.args --prefix=${destroot}${prefix} \ 64 66 --enable-kernel-poll \ -
new file dports/lang/erlang/files/patch-lib_wx_configure
diff --git a/dports/lang/erlang/files/patch-lib_wx_configure b/dports/lang/erlang/files/patch-lib_wx_configure new file mode 100644 index 0000000..557549f
- + 1 --- lib/wx/configure.orig 2009-05-05 11:06:59.000000000 -0400 2 +++ lib/wx/configure 2009-05-05 11:09:13.000000000 -0400 3 @@ -4872,10 +4872,10 @@ 4 #ifdef WIN32 5 # include <windows.h> 6 # include <gl/gl.h> 7 - #elif defined(HAVE_GL_GL_H) 8 - # include <GL/gl.h> 9 #elif defined(HAVE_OPENGL_GL_H) 10 # include <OpenGL/gl.h> 11 + #elif defined(HAVE_GL_GL_H) 12 + # include <GL/gl.h> 13 #endif 14 15 16 @@ -4945,10 +4945,10 @@ 17 #ifdef WIN32 18 # include <windows.h> 19 # include <gl/gl.h> 20 - #elif defined(HAVE_GL_GL_H) 21 - # include <GL/gl.h> 22 #elif defined(HAVE_OPENGL_GL_H) 23 # include <OpenGL/gl.h> 24 + #elif defined(HAVE_GL_GL_H) 25 + # include <GL/gl.h> 26 #endif 27 28 29 @@ -5018,10 +5018,10 @@ 30 #ifdef WIN32 31 # include <windows.h> 32 # include <gl/gl.h> 33 - #elif defined(HAVE_GL_GL_H) 34 - # include <GL/gl.h> 35 #elif defined(HAVE_OPENGL_GL_H) 36 # include <OpenGL/gl.h> 37 + #elif defined(HAVE_GL_GL_H) 38 + # include <GL/gl.h> 39 #endif 40 41 42 @@ -5091,10 +5091,10 @@ 43 #ifdef WIN32 44 # include <windows.h> 45 # include <gl/gl.h> 46 - #elif defined(HAVE_GL_GL_H) 47 - # include <GL/gl.h> 48 #elif defined(HAVE_OPENGL_GL_H) 49 # include <OpenGL/gl.h> 50 + #elif defined(HAVE_GL_GL_H) 51 + # include <GL/gl.h> 52 #endif 53 54 55 @@ -5164,10 +5164,10 @@ 56 #ifdef WIN32 57 # include <windows.h> 58 # include <gl/gl.h> 59 - #elif defined(HAVE_GL_GL_H) 60 - # include <GL/gl.h> 61 #elif defined(HAVE_OPENGL_GL_H) 62 # include <OpenGL/gl.h> 63 + #elif defined(HAVE_GL_GL_H) 64 + # include <GL/gl.h> 65 #endif 66 67 68 @@ -5237,10 +5237,10 @@ 69 #ifdef WIN32 70 # include <windows.h> 71 # include <gl/gl.h> 72 - #elif defined(HAVE_GL_GL_H) 73 - # include <GL/gl.h> 74 #elif defined(HAVE_OPENGL_GL_H) 75 # include <OpenGL/gl.h> 76 + #elif defined(HAVE_GL_GL_H) 77 + # include <GL/gl.h> 78 #endif 79 80 81 @@ -5320,10 +5320,10 @@ 82 #ifdef WIN32 83 # include <windows.h> 84 # include <gl/glu.h> 85 - #elif defined(HAVE_GL_GL_H) 86 - # include <GL/glu.h> 87 #elif defined(HAVE_OPENGL_GL_H) 88 # include <OpenGL/glu.h> 89 + #elif defined(HAVE_GL_GL_H) 90 + # include <GL/glu.h> 91 #endif 92 #ifndef CALLBACK 93 # define CALLBACK -
new file dports/lang/erlang/files/patch-lib_wx_configure.in
diff --git a/dports/lang/erlang/files/patch-lib_wx_configure.in b/dports/lang/erlang/files/patch-lib_wx_configure.in new file mode 100644 index 0000000..9a2b985
- + 1 --- lib/wx/configure.in.orig 2009-05-05 16:04:51.000000000 -0400 2 +++ lib/wx/configure.in 2009-05-05 16:06:10.000000000 -0400 3 @@ -363,10 +363,10 @@ 4 [#ifdef WIN32 5 # include <windows.h> 6 # include <gl/gl.h> 7 - #elif defined(HAVE_GL_GL_H) 8 - # include <GL/gl.h> 9 #elif defined(HAVE_OPENGL_GL_H) 10 # include <OpenGL/gl.h> 11 + #elif defined(HAVE_GL_GL_H) 12 + # include <GL/gl.h> 13 #endif 14 ]) 15 16 @@ -381,10 +381,10 @@ 17 #ifdef WIN32 18 # include <windows.h> 19 # include <gl/glu.h> 20 - #elif defined(HAVE_GL_GL_H) 21 - # include <GL/glu.h> 22 #elif defined(HAVE_OPENGL_GL_H) 23 # include <OpenGL/glu.h> 24 + #elif defined(HAVE_GL_GL_H) 25 + # include <GL/glu.h> 26 #endif 27 #ifndef CALLBACK 28 # define CALLBACK 29 @@ -431,10 +431,10 @@ 30 #ifdef WIN32 31 # include <windows.h> 32 # include <gl/gl.h> 33 - #elif defined(HAVE_GL_GL_H) 34 - # include <GL/gl.h> 35 #elif defined(HAVE_OPENGL_GL_H) 36 # include <OpenGL/gl.h> 37 + #elif defined(HAVE_GL_GL_H) 38 + # include <GL/gl.h> 39 #endif 40 #include "wx/wx.h" 41 #include "wx/stc/stc.h"