home *** CD-ROM | disk | FTP | other *** search
/ Arawak OS/2 Shareware / PAKLED.ISO / bin / patches < prev    next >
Text File  |  1993-01-15  |  3KB  |  102 lines

  1. diff -cb orig/makefile.os2 ./makefile.os2
  2. *** orig/makefile.os2    Thu Aug 20 08:56:24 1992
  3. --- ./makefile.os2    Fri Jan 15 20:28:18 1993
  4. ***************
  5. *** 18,28 ****
  6.   #   The resulting programs can be used under OS/2 protected
  7.   #   mode of OS/2 2.0 only, not under 1.x and not under DOS.
  8.   
  9. ! CRYPTF =
  10. ! CRYPTO =
  11.   # *** For decryption version, remove the # at the front of next 2 lines ***
  12. ! # CRYPTF = -DCRYPT
  13. ! # CRYPTO = crypt$(OBJ)
  14.   
  15.   default:
  16.       @echo Enter "$(MAKE) -f makefile.os2 msc"
  17. --- 18,28 ----
  18.   #   The resulting programs can be used under OS/2 protected
  19.   #   mode of OS/2 2.0 only, not under 1.x and not under DOS.
  20.   
  21. ! # CRYPTF =
  22. ! # CRYPTO =
  23.   # *** For decryption version, remove the # at the front of next 2 lines ***
  24. ! CRYPTF = -DCRYPT
  25. ! CRYPTO = crypt$(OBJ)
  26.   
  27.   default:
  28.       @echo Enter "$(MAKE) -f makefile.os2 msc"
  29. ***************
  30. *** 71,82 ****
  31.   
  32.   gcc:
  33.       $(MAKE) -f makefile.os2 unzips \
  34. !     CC="gcc -O -s" \
  35. !     CFLAGS="$(CRYPTF) -DOS2 -Uunix" \
  36.       LDFLAGS="-o " \
  37.       LDFLAGS2="-los2" \
  38.       OUT="-o" \
  39. !     OBJ=".o"
  40.   
  41.   # variables
  42.   OBJ1 = unzip$(OBJ) envargs$(OBJ) extract$(OBJ) misc$(OBJ) $(CRYPTO)
  43. --- 71,83 ----
  44.   
  45.   gcc:
  46.       $(MAKE) -f makefile.os2 unzips \
  47. !     CC="gcc -Zomf -Zsys -O -s" \
  48. !     CFLAGS="$(CRYPTF) -DOS2" \
  49.       LDFLAGS="-o " \
  50.       LDFLAGS2="-los2" \
  51.       OUT="-o" \
  52. !     OBJ=".obj" \
  53. !     DEF=unzip.def DEFI=zipinfo.def DEFS=ship.def
  54.   
  55.   # variables
  56.   OBJ1 = unzip$(OBJ) envargs$(OBJ) extract$(OBJ) misc$(OBJ) $(CRYPTO)
  57. diff -cb orig/mapname.c ./mapname.c
  58. *** orig/mapname.c    Wed Aug 12 16:40:20 1992
  59. --- ./mapname.c    Fri Jan 15 20:23:08 1993
  60. ***************
  61. *** 39,45 ****
  62.   #endif
  63.   
  64.   #ifndef NO_MKDIR
  65. ! #  if (defined(DOS_OS2) && !defined(__GO32__))
  66.   #    if (_MSC_VER >= 600)       /* have special MSC mkdir prototype */
  67.   #      include <direct.h>
  68.   #    else                       /* own prototype because dir.h conflicts? */
  69. --- 39,45 ----
  70.   #endif
  71.   
  72.   #ifndef NO_MKDIR
  73. ! #  if (defined(DOS_OS2) && !defined(__GO32__) && !defined(__EMX__))
  74.   #    if (_MSC_VER >= 600)       /* have special MSC mkdir prototype */
  75.   #      include <direct.h>
  76.   #    else                       /* own prototype because dir.h conflicts? */
  77. diff -cb orig/unzip.def ./unzip.def
  78. *** orig/unzip.def    Wed Aug 21 11:34:46 1991
  79. --- ./unzip.def    Fri Jan 15 20:26:38 1993
  80. ***************
  81. *** 1,2 ****
  82. --- 1,4 ----
  83.   NAME UnZip WINDOWCOMPAT NEWFILES
  84.   DESCRIPTION 'The world-famous unarchiving utility from Info-ZIP'
  85. + STACKSIZE 0x40000
  86. diff -cb orig/unzip.h ./unzip.h
  87. *** orig/unzip.h    Mon Jan 11 23:31:14 1993
  88. --- ./unzip.h    Fri Jan 15 20:30:38 1993
  89. ***************
  90. *** 247,253 ****
  91. --- 247,255 ----
  92.   
  93.   #ifdef __EMX__
  94.   #  define DOS_OS2
  95. + #  ifndef __32BIT__
  96.   #    define __32BIT__
  97. + #  endif
  98.   #  define far
  99.   #endif /* __EMX__ */
  100.   
  101.