pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42925



The following reply was made to PR pkg/42925; it has been noted by GNATS.

From: Ron MacNeil <macro%hotmail.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/42925
Date: Tue, 28 Dec 2010 20:53:21 -0800

 --_803a6607-dfc6-44cc-9179-cd2e4584fa06_
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 
 Interix doesn't provide the problematic functions and one part of the texin=
 fo source code isn't conditionalised properly to handle that case.  The fol=
 lowing patch gets it working for me on SFU3.5 Windows XP:
 
 --- info/info.h.orig    2010-12-28 20:25:00 -0800
 +++ info/info.h    2010-12-28 20:31:42 -0800
 @@ -44=2C6 +44=2C15 @@
  #include "gc.h"
 =20
  #include "string.h"
 +
 +#if !defined (HAVE_MBRTOWC)
 +#define mbrtowc(a=2Cb=2Cc=2Cd) mbtowc(a=2Cb=2Cc)
 +#endif
 +
 +#if !defined (HAVE_MBSINIT)
 +#define mbsinit(a) 1
 +#endif
 +
  #include "mbiter.h"
  #include "mbchar.h"
 =20
 
                                          =
 
 --_803a6607-dfc6-44cc-9179-cd2e4584fa06_
 Content-Type: text/html; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <html>
 <head>
 <style><!--
 .hmmessage P
 {
 margin:0px=3B
 padding:0px
 }
 body.hmmessage
 {
 font-size: 10pt=3B
 font-family:Tahoma
 }
 --></style>
 </head>
 <body class=3D'hmmessage'>
 Interix doesn't provide the problematic functions and one part of the texin=
 fo source code isn't conditionalised properly to handle that case.&nbsp=3B =
 The following patch gets it working for me on SFU3.5 Windows XP:<br><br>---=
  info/info.h.orig&nbsp=3B&nbsp=3B&nbsp=3B 2010-12-28 20:25:00 -0800<br>+++ =
 info/info.h&nbsp=3B&nbsp=3B&nbsp=3B 2010-12-28 20:31:42 -0800<br>@@ -44=2C6=
  +44=2C15 @@<br>&nbsp=3B#include "gc.h"<br>&nbsp=3B<br>&nbsp=3B#include "st=
 ring.h"<br>+<br>+#if !defined (HAVE_MBRTOWC)<br>+#define mbrtowc(a=2Cb=2Cc=
 =2Cd) mbtowc(a=2Cb=2Cc)<br>+#endif<br>+<br>+#if !defined (HAVE_MBSINIT)<br>=
 +#define mbsinit(a) 1<br>+#endif<br>+<br>&nbsp=3B#include "mbiter.h"<br>&nb=
 sp=3B#include "mbchar.h"<br>&nbsp=3B<br><br>                                   
  </body>
 </html>=
 
 --_803a6607-dfc6-44cc-9179-cd2e4584fa06_--
 


Home | Main Index | Thread Index | Old Index