home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
packer
/
infozip
/
patches
< prev
next >
Wrap
Text File
|
1994-02-03
|
3KB
|
102 lines
diff -cb orig/makefile.os2 ./makefile.os2
*** orig/makefile.os2 Thu Aug 20 08:56:24 1992
--- ./makefile.os2 Fri Jan 15 20:28:18 1993
***************
*** 18,28 ****
# The resulting programs can be used under OS/2 protected
# mode of OS/2 2.0 only, not under 1.x and not under DOS.
! CRYPTF =
! CRYPTO =
# *** For decryption version, remove the # at the front of next 2 lines ***
! # CRYPTF = -DCRYPT
! # CRYPTO = crypt$(OBJ)
default:
@echo Enter "$(MAKE) -f makefile.os2 msc"
--- 18,28 ----
# The resulting programs can be used under OS/2 protected
# mode of OS/2 2.0 only, not under 1.x and not under DOS.
! # CRYPTF =
! # CRYPTO =
# *** For decryption version, remove the # at the front of next 2 lines ***
! CRYPTF = -DCRYPT
! CRYPTO = crypt$(OBJ)
default:
@echo Enter "$(MAKE) -f makefile.os2 msc"
***************
*** 71,82 ****
gcc:
$(MAKE) -f makefile.os2 unzips \
! CC="gcc -O -s" \
! CFLAGS="$(CRYPTF) -DOS2 -Uunix" \
LDFLAGS="-o " \
LDFLAGS2="-los2" \
OUT="-o" \
! OBJ=".o"
# variables
OBJ1 = unzip$(OBJ) envargs$(OBJ) extract$(OBJ) misc$(OBJ) $(CRYPTO)
--- 71,83 ----
gcc:
$(MAKE) -f makefile.os2 unzips \
! CC="gcc -Zomf -Zsys -O -s" \
! CFLAGS="$(CRYPTF) -DOS2" \
LDFLAGS="-o " \
LDFLAGS2="-los2" \
OUT="-o" \
! OBJ=".obj" \
! DEF=unzip.def DEFI=zipinfo.def DEFS=ship.def
# variables
OBJ1 = unzip$(OBJ) envargs$(OBJ) extract$(OBJ) misc$(OBJ) $(CRYPTO)
diff -cb orig/mapname.c ./mapname.c
*** orig/mapname.c Wed Aug 12 16:40:20 1992
--- ./mapname.c Fri Jan 15 20:23:08 1993
***************
*** 39,45 ****
#endif
#ifndef NO_MKDIR
! # if (defined(DOS_OS2) && !defined(__GO32__))
# if (_MSC_VER >= 600) /* have special MSC mkdir prototype */
# include <direct.h>
# else /* own prototype because dir.h conflicts? */
--- 39,45 ----
#endif
#ifndef NO_MKDIR
! # if (defined(DOS_OS2) && !defined(__GO32__) && !defined(__EMX__))
# if (_MSC_VER >= 600) /* have special MSC mkdir prototype */
# include <direct.h>
# else /* own prototype because dir.h conflicts? */
diff -cb orig/unzip.def ./unzip.def
*** orig/unzip.def Wed Aug 21 11:34:46 1991
--- ./unzip.def Fri Jan 15 20:26:38 1993
***************
*** 1,2 ****
--- 1,4 ----
NAME UnZip WINDOWCOMPAT NEWFILES
DESCRIPTION 'The world-famous unarchiving utility from Info-ZIP'
+
+ STACKSIZE 0x40000
diff -cb orig/unzip.h ./unzip.h
*** orig/unzip.h Mon Jan 11 23:31:14 1993
--- ./unzip.h Fri Jan 15 20:30:38 1993
***************
*** 247,253 ****
--- 247,255 ----
#ifdef __EMX__
# define DOS_OS2
+ # ifndef __32BIT__
# define __32BIT__
+ # endif
# define far
#endif /* __EMX__ */