bug-ncurses
[Top][All Lists]
Advanced

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

Patch to configure for 5.7


From: Jerod Lycett
Subject: Patch to configure for 5.7
Date: Thu, 01 Jul 2010 20:20:47 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am going to both attach and just include inline a small patch to the
configure file that has it false negative on detecting libstdc++ at
least on Ubuntu 10.04. This fix should let it work anywhere.
- --- configure.orig    2010-07-01 20:12:45.469359758 -0400
+++ configure   2010-07-01 20:11:49.370089277 -0400
@@ -14770,15 +14770,11 @@
 #line 14770 "configure"
 #include "confdefs.h"

- -#include <strstream.h>
- -int
- -main ()
+#include <strstream>
+int main ()
 {
- -
- -char buf[80];
- -strstreambuf foo(buf, sizeof(buf))
- -
- -  ;
+  char buf[80];
+  std::strstreambuf foo(buf, sizeof(buf));
   return 0;
 }
 _ACEOF

- -- 
Jerod Lycett
https://arenlor.com/about.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwtMN8ACgkQYKDmlArNnrbMnQCaApw33rFMwgsrVYFSuLULjl8d
ElMAoKYfKl6UPd67oTB3QoLidlr/YtCp
=1zAZ
-----END PGP SIGNATURE-----

Attachment: configure.diff
Description: Text Data

Attachment: configure.diff.sig
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]