]> git.pld-linux.org Git - packages/ruby-ncurses.git/blame - ruby-ncurses-fix-missing-tz-prototypes.patch
- rebuild with ruby 2.4
[packages/ruby-ncurses.git] / ruby-ncurses-fix-missing-tz-prototypes.patch
CommitLineData
07ec780d
ER
1From d3e59724601b2aabb231f2e12e16ebf00ba79ab1 Mon Sep 17 00:00:00 2001
2From: Caleb Marble <cm@marblenix.com>
3Date: Sun, 2 Mar 2014 13:53:05 -0600
4Subject: [PATCH] modified: ext/ncurses/ncurses_wrap.h
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Fixes the following compiler error:
10
11ext/ncurses/ncurses_wrap.c: In function ‘rbncurshelper_nonblocking_wgetch’:
12ext/ncurses/ncurses_wrap.c:807:12: error: variable ‘tz’ has initializer but incomplete type
13 struct timezone tz = {0,0};
14
15Also closes #6
16---
17 ncurses_wrap.h | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/ncurses_wrap.h b/ncurses_wrap.h
21index 85da4f8..92583c0 100644
22--- a/ncurses_wrap.h
23+++ b/ncurses_wrap.h
24@@ -84,6 +84,7 @@ int close(int);
25 #endif
26
27 #include <ruby.h>
28+#include <sys/time.h>
29
30 extern VALUE mNcurses; /* module Ncurses */
31 extern VALUE cWINDOW; /* class Ncurses::WINDOW */
32--
331.9.1
34
This page took 0.025982 seconds and 4 git commands to generate.