summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1174
diff options
context:
space:
mode:
Diffstat (limited to 'data/vim/patches/8.1.1174')
-rw-r--r--data/vim/patches/8.1.117456
1 files changed, 56 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.1174 b/data/vim/patches/8.1.1174
new file mode 100644
index 000000000..067c0e94b
--- /dev/null
+++ b/data/vim/patches/8.1.1174
@@ -0,0 +1,56 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 8.1.1174
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 8.1.1174
+Problem: Cannot build with Ruby 1.8. (Tom G. Christensen)
+Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257)
+Files: src/if_ruby.c
+
+
+*** ../vim-8.1.1173/src/if_ruby.c 2019-03-30 18:46:57.352077376 +0100
+--- src/if_ruby.c 2019-04-14 19:32:16.590815373 +0200
+***************
+*** 118,125 ****
+ #ifdef RUBY19_OR_LATER
+ # include <ruby/encoding.h>
+ #endif
+
+! #undef off_t /* ruby defines off_t as _int64, Mingw uses long */
+ #undef EXTERN
+ #undef _
+
+--- 118,128 ----
+ #ifdef RUBY19_OR_LATER
+ # include <ruby/encoding.h>
+ #endif
++ #ifndef RUBY19_OR_LATER
++ # include <st.h> // for ST_STOP and ST_CONTINUE
++ #endif
+
+! #undef off_t // ruby defines off_t as _int64, Mingw uses long
+ #undef EXTERN
+ #undef _
+
+*** ../vim-8.1.1173/src/version.c 2019-04-14 14:31:07.040828452 +0200
+--- src/version.c 2019-04-14 19:33:30.346401011 +0200
+***************
+*** 773,774 ****
+--- 773,776 ----
+ { /* Add new patch number below this line */
++ /**/
++ 1174,
+ /**/
+
+--
+Ten bugs in the hand is better than one as yet undetected.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///