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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: suga at netbsd dot com dot br
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 20:01:28 2024 UTC