home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / mangc036.zip / src / patches.os2 < prev   
Text File  |  1997-10-01  |  4KB  |  146 lines

  1. diff -cbr e:/tmp/mangband-036~/src/client/client.c ./client/client.c
  2. *** e:/tmp/mangband-036~/src/client/client.c    Tue Sep  9 15:38:12 1997
  3. --- ./client/client.c    Wed Oct  1 21:35:50 1997
  4. ***************
  5. *** 586,591 ****
  6. --- 586,602 ----
  7.       }
  8.   #endif
  9.   
  10. + #ifdef USE_EMX
  11. +      /* Attempt to use the "main-emx.c" support */
  12. +      if (!done)
  13. +      {
  14. +          extern errr init_emx(void);
  15. +          if (0 == init_emx()) done = TRUE;
  16. +           if (done) ANGBAND_SYS = "emx";
  17. +       }
  18. + #endif
  19.       if (!done)
  20.       {
  21.           Net_cleanup();
  22. diff -cbr e:/tmp/mangband-036~/src/client/main-emx.c ./client/main-emx.c
  23. *** e:/tmp/mangband-036~/src/client/main-emx.c    Mon Aug 11 11:10:40 1997
  24. --- ./client/main-emx.c    Wed Oct  1 21:35:56 1997
  25. ***************
  26. *** 793,798 ****
  27. --- 793,800 ----
  28.   /*
  29.    * Oh no, more prototypes!
  30.    */
  31. + /*
  32.   static errr CheckEvents(int returnImmediately);
  33.   
  34.   /*
  35. ***************
  36. *** 1022,1027 ****
  37. --- 1024,1030 ----
  38.   #endif /* EMXPM */
  39.   
  40.   #endif /* USE_EMX */
  41.   
  42.   /*
  43.    * Local Variables:
  44. diff -cbr e:/tmp/mangband-036~/src/config.h ./config.h
  45. *** e:/tmp/mangband-036~/src/config.h    Sun Sep 14 13:14:22 1997
  46. --- ./config.h    Wed Oct  1 21:36:14 1997
  47. ***************
  48. *** 98,104 ****
  49.   /*
  50.    * OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
  51.    */
  52. ! #define USE_NCURSES
  53.   
  54.   
  55.   /*
  56. --- 98,104 ----
  57.   /*
  58.    * OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
  59.    */
  60. ! /* #define USE_NCURSES */
  61.   
  62.   
  63.   /*
  64. ***************
  65. *** 110,116 ****
  66.    *
  67.    * This will handle "gids" correctly once the permissions are set right.
  68.    */
  69. ! #define SAFE_SETUID
  70.   
  71.   
  72.   /*
  73. --- 110,116 ----
  74.    *
  75.    * This will handle "gids" correctly once the permissions are set right.
  76.    */
  77. ! /* #define SAFE_SETUID */
  78.   
  79.   
  80.   /*
  81. diff -cbr e:/tmp/mangband-036~/src/Makefile ./Makefile
  82. *** e:/tmp/mangband-036~/src/Makefile    Fri Aug 22 07:40:12 1997
  83. --- ./Makefile    Wed Oct  1 21:36:14 1997
  84. ***************
  85. *** 76,83 ****
  86.     common/net-unix.c common/sockbuf.c common/net-ibm.c \
  87.     client/z-term.c client/c-util.c client/c-cmd.c client/c-inven.c \
  88.     client/c-files.c client/c-tables.c client/c-store.c \
  89. !   client/variable.c client/main-ibm.c client/main-cap.c client/main-gcu.c \
  90. !   client/main-x11.c client/main-xaw.c client/netclient.c \
  91.     client/c-xtra1.c client/c-xtra2.c client/c-spell.c client/client.c
  92.   
  93.   CLI_OBJS = \
  94. --- 76,82 ----
  95.     common/net-unix.c common/sockbuf.c common/net-ibm.c \
  96.     client/z-term.c client/c-util.c client/c-cmd.c client/c-inven.c \
  97.     client/c-files.c client/c-tables.c client/c-store.c \
  98. !   client/variable.c client/main-emx.c client/netclient.c \
  99.     client/c-xtra1.c client/c-xtra2.c client/c-spell.c client/client.c
  100.   
  101.   CLI_OBJS = \
  102. ***************
  103. *** 85,92 ****
  104.     common/net-unix.o common/sockbuf.o common/net-ibm.o \
  105.     client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o \
  106.     client/c-files.o client/c-tables.o client/c-store.o \
  107. !   client/variable.o client/main-ibm.o client/main-cap.o client/main-gcu.o \
  108. !   client/main-x11.o client/main-xaw.o client/netclient.o \
  109.     client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o
  110.   
  111.   
  112. --- 84,90 ----
  113.     common/net-unix.o common/sockbuf.o common/net-ibm.o \
  114.     client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o \
  115.     client/c-files.o client/c-tables.o client/c-store.o \
  116. !   client/variable.o client/main-emx.o client/netclient.o \
  117.     client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o
  118.   
  119.   
  120. ***************
  121. *** 136,143 ****
  122.   # including "USE_GETCH" and "USE_CURS_SET".  Note that "config.h" will
  123.   # attempt to "guess" at many of these flags based on your system.
  124.   #
  125. ! CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
  126. ! LIBS = -L/usr/X11R6/lib -lX11 -lncurses -ltermcap
  127.   
  128.   
  129.   ##
  130. --- 134,144 ----
  131.   # including "USE_GETCH" and "USE_CURS_SET".  Note that "config.h" will
  132.   # attempt to "guess" at many of these flags based on your system.
  133.   #
  134. ! #CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
  135. ! #LIBS = -L/usr/X11R6/lib -lX11 -lncurses -ltermcap
  136. ! CFLAGS = -Wall -g -O2 -pipe -D"USE_EMX" -Zmt
  137. ! LIBS = -lsocket -lvideo
  138.   
  139.   
  140.   ##
  141.