bug-ncurses
[Top][All Lists]
Advanced

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

OS/2 patches for ncurses 5.6


From: KO Myung-Hun
Subject: OS/2 patches for ncurses 5.6
Date: Wed, 24 Sep 2008 23:21:14 +0900
User-agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.16) Gecko/20080716 SeaMonkey/1.1.11

Hi/2.

This patch provide additional codes for OS/2 support.

Would you mind applying this ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 1.1.11
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1 GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr


diff -buNr aclocal.m4.org aclocal.m4
--- aclocal.m4.org      2006-12-17 09:12:12.000000000 +0900
+++ aclocal.m4  2008-09-20 15:32:02.000000000 +0900
@@ -3310,6 +3310,12 @@
   cf_path_syntax="$ac_default_prefix"
 fi
 
+case ".[$]$1" in
+.\[$]{datarootdir}*)
+  eval $1="[$]$1"
+  ;;
+esac
+
 case ".[$]$1" in #(vi
 .\[$]\(*\)*|.\'*\'*) #(vi
   ;;
@@ -4954,6 +4960,9 @@
 solaris*) #(vi
        CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
        ;;
+os2*) #(vi
+       # setting _XOPEN_SOURCE or _POSIX_SOURCE, is not needed on OS/2
+       ;;
 *)
        AC_CACHE_CHECK(if we should define _XOPEN_SOURCE,cf_cv_xopen_source,[
        AC_TRY_COMPILE([#include <sys/types.h>],[
diff -buNr Makefile.in.org Makefile.in
--- Makefile.in.org     2005-01-29 12:30:12.000000000 +0900
+++ Makefile.in 2008-09-20 17:43:32.000000000 +0900
@@ -50,6 +50,7 @@
 includedir     = @includedir@
 libdir         = @libdir@
 mandir         = @mandir@
+datadir                = @datadir@
 
 INSTALL                = @INSTALL@
 INSTALL_DATA   = @INSTALL_DATA@
diff -buNr Makefile.os2.org Makefile.os2
--- Makefile.os2.org    2006-04-22 14:46:34.000000000 +0900
+++ Makefile.os2        2008-09-20 17:47:00.000000000 +0900
@@ -101,6 +101,7 @@
 config.cache: configure.cmd configure
        -$(MV_F) $@ address@hidden
        configure.cmd $(CONFIG_OPTS)
+       touch config.cache
 
 configure.cmd: configure convert_configure.pl
        perl convert_configure.pl configure > $@
@@ -225,7 +226,7 @@
        set TERMINFO=$(TICDIR); ./progs/tic ./misc/emx.src
        echo Installing the terminfo cleaner and the sources...
        cp ./misc/emx.src ./misc/cleantic.cmd $(TICDIR)
-       ./misc/cleantic.cmd $(TICDIR)
+       cmd /C .\\misc\\cleantic.cmd $(TICDIR)
 
 uninstall \
 uninstall.emxdata ::
diff -buNr misc/chkdef.cmd.org misc/chkdef.cmd
--- misc/chkdef.cmd.org 2006-04-22 16:14:36.000000000 +0900
+++ misc/chkdef.cmd     2008-09-20 17:18:36.000000000 +0900
@@ -69,7 +69,7 @@
  * utility program.
  */
 '@echo off'
-'type' def_file '| sed' tidy_up '| sort | rxqueue'
+'sed' tidy_up def_file '| sort | rxqueue'
 
 do while queued() > 0
    /*

reply via email to

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