diff options
author | roy <roy@pkgsrc.org> | 2017-01-05 23:16:42 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2017-01-05 23:16:42 +0000 |
commit | b64463968085dbd51fe24b41044b4012c0b6f714 (patch) | |
tree | ff9002f8f33d341f9ad5a54516a54be2a76af9fe /lang/python34 | |
parent | d535fdd5ab30a9f5d208b2b432021ceefcda6374 (diff) | |
download | pkgsrc-b64463968085dbd51fe24b41044b4012c0b6f714.tar.gz |
Fix prior patches to use is_pad(3) rather than is_keypad(3).
Bump py-curses.
Diffstat (limited to 'lang/python34')
-rw-r--r-- | lang/python34/distinfo | 4 | ||||
-rw-r--r-- | lang/python34/patches/patch-ah | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lang/python34/distinfo b/lang/python34/distinfo index 3558eec11cf..92255dbfa1b 100644 --- a/lang/python34/distinfo +++ b/lang/python34/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2017/01/02 20:52:46 roy Exp $ +$NetBSD: distinfo,v 1.23 2017/01/05 23:16:42 roy Exp $ SHA1 (Python-3.4.5.tar.xz) = 882e83e0286b253ee651aa3f9a5d27ebc46e6632 RMD160 (Python-3.4.5.tar.xz) = 47604be01f37671a16c17e27316af327a1048fd6 @@ -6,7 +6,7 @@ SHA512 (Python-3.4.5.tar.xz) = b548a5338d141b3086dea372fa2cc245ba5350ee9f0d1304e Size (Python-3.4.5.tar.xz) = 14516820 bytes SHA1 (patch-Lib_distutils_unixccompiler.py) = 7d6df07921ad3357757d4681a964256b560b3f57 SHA1 (patch-aa) = 14359f8d0527eff08073c0aea60dfe8961d9255d -SHA1 (patch-ah) = f5e6ee512df69b6f0718c8d303e5b8ede39357ed +SHA1 (patch-ah) = 0acdfcbf3ebcb96b18a1cf28f18b286aa507a62f SHA1 (patch-al) = 7239d10b67c739c3ee33dd2fc95bb770360d152f SHA1 (patch-am) = 1752a06fec7626af57e85b6cbd9b6cc38b99272f SHA1 (patch-an) = c9b571eb54fdf0b1e93524a6de6780e8c4119221 diff --git a/lang/python34/patches/patch-ah b/lang/python34/patches/patch-ah index 75eab13fbc5..c34a30459be 100644 --- a/lang/python34/patches/patch-ah +++ b/lang/python34/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.4 2017/01/02 20:52:46 roy Exp $ +$NetBSD: patch-ah,v 1.5 2017/01/05 23:16:42 roy Exp $ Allow py-curses to use NetBSD curses as well as ncurses http://bugs.python.org/issue21457 @@ -43,7 +43,7 @@ http://bugs.python.org/issue21457 #ifdef WINDOW_HAS_FLAGS - if (self->win->_flags & _ISPAD) -+ if (is_keypad(self->win)) ++ if (is_pad(self->win)) return PyCursesCheckERR(pechochar(self->win, ch | attr), "echochar"); else @@ -64,7 +64,7 @@ http://bugs.python.org/issue21457 if (0) #else - if (self->win->_flags & _ISPAD) -+ if (is_keypad(self->win)) ++ if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -73,7 +73,7 @@ http://bugs.python.org/issue21457 if (0) #else - if (self->win->_flags & _ISPAD) -+ if (is_keypad(self->win)) ++ if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -82,7 +82,7 @@ http://bugs.python.org/issue21457 /* printf("Subwin: %i %i %i %i \n", nlines, ncols, begin_y, begin_x); */ #ifdef WINDOW_HAS_FLAGS - if (self->win->_flags & _ISPAD) -+ if (is_keypad(self->win)) ++ if (is_pad(self->win)) win = subpad(self->win, nlines, ncols, begin_y, begin_x); else #endif |