Zap unneeded patch

This commit is contained in:
dcoppa 2015-02-08 16:29:48 +00:00
parent f381500209
commit a2ad829019
2 changed files with 2 additions and 24 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.27 2015/01/29 10:39:10 dcoppa Exp $
# $OpenBSD: Makefile,v 1.28 2015/02/08 16:29:48 dcoppa Exp $
COMMENT = ncurses mpd client inspired by ncmpc
BROKEN-alpha = error: looser throw specifier for 'virtual OutOfBounds::~OutOfBounds()
BROKEN-hppa = bindings.h:85:4: error: type 'Binding' is not a direct base of 'Binding'
DISTNAME = ncmpcpp-0.6.2
REVISION = 0
REVISION = 1
EXTRACT_SUFX = .tar.bz2

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-src_window_cpp,v 1.1 2014/11/04 10:52:25 dcoppa Exp $
commit 7e2900511cfa8a41984144b1be03d8108abd8798
Author: Andrzej Rybczak <electricityispower@gmail.com>
Date: Sat Nov 1 01:02:46 2014 +0100
window: initScreen: initialize readline
this fixes segmentation fault in rl_resize_terminal on SIGWINCH.
--- src/window.cpp.orig Sat Oct 25 17:16:07 2014
+++ src/window.cpp Tue Nov 4 10:57:48 2014
@@ -392,6 +392,9 @@ void initScreen(GNUC_UNUSED const char *window_title,
rl_getc_function = rl::read_key;
rl_redisplay_function = rl::display_string;
rl_startup_hook = rl::add_base;
+ // initialize readline (needed, otherwise
+ // we get segmentation fault on SIGWINCH).
+ rl_initialize();
}
void destroyScreen()