php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25752 ncurses includes in ext/ncurses/php_ncurses.h conflicts with BSD curses.
Submitted: 2003-10-03 19:39 UTC Modified: 2003-10-03 21:02 UTC
From: suga at netbsd dot com dot br Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.3 OS: NetBSD
Private report: No CVE-ID: None
 [2003-10-03 19:39 UTC] suga at netbsd dot com dot br
Description:
------------
When compiling PHP under NetBSD with '--with-ncurses', the build will fail when ext/ncurses/php_ncurses.h includes <curses.h>, which is actually BSD curses and NOT ncurses.
For the process to work under NetBSD, it's necessary to replace "curses.h" with "ncurses.h" in that file, like:

--- php_ncurses.h.old   Fri Oct  3 20:33:08 2003
+++ php_ncurses.h       Fri Oct  3 20:40:03 2003
@@ -19,7 +19,7 @@
 #ifndef PHP_NCURSES_H
 #define PHP_NCURSES_H

-#include <curses.h>
+#include <ncurses.h>

 extern int le_ncurses_windows;



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-03 21:02 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC