wok diff ruby-ncurses/stuff/ruby-ncurses-fix-missing-tz-prototypes.patch @ rev 19561
fusecloop: fix create_compressed_fs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 16 10:45:18 2016 +0100 (2016-12-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-ncurses/stuff/ruby-ncurses-fix-missing-tz-prototypes.patch Fri Dec 16 10:45:18 2016 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +From d3e59724601b2aabb231f2e12e16ebf00ba79ab1 Mon Sep 17 00:00:00 2001 1.5 +From: Caleb Marble <cm@marblenix.com> 1.6 +Date: Sun, 2 Mar 2014 13:53:05 -0600 1.7 +Subject: [PATCH] modified: ext/ncurses/ncurses_wrap.h 1.8 +MIME-Version: 1.0 1.9 +Content-Type: text/plain; charset=UTF-8 1.10 +Content-Transfer-Encoding: 8bit 1.11 + 1.12 +Fixes the following compiler error: 1.13 + 1.14 +ext/ncurses/ncurses_wrap.c: In function ‘rbncurshelper_nonblocking_wgetch’: 1.15 +ext/ncurses/ncurses_wrap.c:807:12: error: variable ‘tz’ has initializer but incomplete type 1.16 + struct timezone tz = {0,0}; 1.17 + 1.18 +Also closes #6 1.19 +--- 1.20 + ncurses_wrap.h | 1 + 1.21 + 1 file changed, 1 insertion(+) 1.22 + 1.23 +diff --git a/ncurses_wrap.h b/ncurses_wrap.h 1.24 +index 85da4f8..92583c0 100644 1.25 +--- a/ncurses_wrap.h 1.26 ++++ b/ncurses_wrap.h 1.27 +@@ -84,6 +84,7 @@ int close(int); 1.28 + #endif 1.29 + 1.30 + #include <ruby.h> 1.31 ++#include <sys/time.h> 1.32 + 1.33 + extern VALUE mNcurses; /* module Ncurses */ 1.34 + extern VALUE cWINDOW; /* class Ncurses::WINDOW */ 1.35 +-- 1.36 +1.9.1 1.37 +