urt-3.1b
, for example.
patch -p0 -N <urt-3.1b-3.1b1.patch # patching file urt-3.1b/cnv/rletorla.c # patching file urt-3.1b/config/hp700-hpux10 # patching file urt-3.1b/config/sol2-5
cd urt-3.1b chmod -R a+r ./ chmod -R u+w ./ chmod a+x Configure
include/makefile.src
,
lib/makefile.src
,
man/makefile.src
,
makefile.tlr
to _include this functionality, like e.g.:
mkdir -p $(DEST1); cp \$$i $(DEST1)/\$$dpgm ; \
README
and modify
config/urt
.
A lot of ancient formats may be handled,
but you'd need the corresponding extra libraries.
Then:
Configure config/urt # for the first time make config # for subsequent builds, if configuration files changed. make clean make make install
tools/clock/rleClock.c:
rename the stack_t
data type to rlestack_t
to avoid the name clash with a like-named data type in
/usr/include/sys/context.h
.
get/getx11/XGetHClrs.c
exclude the copyright.h
(doesn't exist).
config/urt
,
including display system (if not X11):
#define X11 #define IBMR6000CC ExtraCFLAGS = -O2 -D_LARGE_FILES #define ALL_MAN Print/install all man pages. #define CONST_DECL If your compiler understands 'const' (ANSI) #define SYS_V_SETPGRP Your system has the SysV setpgrp() call. #define USE_L_FLAG Use -Llibdir -lrle instead of libdir/liblre.a. #define USE_PROTOTYPES Declare library functions with ANSI-C prototypes. #define USE_RANDOM Your libc has the BSD random() function. #define USE_STDLIB_H You have "stdlib.h". #define USE_UNISTD_H You have "unistd.h". #define USE_STRING_H You have "string.h", not "strings.h" #define VOID_STAR Your C compiler understands the 'void *' declaration. #define USE_XLIBINT_H You have the file. #define X_SHARED_MEMORY You have the XShm extension. #defpath MAN_DEST /tmp/urt-3.1b/man/ #defpath LIB_DEST /tmp/urt-3.1b/lib #defpath GET_DEST /tmp/urt-3.1b/bin #defpath CNV_DEST /tmp/urt-3.1b/bin #defpath TOOLS_DEST /tmp/urt-3.1b/bin #defpath INC_DEST /tmp/urt-3.1b/include/ OTHERJUNK = core *~
get/getx11/XGetHClrs.c
exclude the copyright.h
(doesn't exist).
config/urt
:
#define X11 #define HPUX800CC ExtraCFLAGS = -O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z #define ALL_MAN Print/install all man pages. #define CONST_DECL If your compiler understands 'const' (ANSI) #define NEED_SETLINEBUF Your stdio does not have setlinebuf (Sys V) #define SYS_V_SETPGRP Your system has the SysV setpgrp() call. #define USE_L_FLAG Use -Llibdir -lrle instead of libdir/liblre.a. #define USE_PROTOTYPES Declare library functions with ANSI-C prototypes. #define USE_RANDOM Your libc has the BSD random() function. #define USE_STDLIB_H You have "stdlib.h". #define USE_UNISTD_H You have "unistd.h". #define USE_STRING_H You have "string.h", not "strings.h" #define VOID_STAR Your C compiler understands the 'void *' declaration. #define USE_XLIBINT_H You have the file. #define X_SHARED_MEMORY You have the XShm extension. #defpath MAN_DEST /tmp/urt-3.1b/man/ #defpath LIB_DEST /tmp/urt-3.1b/lib #defpath GET_DEST /tmp/urt-3.1b/bin #defpath CNV_DEST /tmp/urt-3.1b/bin #defpath TOOLS_DEST /tmp/urt-3.1b/bin #defpath INC_DEST /tmp/urt-3.1b/include OTHERJUNK = core *~ INCX11 = -I/usr/include/X11R6