From 3b5e91a442715d7cd8890a6929ef70e274328015 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Wed, 28 Apr 2010 07:26:48 +0200 Subject: [cvs] cleanup patches Signed-off-by: Robert Schwebel --- .../cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch | 118 +++++++++++++++++++++ patches/cvs-1.11.22/cvs-1.11.22-zlib-1.patch | 53 --------- patches/cvs-1.11.22/remove_zlib.patch | 56 ---------- patches/cvs-1.11.22/series | 4 +- 4 files changed, 119 insertions(+), 112 deletions(-) create mode 100644 patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch delete mode 100644 patches/cvs-1.11.22/cvs-1.11.22-zlib-1.patch delete mode 100644 patches/cvs-1.11.22/remove_zlib.patch (limited to 'patches') diff --git a/patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch b/patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch new file mode 100644 index 000000000..28013207c --- /dev/null +++ b/patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch @@ -0,0 +1,118 @@ +From: Robert Schwebel +Subject: [cvs] link against system zlib + +Instead of building our own internal zlib, link against the variant +provided by the system. + +This patch was taken from linux-from-scratch: + + Submitted By: Matthew Burgess + Date: 2004-11-12 + Initial Package Version: 1.11.2 + Upstream Status: Not submitted + Origin: BLFS Dev Post + Description: Links against system zlib instead of the + internal zlib. + +Signed-off-by: Robert Schwebel + +--- + +diff -Naur cvs-1.11.18.orig/src/Makefile.in cvs-1.11.18/src/Makefile.in +--- cvs-1.11.18.orig/src/Makefile.in 2004-11-11 18:17:20.000000000 +0000 ++++ cvs-1.11.18/src/Makefile.in 2004-11-12 19:58:14.962293296 +0000 +@@ -86,7 +86,7 @@ + version.$(OBJEXT) vers_ts.$(OBJEXT) watch.$(OBJEXT) \ + wrapper.$(OBJEXT) zlib.$(OBJEXT) + cvs_OBJECTS = $(am_cvs_OBJECTS) +-cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a ++cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a + binSCRIPT_INSTALL = $(INSTALL_SCRIPT) + SCRIPTS = $(bin_SCRIPTS) + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +@@ -199,7 +199,7 @@ + # some namespace hackery going on that maybe shouldn't be. Long term fix is to + # 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$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) ++INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff $(includeopt) + bin_SCRIPTS = cvsbug + + # The cvs executable +@@ -278,7 +278,7 @@ + cvs_LDADD = \ + ../diff/libdiff.a \ + ../lib/libcvs.a \ +- ../zlib/libz.a ++ -lz + + + # extra clean targets +diff -Naur cvs-1.11.18.orig/src/zlib.c cvs-1.11.18/src/zlib.c +--- cvs-1.11.18.orig/src/zlib.c 2004-03-19 19:18:57.000000000 +0000 ++++ cvs-1.11.18/src/zlib.c 2004-11-12 19:58:55.531125896 +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. */ +--- cvs-1.11.22/Makefile.in.orig ++++ cvs-1.11.22/Makefile.in +@@ -53,7 +53,7 @@ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/cvs.spec.in $(top_srcdir)/configure \ + $(top_srcdir)/emx/Makefile.in $(top_srcdir)/os2/Makefile.in \ +- $(top_srcdir)/zlib/Makefile.in AUTHORS COPYING COPYING.LIB \ ++ AUTHORS COPYING COPYING.LIB \ + ChangeLog INSTALL NEWS TODO compile depcomp install-sh \ + mdate-sh missing mkinstalldirs ylwrap + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -65,7 +65,7 @@ + configure.lineno configure.status.lineno + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = config.h +-CONFIG_CLEAN_FILES = cvs.spec emx/Makefile os2/Makefile zlib/Makefile ++CONFIG_CLEAN_FILES = cvs.spec emx/Makefile os2/Makefile + SOURCES = + DIST_SOURCES = + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -184,7 +184,7 @@ + + # 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 +@@ -256,7 +256,7 @@ + stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ +@@ -269,8 +269,6 @@ + cd $(top_builddir) && $(SHELL) ./config.status $@ + os2/Makefile: $(top_builddir)/config.status $(top_srcdir)/os2/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +-zlib/Makefile: $(top_builddir)/config.status $(top_srcdir)/zlib/Makefile.in +- cd $(top_builddir) && $(SHELL) ./config.status $@ + uninstall-info-am: + + # This directory's subdirectories are mostly independent; you can cd +@@ -408,7 +406,7 @@ + distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) +- $(mkdir_p) $(distdir)/. $(distdir)/contrib $(distdir)/doc $(distdir)/emx $(distdir)/lib $(distdir)/os2 $(distdir)/src $(distdir)/windows-NT $(distdir)/zlib ++ $(mkdir_p) $(distdir)/. $(distdir)/contrib $(distdir)/doc $(distdir)/emx $(distdir)/lib $(distdir)/os2 $(distdir)/src $(distdir)/windows-NT + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ diff --git a/patches/cvs-1.11.22/cvs-1.11.22-zlib-1.patch b/patches/cvs-1.11.22/cvs-1.11.22-zlib-1.patch deleted file mode 100644 index 869a3645e..000000000 --- a/patches/cvs-1.11.22/cvs-1.11.22-zlib-1.patch +++ /dev/null @@ -1,53 +0,0 @@ -Submitted By: Matthew Burgess -Date: 2004-11-12 -Initial Package Version: 1.11.2 -Upstream Status: Not submitted -Origin: BLFS Dev Post -Description: Links against system zlib instead of the - internal zlib. - -$LastChangedBy: igor $ -$Date: 2005-10-28 09:20:09 -0500 (Fri, 28 Oct 2005) $ - -diff -Naur cvs-1.11.18.orig/src/Makefile.in cvs-1.11.18/src/Makefile.in ---- cvs-1.11.18.orig/src/Makefile.in 2004-11-11 18:17:20.000000000 +0000 -+++ cvs-1.11.18/src/Makefile.in 2004-11-12 19:58:14.962293296 +0000 -@@ -86,7 +86,7 @@ - version.$(OBJEXT) vers_ts.$(OBJEXT) watch.$(OBJEXT) \ - wrapper.$(OBJEXT) zlib.$(OBJEXT) - cvs_OBJECTS = $(am_cvs_OBJECTS) --cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -+cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a - binSCRIPT_INSTALL = $(INSTALL_SCRIPT) - SCRIPTS = $(bin_SCRIPTS) - DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -@@ -199,7 +199,7 @@ - # some namespace hackery going on that maybe shouldn't be. Long term fix is to - # 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$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) -+INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff $(includeopt) - bin_SCRIPTS = cvsbug - - # The cvs executable -@@ -278,7 +278,7 @@ - cvs_LDADD = \ - ../diff/libdiff.a \ - ../lib/libcvs.a \ -- ../zlib/libz.a -+ -lz - - - # extra clean targets -diff -Naur cvs-1.11.18.orig/src/zlib.c cvs-1.11.18/src/zlib.c ---- cvs-1.11.18.orig/src/zlib.c 2004-03-19 19:18:57.000000000 +0000 -+++ cvs-1.11.18/src/zlib.c 2004-11-12 19:58:55.531125896 +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. */ diff --git a/patches/cvs-1.11.22/remove_zlib.patch b/patches/cvs-1.11.22/remove_zlib.patch deleted file mode 100644 index 15c9cebce..000000000 --- a/patches/cvs-1.11.22/remove_zlib.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- cvs-1.11.22/Makefile.in.orig -+++ cvs-1.11.22/Makefile.in -@@ -53,7 +53,7 @@ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(srcdir)/cvs.spec.in $(top_srcdir)/configure \ - $(top_srcdir)/emx/Makefile.in $(top_srcdir)/os2/Makefile.in \ -- $(top_srcdir)/zlib/Makefile.in AUTHORS COPYING COPYING.LIB \ -+ AUTHORS COPYING COPYING.LIB \ - ChangeLog INSTALL NEWS TODO compile depcomp install-sh \ - mdate-sh missing mkinstalldirs ylwrap - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -@@ -65,7 +65,7 @@ - configure.lineno configure.status.lineno - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = config.h --CONFIG_CLEAN_FILES = cvs.spec emx/Makefile os2/Makefile zlib/Makefile -+CONFIG_CLEAN_FILES = cvs.spec emx/Makefile os2/Makefile - SOURCES = - DIST_SOURCES = - RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ -@@ -184,7 +184,7 @@ - - # 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 -@@ -256,7 +256,7 @@ - stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h --$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) -+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_srcdir) && $(AUTOHEADER) - rm -f stamp-h1 - touch $@ -@@ -269,8 +269,6 @@ - cd $(top_builddir) && $(SHELL) ./config.status $@ - os2/Makefile: $(top_builddir)/config.status $(top_srcdir)/os2/Makefile.in - cd $(top_builddir) && $(SHELL) ./config.status $@ --zlib/Makefile: $(top_builddir)/config.status $(top_srcdir)/zlib/Makefile.in -- cd $(top_builddir) && $(SHELL) ./config.status $@ - uninstall-info-am: - - # This directory's subdirectories are mostly independent; you can cd -@@ -408,7 +406,7 @@ - distdir: $(DISTFILES) - $(am__remove_distdir) - mkdir $(distdir) -- $(mkdir_p) $(distdir)/. $(distdir)/contrib $(distdir)/doc $(distdir)/emx $(distdir)/lib $(distdir)/os2 $(distdir)/src $(distdir)/windows-NT $(distdir)/zlib -+ $(mkdir_p) $(distdir)/. $(distdir)/contrib $(distdir)/doc $(distdir)/emx $(distdir)/lib $(distdir)/os2 $(distdir)/src $(distdir)/windows-NT - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ diff --git a/patches/cvs-1.11.22/series b/patches/cvs-1.11.22/series index 52f7c9406..675a2b6d2 100644 --- a/patches/cvs-1.11.22/series +++ b/patches/cvs-1.11.22/series @@ -1,3 +1 @@ -cvs-1.11.22-zlib-1.patch -remove_zlib.patch - +cvs-1.11.22-use-system-zlib.patch -- cgit v1.2.3