bug-ncurses
[Top][All Lists]
Advanced

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

Simple patch for allowing NCurses to build on HPE NonStop


From: Randall S. Becker
Subject: Simple patch for allowing NCurses to build on HPE NonStop
Date: Mon, 17 Aug 2020 18:50:17 -0400

I have a straightforward patch that would allow Ncurses to build on HPE NonStop platforms. This is fairly trivial. The first patch recognizes the platform, while the second is required because of where secondary string method definitions are located. The patch is based on ncurses 6.2 - patch 20200613 (commit 7503e8d8).

Kind Regards,

Randall

 

--

Randall S. Becker

ITUGLIB Process Designer, Repository Manager, Occasional Porting Dude

+1.416.984.9826

NonStop developer since approximately 211288444200000000

UNIX developer since approximately 421664400

-- In my real life, I talk too much.

 

 

diff --git a/configure b/configure

index b3b29cef..545fc9c3 100755

--- a/configure

+++ b/configure

@@ -6134,6 +6134,16 @@ CF_EOF

 

                MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-Bshareable,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@'

                ;;

+       nskJ*) #(vi

+               CC_SHARED_OPTS=

+               MK_SHARED_LIB='${LD} -Wshared -Weld=-export_all -o $@'

+               ;;

+

+       nskL*) #(vi

+               CC_SHARED_OPTS=

+               MK_SHARED_LIB='${LD} -Wshared -Wxld=-export_all -o $@'

+               ;;

+

        (nto-qnx*|openbsd*|freebsd[12].*)

                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"

                MK_SHARED_LIB='${LD} ${LDFLAGS} -Bshareable -o $@'

diff --git a/test/picsmap.c b/test/picsmap.c

index 432fbf7a..fc0b90db 100644

--- a/test/picsmap.c

+++ b/test/picsmap.c

@@ -83,6 +83,10 @@

#define RGB_PATH "/etc/X11/rgb.txt"

#endif

 

+#ifdef __TANDEM

+#include <strings.h>

+#endif

+

#include <picsmap.h>

 

typedef struct {


reply via email to

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