mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCH 13/28] cvs: clean up patches
Date: Sun, 30 Oct 2011 23:00:44 +0100	[thread overview]
Message-ID: <1320012059-24971-13-git-send-email-r.schwebel@pengutronix.de> (raw)
In-Reply-To: <1320012059-24971-1-git-send-email-r.schwebel@pengutronix.de>

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 .../0001-link-against-system-zlib.patch            |  130 ++++++++++++++++++++
 .../cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch  |  118 ------------------
 patches/cvs-1.11.22/series                         |    1 -
 3 files changed, 130 insertions(+), 119 deletions(-)
 create mode 100644 patches/cvs-1.11.22/0001-link-against-system-zlib.patch
 delete mode 100644 patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch
 delete mode 100644 patches/cvs-1.11.22/series

diff --git a/patches/cvs-1.11.22/0001-link-against-system-zlib.patch b/patches/cvs-1.11.22/0001-link-against-system-zlib.patch
new file mode 100644
index 0000000..1b9846e
--- /dev/null
+++ b/patches/cvs-1.11.22/0001-link-against-system-zlib.patch
@@ -0,0 +1,130 @@
+From 7cb47b46f7415d10d64a40614f9d6493d05eb296 Mon Sep 17 00:00:00 2001
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Date: Sat, 29 Oct 2011 19:05:46 +0200
+Subject: [PATCH] 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 <matthew@linuxfromscratch.org>
+  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 <r.schwebel@pengutronix.de>
+---
+ Makefile.in     |   12 +++++-------
+ src/Makefile.in |    6 +++---
+ src/zlib.c      |    2 +-
+ 3 files changed, 9 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index b577801..cb3cea1 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -53,7 +53,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ 	$(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 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+  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 @@ with_default_rsh = @with_default_rsh@
+ 
+ # 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 @@ config.h: stamp-h1
+ 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 @@ emx/Makefile: $(top_builddir)/config.status $(top_srcdir)/emx/Makefile.in
+ 	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 @@ distclean-tags:
+ 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/src/Makefile.in b/src/Makefile.in
+index 3765523..98bcd79 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -86,7 +86,7 @@ am_cvs_OBJECTS = add.$(OBJEXT) admin.$(OBJEXT) annotate.$(OBJEXT) \
+ 	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)
+@@ -200,7 +200,7 @@ with_default_rsh = @with_default_rsh@
+ # 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
+@@ -279,7 +279,7 @@ cvs_SOURCES = \
+ cvs_LDADD = \
+ 	../diff/libdiff.a \
+ 	../lib/libcvs.a \
+-	../zlib/libz.a
++	-lz
+ 
+ 
+ # extra clean targets
+diff --git a/src/zlib.c b/src/zlib.c
+index 46ed0e6..4024a6b 100644
+--- a/src/zlib.c
++++ b/src/zlib.c
+@@ -22,7 +22,7 @@
+ 
+ #if defined (SERVER_SUPPORT) || defined (CLIENT_SUPPORT)
+ 
+-#include "zlib.h"
++#include <zlib.h>
+ 
+ /* OS/2 doesn't have EIO.  FIXME: this whole notion of turning
+    a different error into EIO strikes me as pretty dubious.  */
+-- 
+1.7.7
+
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
deleted file mode 100644
index 2801320..0000000
--- a/patches/cvs-1.11.22/cvs-1.11.22-use-system-zlib.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-From: Robert Schwebel <r.schwebel@pengutronix.de>
-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 <matthew@linuxfromscratch.org>
-  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 <r.schwebel@pengutronix.de>
-
----
-
-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 <zlib.h>
- 
- /* 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/series b/patches/cvs-1.11.22/series
deleted file mode 100644
index 675a2b6..0000000
--- a/patches/cvs-1.11.22/series
+++ /dev/null
@@ -1 +0,0 @@
-cvs-1.11.22-use-system-zlib.patch
-- 
1.7.7


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2011-10-30 22:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30 22:00 [ptxdist] Patch cleanup Robert Schwebel
2011-10-30 22:00 ` [ptxdist] [PATCH 01/28] canfestival: clean up patches Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 02/28] devicekit-disks: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 03/28] mplayer: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 04/28] policykit: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 05/28] sdl: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 06/28] sdl-mixer: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 07/28] atop: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 08/28] bing: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 09/28] bridge-utils: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 10/28] bzip2: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 11/28] cbmbasic: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 12/28] cpufrequtils: " Robert Schwebel
2011-10-30 22:00   ` Robert Schwebel [this message]
2011-10-30 22:00   ` [ptxdist] [PATCH 14/28] daemonize: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 15/28] dibbler: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 16/28] e2fsprogs: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 17/28] efax: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 18/28] eggdbus: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 19/28] elektra: remove orphaned package Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 20/28] etherwake: clean up patches Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 21/28] fakeroot: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 22/28] fbtest: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 23/28] font-alias: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 24/28] freetype: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 25/28] glademm: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 26/28] gpsd: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 27/28] gst-plugins-gl: " Robert Schwebel
2011-10-30 22:00   ` [ptxdist] [PATCH 28/28] gtk: " Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1320012059-24971-13-git-send-email-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox