Browse files

add patches to fix compilation of 1.9.3 and 2.0.0 on cygwin, fix #2632

  • Loading branch information...
1 parent cee676f commit 521fdedda9666338a4d403f78d5f75897156b592 @mpapis mpapis committed Feb 20, 2014
Showing with 14 additions and 0 deletions.
  1. +12 −0 patches/ruby/GH-433.patch
  2. +1 −0 patchsets/ruby/1.9.3/cygwin
  3. +1 −0 patchsets/ruby/2.0.0/cygwin
View
12 patches/ruby/GH-433.patch
@@ -0,0 +1,12 @@
+diff --git a/file.c b/file.c
+index 3b0cd67..56f2b50 100644
+--- a/file.c
++++ b/file.c
+@@ -4301,7 +4301,6 @@ struct utimbuf {
+
+ #ifdef __CYGWIN__
+ #include <winerror.h>
+-extern unsigned long __attribute__((stdcall)) GetLastError(void);
+ #endif
+
+ static VALUE
View
1 patchsets/ruby/1.9.3/cygwin
@@ -0,0 +1 @@
+GH-433
View
1 patchsets/ruby/2.0.0/cygwin
@@ -0,0 +1 @@
+GH-433

0 comments on commit 521fded

Please sign in to comment.