View | Details | Raw Unified | Return to bug 220013 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-common-multibyte.c (-3 / +5 lines)
Lines 1-8 Link Here
1
--- ../common/multibyte.c.orig	2017-01-07 18:04:20.087312000 +0900
1
--- ../common/multibyte.c.orig	2017-11-17 21:47:04.305764000 +0900
2
+++ ../common/multibyte.c	2017-01-07 18:05:53.585988000 +0900
2
+++ ../common/multibyte.c	2017-11-17 21:58:19.218532000 +0900
3
@@ -1455,7 +1455,7 @@
3
@@ -1454,8 +1454,9 @@
4
 		if (maybe == 0)
4
 			return ename;
5
 			return ename;
5
 
6
 
7
+		if ( (maxfunc!=1) && (try==maybe) ) continue ;
6
 		for (i = 0; i < maxfunc; i++) {
8
 		for (i = 0; i < maxfunc; i++) {
7
-			if (maybe == (1 << i))
9
-			if (maybe == (1 << i))
8
+			if (maybe & (1 << i))
10
+			if (maybe & (1 << i))
(-)files/patch-configure (-1 / +1 lines)
Lines 25-31 Link Here
25
 	cobjs="\$(COBJS)";;
25
 	cobjs="\$(COBJS)";;
26
 "other curses")
26
 "other curses")
27
-	LIBS="-lcurses $LIBS";;
27
-	LIBS="-lcurses $LIBS";;
28
+	LIBS="-lncurses $LIBS";;
28
+	LIBS="-lncursesw $LIBS";;
29
 esac
29
 esac
30
 
30
 
31
 echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6
31
 echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6

Return to bug 220013