wok view ruby-ncurses/stuff/ruby-ncurses-fix-missing-tz-prototypes.patch @ rev 17157

syslinux: fix rockridge (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 15 23:31:45 2014 +0200 (2014-09-15)
parents
children
line source
1 From d3e59724601b2aabb231f2e12e16ebf00ba79ab1 Mon Sep 17 00:00:00 2001
2 From: Caleb Marble <cm@marblenix.com>
3 Date: Sun, 2 Mar 2014 13:53:05 -0600
4 Subject: [PATCH] modified: ext/ncurses/ncurses_wrap.h
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Fixes the following compiler error:
11 ext/ncurses/ncurses_wrap.c: In function ‘rbncurshelper_nonblocking_wgetch’:
12 ext/ncurses/ncurses_wrap.c:807:12: error: variable ‘tz’ has initializer but incomplete type
13 struct timezone tz = {0,0};
15 Also closes #6
16 ---
17 ncurses_wrap.h | 1 +
18 1 file changed, 1 insertion(+)
20 diff --git a/ncurses_wrap.h b/ncurses_wrap.h
21 index 85da4f8..92583c0 100644
22 --- a/ncurses_wrap.h
23 +++ b/ncurses_wrap.h
24 @@ -84,6 +84,7 @@ int close(int);
25 #endif
27 #include <ruby.h>
28 +#include <sys/time.h>
30 extern VALUE mNcurses; /* module Ncurses */
31 extern VALUE cWINDOW; /* class Ncurses::WINDOW */
32 --
33 1.9.1