Menu

#20 Fix erronous tparm() declaration on Apple

open
None
5
2006-07-27
2006-07-26
James Quick
No

Add a test for the __APPLE__ platform to fix termcap problem.
Without this, the incorrect tparm definition causes compile failure.

visible patch included for humans, uuencoded version attached
--- slashem-0.0.7E7F2.orig/win/tty/termcap.c 2005-12-04
09:58:27.000000000 -0500
+++ slashem-0.0.7E7F2/win/tty/termcap.c 2006-07-26
15:06:46.000000000 -0400
@@ -958,7 +958,7 @@

#include <curses.h>

-#if !defined(LINUX) && !defined(__FreeBSD__)
+#if !defined(LINUX) && !defined(__FreeBSD__) && !defined(__APPLE__)
extern char *tparm();
#endif

Discussion

  • James Quick

    James Quick - 2006-07-26

    uuencoded patch file to fix compile failure on Apple systems

     
  • J. Ali Harlow

    J. Ali Harlow - 2006-07-27
    • assigned_to: nobody --> paulhurtley
     

Log in to post a comment.