diff -upk.orig cvs-1.11.20.orig/Makefile.am cvs-1.11.20/Makefile.am --- cvs-1.11.20.orig/Makefile.am 2004-11-11 22:30:36 +0000 +++ cvs-1.11.20/Makefile.am 2005-09-29 12:15:57 +0000 @@ -17,10 +17,9 @@ ## Subdirectories to run make in for the primary targets. # Unix source subdirs, where we'll want to run lint and etags: # This is a legacy variable from b4 Automake -USOURCE_SUBDIRS = lib zlib diff src +USOURCE_SUBDIRS = lib diff src # All other subdirs: -SUBDIRS = $(USOURCE_SUBDIRS) man doc contrib tools \ - windows-NT os2 emx vms +SUBDIRS = $(USOURCE_SUBDIRS) man doc contrib tools EXTRA_DIST = \ .cvsignore \ diff -upk.orig cvs-1.11.20.orig/configure.in cvs-1.11.20/configure.in --- cvs-1.11.20.orig/configure.in 2005-04-18 16:32:40 +0000 +++ cvs-1.11.20/configure.in 2005-09-29 12:15:57 +0000 @@ -1023,8 +1023,6 @@ AC_CONFIG_FILES(contrib/rcslock, [chmod AC_CONFIG_FILES(contrib/sccs2rcs, [chmod +x contrib/sccs2rcs]) AC_CONFIG_FILES(doc/mkman:doc/mkman.pl, [chmod +x doc/mkman]) AC_CONFIG_FILES(src/cvsbug, [chmod +x src/cvsbug]) -AC_CONFIG_FILES(windows-NT/fix-msvc-mak:windows-NT/fix-msvc-mak-head.pl:windows-NT/fix-msvc-mak.pl, - [chmod +x windows-NT/fix-msvc-mak]) dnl the bulk files AC_CONFIG_FILES([Makefile \ @@ -1032,16 +1030,11 @@ AC_CONFIG_FILES([Makefile \ cvs.spec \ diff/Makefile \ doc/Makefile \ - emx/Makefile \ lib/Makefile \ man/Makefile \ - os2/Makefile \ src/Makefile \ tools/Makefile \ - vms/Makefile \ - windows-NT/Makefile \ - windows-NT/SCC/Makefile \ - zlib/Makefile]) + ]) dnl and we're done AC_OUTPUT diff -upk.orig cvs-1.11.20.orig/lib/Makefile.am cvs-1.11.20/lib/Makefile.am --- cvs-1.11.20.orig/lib/Makefile.am 2005-04-15 18:28:27 +0000 +++ cvs-1.11.20/lib/Makefile.am 2005-09-29 12:15:57 +0000 @@ -46,21 +46,16 @@ libcvs_a_SOURCES = \ argmatch.c \ getdate.y \ getline.c \ - getopt.c \ - getopt1.c \ getpass.c \ md5.c \ - regex.c \ savecwd.c \ sighandle.c \ stripslash.c \ xgetwd.c \ yesno.c \ getline.h \ - getopt.h \ getpagesize.h \ md5.h \ - regex.h \ savecwd.h \ system.h \ wait.h \ diff -upk.orig cvs-1.11.20.orig/src/Makefile.am cvs-1.11.20/src/Makefile.am --- cvs-1.11.20.orig/src/Makefile.am 2005-01-31 22:07:35 +0000 +++ cvs-1.11.20/src/Makefile.am 2005-09-29 12:15:57 +0000 @@ -24,7 +24,7 @@ SHELL = /bin/sh # try and remove naming ocnflicts and fix Automake to allow particular includes # to be attached only to particular object files. Short term fix is either or. ##INCLUDES = -I. -I.. -I$(srcdir) -I$(top_srcdir)/lib -INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) +INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff $(includeopt) bin_PROGRAMS = cvs bin_SCRIPTS = cvsbug @@ -105,7 +105,7 @@ cvs_SOURCES = \ cvs_LDADD = \ ../diff/libdiff.a \ ../lib/libcvs.a \ - ../zlib/libz.a + -lz # extra clean targets # wish this could be distclean-hdr-local but it's not part of automake diff -upk.orig cvs-1.11.20.orig/src/zlib.c cvs-1.11.20/src/zlib.c --- cvs-1.11.20.orig/src/zlib.c 2004-03-19 19:18:57 +0000 +++ cvs-1.11.20/src/zlib.c 2005-09-29 12:15:57 +0000 @@ -22,7 +22,7 @@ #if defined (SERVER_SUPPORT) || defined (CLIENT_SUPPORT) -#include "zlib.h" +#include /* OS/2 doesn't have EIO. FIXME: this whole notion of turning a different error into EIO strikes me as pretty dubious. */