wok diff ruby-ncurses/stuff/ruby-ncurses-fix-missing-tz-prototypes.patch @ rev 23401
updated perl-test-pod-coverage (1.08 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:42:48 2020 +0100 (2020-03-31) |
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 Tue Mar 31 17:42:48 2020 +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 +