home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 7 Games
/
07-Games.zip
/
mangc036.zip
/
src
/
patches.os2
< prev
Wrap
Text File
|
1997-10-01
|
4KB
|
146 lines
diff -cbr e:/tmp/mangband-036~/src/client/client.c ./client/client.c
*** e:/tmp/mangband-036~/src/client/client.c Tue Sep 9 15:38:12 1997
--- ./client/client.c Wed Oct 1 21:35:50 1997
***************
*** 586,591 ****
--- 586,602 ----
}
#endif
+ #ifdef USE_EMX
+ /* Attempt to use the "main-emx.c" support */
+ if (!done)
+ {
+ extern errr init_emx(void);
+ if (0 == init_emx()) done = TRUE;
+ if (done) ANGBAND_SYS = "emx";
+ }
+ #endif
+
+
if (!done)
{
Net_cleanup();
diff -cbr e:/tmp/mangband-036~/src/client/main-emx.c ./client/main-emx.c
*** e:/tmp/mangband-036~/src/client/main-emx.c Mon Aug 11 11:10:40 1997
--- ./client/main-emx.c Wed Oct 1 21:35:56 1997
***************
*** 793,798 ****
--- 793,800 ----
/*
* Oh no, more prototypes!
*/
+
+ /*
static errr CheckEvents(int returnImmediately);
/*
***************
*** 1022,1027 ****
--- 1024,1030 ----
#endif /* EMXPM */
#endif /* USE_EMX */
+
/*
* Local Variables:
diff -cbr e:/tmp/mangband-036~/src/config.h ./config.h
*** e:/tmp/mangband-036~/src/config.h Sun Sep 14 13:14:22 1997
--- ./config.h Wed Oct 1 21:36:14 1997
***************
*** 98,104 ****
/*
* OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
*/
! #define USE_NCURSES
/*
--- 98,104 ----
/*
* OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
*/
! /* #define USE_NCURSES */
/*
***************
*** 110,116 ****
*
* This will handle "gids" correctly once the permissions are set right.
*/
! #define SAFE_SETUID
/*
--- 110,116 ----
*
* This will handle "gids" correctly once the permissions are set right.
*/
! /* #define SAFE_SETUID */
/*
diff -cbr e:/tmp/mangband-036~/src/Makefile ./Makefile
*** e:/tmp/mangband-036~/src/Makefile Fri Aug 22 07:40:12 1997
--- ./Makefile Wed Oct 1 21:36:14 1997
***************
*** 76,83 ****
common/net-unix.c common/sockbuf.c common/net-ibm.c \
client/z-term.c client/c-util.c client/c-cmd.c client/c-inven.c \
client/c-files.c client/c-tables.c client/c-store.c \
! client/variable.c client/main-ibm.c client/main-cap.c client/main-gcu.c \
! client/main-x11.c client/main-xaw.c client/netclient.c \
client/c-xtra1.c client/c-xtra2.c client/c-spell.c client/client.c
CLI_OBJS = \
--- 76,82 ----
common/net-unix.c common/sockbuf.c common/net-ibm.c \
client/z-term.c client/c-util.c client/c-cmd.c client/c-inven.c \
client/c-files.c client/c-tables.c client/c-store.c \
! client/variable.c client/main-emx.c client/netclient.c \
client/c-xtra1.c client/c-xtra2.c client/c-spell.c client/client.c
CLI_OBJS = \
***************
*** 85,92 ****
common/net-unix.o common/sockbuf.o common/net-ibm.o \
client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o \
client/c-files.o client/c-tables.o client/c-store.o \
! client/variable.o client/main-ibm.o client/main-cap.o client/main-gcu.o \
! client/main-x11.o client/main-xaw.o client/netclient.o \
client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o
--- 84,90 ----
common/net-unix.o common/sockbuf.o common/net-ibm.o \
client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o \
client/c-files.o client/c-tables.o client/c-store.o \
! client/variable.o client/main-emx.o client/netclient.o \
client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o
***************
*** 136,143 ****
# including "USE_GETCH" and "USE_CURS_SET". Note that "config.h" will
# attempt to "guess" at many of these flags based on your system.
#
! CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
! LIBS = -L/usr/X11R6/lib -lX11 -lncurses -ltermcap
##
--- 134,144 ----
# including "USE_GETCH" and "USE_CURS_SET". Note that "config.h" will
# attempt to "guess" at many of these flags based on your system.
#
! #CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
! #LIBS = -L/usr/X11R6/lib -lX11 -lncurses -ltermcap
!
! CFLAGS = -Wall -g -O2 -pipe -D"USE_EMX" -Zmt
! LIBS = -lsocket -lvideo
##