pkgsrc-Bugs archive

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

Re: pkg/44878: Submission to add an option to textproc/aiksaurus to enable the GUI interface (gaiksaurus)



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

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>,
 gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/44878: Submission to add an option to textproc/aiksaurus to 
enable the GUI interface (gaiksaurus)
Date: Mon, 31 Mar 2014 19:24:26 -0400

 On 2014-03-31, at 8:54 AM, Christos Zoulas wrote:
 > On Mar 31,  7:30am, dhgutteridge%sympatico.ca@localhost ("David H. 
 > Gutteridge") =
 wrote:
 > -- Subject: Re: pkg/44878: Submission to add an option to =
 textproc/aiksaurus=20
 >=20
 > | The following reply was made to PR pkg/44878; it has been noted by =
 GNATS.
 > |=20
 > | From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
 > | To: gnats-bugs%NetBSD.org@localhost
 > | Cc:=20
 > | Subject: Re: pkg/44878: Submission to add an option to =
 textproc/aiksaurus to enable the GUI interface (gaiksaurus)
 > | Date: Mon, 31 Mar 2014 02:29:28 -0400
 > |=20
 > |  In the intervening years, GCC upgrades have made the following =
 patches
 > |  necessary:
 > | =20
 > |  --- gtk/src/Display.cpp.orig      2003-05-27 19:56:54.000000000 =
 -0400
 > |  +++ gtk/src/Display.cpp   2014-03-31 01:56:15.000000000 -0400
 > |  @@ -22,6 +22,7 @@
 > |   #include "Meaning.h"
 > |   #include "DialogMediator.h"
 > |   #include "Exception.h"
 > |  +#include <strings.h>
 > |   using namespace std;
 > |  =20
 > |   namespace AiksaurusGTK_impl
 > |  =20
 > |  --- gtk/src/gtkAiksaur.t.cpp.orig 2002-01-11 21:02:12.000000000 =
 -0500
 > |  +++ gtk/src/gtkAiksaur.t.cpp      2014-03-31 02:01:07.000000000 =
 -0400
 > |  @@ -20,6 +20,7 @@
 > |  =20
 > |   #include <AiksaurusGTK.h>
 > |   #include "config.h"
 > |  +#include <cstdlib>
 > |   #include <gtk/gtk.h>
 > |   #include <iostream>
 > |   #include <string>
 > | =20
 >=20
 > I can believe the second patch, but I think that the first should
 > be cstring?
 >=20
 > christos
 
 Hello,
 
 The function required is strcasecmp(3), which per POSIX is supposed
 to be found in strings.h, rather than string.h, which means there's
 no standard equivalent C++ library I'm aware of for it. =46rom looking
 at NetBSD/DragonFly BSD/FreeBSD/OpenBSD/GNU libc, I saw none that
 would expose that function via string.h without an additional macro
 being defined, since it's a legacy aspect of string.h, and more
 "correct" to be accessed through strings.h.
 
 (In retrospect, I should've made a note of this in my last email, as
 I anticipated there'd be a question, but forgot to explain this. My
 apologies.)
 
 Regards,
 
 Dave
 


Home | Main Index | Thread Index | Old Index