summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-21 18:27:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-21 18:27:45 +0000
commit4335edce3ddb1664e712f699f3401ed6de1e11a4 (patch)
tree359cf1986196c7b842ec2574b12552380a3749b9 /sys-apps/ed/files
parentFix up metadata.xml. If there's no maintainer for the package, the metadata a... (diff)
downloadhistorical-4335edce3ddb1664e712f699f3401ed6de1e11a4.tar.gz
historical-4335edce3ddb1664e712f699f3401ed6de1e11a4.tar.bz2
historical-4335edce3ddb1664e712f699f3401ed6de1e11a4.zip
old
Diffstat (limited to 'sys-apps/ed/files')
-rw-r--r--sys-apps/ed/files/0.2-info-dir.patch15
-rw-r--r--sys-apps/ed/files/0.2-mkstemp.patch32
-rw-r--r--sys-apps/ed/files/ed-0.2-configure-LANG.patch48
-rw-r--r--sys-apps/ed/files/ed-0.4-build.patch28
-rw-r--r--sys-apps/ed/files/ed-0.4-configure-LANG.patch22
5 files changed, 0 insertions, 145 deletions
diff --git a/sys-apps/ed/files/0.2-info-dir.patch b/sys-apps/ed/files/0.2-info-dir.patch
deleted file mode 100644
index f99b00fd7626..000000000000
--- a/sys-apps/ed/files/0.2-info-dir.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -r -C2 ed-0.2.orig/ed.texinfo ed-0.2/ed.texinfo
-*** ed-0.2.orig/ed.texinfo Sat Nov 19 07:38:01 1994
---- ed-0.2/ed.texinfo Fri Aug 3 19:03:33 2001
-***************
-*** 8,11 ****
---- 8,16 ----
-
- @ifinfo
-+
-+ @direntry
-+ * ed: (ed). line editor.
-+ @end direntry
-+
- This file documents the @code{ed} command, which has the purpose of
- editing text files.
diff --git a/sys-apps/ed/files/0.2-mkstemp.patch b/sys-apps/ed/files/0.2-mkstemp.patch
deleted file mode 100644
index 5fe98b81049a..000000000000
--- a/sys-apps/ed/files/0.2-mkstemp.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-This is based on the following:
-===
-Submitted By: LFS Book <lfs-book@linuxfromscratch.org>
-Date: 2003-10-05
-Initial Package Version: 0.2
-Origin: Slackware Source
-Description: Use mkstemp instead of mktemp.
-===
-However the original patch contained an error.
-mkstemp returns a file description, so when fopen ran, the file was opened twice.
-The correct change is to use fdopen with mkstemp.
-See gentoo bug #73858.
-diff -Naur ed-0.2/buf.c ed-0.2-2/buf.c
---- ed-0.2/buf.c Sat Nov 19 04:37:59 1994
-+++ ed-0.2-2/buf.c Tue May 28 18:38:23 2002
-@@ -200,13 +200,13 @@
- int
- open_sbuf ()
- {
-- char *mktemp ();
-- int u;
-+ int u, sfd;
-
- isbinary = newline_added = 0;
- u = umask(077);
- strcpy (sfn, "/tmp/ed.XXXXXX");
-- if (mktemp (sfn) == NULL || (sfp = fopen (sfn, "w+")) == NULL)
-+ sfd = mkstemp(sfn);
-+ if ((sfd == -1) || (sfp = fdopen (sfd, "w+")) == NULL)
- {
- fprintf (stderr, "%s: %s\n", sfn, strerror (errno));
- sprintf (errmsg, "Cannot open temp file");
diff --git a/sys-apps/ed/files/ed-0.2-configure-LANG.patch b/sys-apps/ed/files/ed-0.2-configure-LANG.patch
deleted file mode 100644
index 3cd794373d28..000000000000
--- a/sys-apps/ed/files/ed-0.2-configure-LANG.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
-option parsing, it may break.
-
-http://bugs.gentoo.org/126041
-
---- configure
-+++ configure
-@@ -34,6 +34,16 @@
- x_includes=NONE
- x_libraries=NONE
-
-+# NLS nuisances.
-+# Only set these to C if already set. These must not be set unconditionally
-+# because not all systems understand e.g. LANG=C (notably SCO).
-+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-+# Non-C LC_CTYPE values break the ctype check.
-+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
-+
- # Initialize some other variables.
- subdirs=
-
-@@ -316,13 +326,6 @@
- esac
- done
-
--# NLS nuisances.
--# Only set LANG and LC_ALL to C if already set.
--# These must not be set unconditionally because not all systems understand
--# e.g. LANG=C (notably SCO).
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
---- configure.orig 2006-03-13 20:46:45.000000000 -0500
-+++ configure 2006-03-13 20:47:17.000000000 -0500
-@@ -1600,6 +1600,7 @@
- fi; done
-
-
-+touch stamp-h
-
- exit 0
- EOF
diff --git a/sys-apps/ed/files/ed-0.4-build.patch b/sys-apps/ed/files/ed-0.4-build.patch
deleted file mode 100644
index 6ab4b15eaace..000000000000
--- a/sys-apps/ed/files/ed-0.4-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- configure
-+++ configure
-@@ -36,12 +36,8 @@
- infodir='$(datadir)/info'
- mandir='$(datadir)/man'
- sysconfdir='$(prefix)/etc'
--CC=
--CXX=
--CPPFLAGS=
--CFLAGS='-Wall -W -O2'
--CXXFLAGS='-Wall -W -O2'
--LDFLAGS=
-+CFLAGS="$CFLAGS -Wall -W"
-+CXXFLAGS="$CXXFLAGS -Wall -W"
-
- # Loop over all args
- while [ x"$1" != x ] ; do
---- Makefile.in
-+++ Makefile.in
-@@ -48,7 +48,7 @@
- if test ! -d $(DESTDIR)$(bindir) ; then $(INSTALL) -d $(DESTDIR)$(bindir) ; fi
- $(INSTALL_PROGRAM) ./$(progname) $(DESTDIR)$(bindir)/$(progname)
- -rm -f $(DESTDIR)$(bindir)/r$(progname)
-- cd $(DESTDIR)$(bindir) ; ln $(progname) r$(progname)
-+ cd $(DESTDIR)$(bindir) ; ln -s $(progname) r$(progname)
-
- install-info :
- if test ! -d $(DESTDIR)$(infodir) ; then $(INSTALL) -d $(DESTDIR)$(infodir) ; fi
diff --git a/sys-apps/ed/files/ed-0.4-configure-LANG.patch b/sys-apps/ed/files/ed-0.4-configure-LANG.patch
deleted file mode 100644
index 06d0031a980b..000000000000
--- a/sys-apps/ed/files/ed-0.4-configure-LANG.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure
-+++ configure
-@@ -14,6 +14,19 @@
- progversion=0.4
- srctrigger=ed.h
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ eval $as_var=C; export $as_var
-+ else
-+ unset $as_var
-+ fi
-+done
-+
- # clear some things potentially inherited from environment.
- srcdir=
- prefix=/usr/local