summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-03 16:09:22 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-03 16:09:22 +0000
commit94db4c5900b36bd0afdf3c58e409ccb8db9db076 (patch)
tree3bbece1e132b9320b544a557be2e97acc718bbf0 /net-mail/checkpassword/files
parentcleanup (diff)
downloadgentoo-2-94db4c5900b36bd0afdf3c58e409ccb8db9db076.tar.gz
gentoo-2-94db4c5900b36bd0afdf3c58e409ccb8db9db076.tar.bz2
gentoo-2-94db4c5900b36bd0afdf3c58e409ccb8db9db076.zip
head -1 patch
Diffstat (limited to 'net-mail/checkpassword/files')
-rw-r--r--net-mail/checkpassword/files/0.90-head-1.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-mail/checkpassword/files/0.90-head-1.patch b/net-mail/checkpassword/files/0.90-head-1.patch
new file mode 100644
index 000000000000..08e54297de4e
--- /dev/null
+++ b/net-mail/checkpassword/files/0.90-head-1.patch
@@ -0,0 +1,39 @@
+diff -ur checkpassword-0.90.orig/Makefile checkpassword-0.90/Makefile
+--- checkpassword-0.90.orig/Makefile 2003-09-03 12:06:23.225291952 -0400
++++ checkpassword-0.90/Makefile 2003-09-03 12:06:29.578326144 -0400
+@@ -22,7 +22,7 @@
+
+ auto_home.c: \
+ auto-str conf-home
+- ./auto-str auto_home `head -1 conf-home` > auto_home.c
++ ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
+
+ auto_home.o: \
+ compile auto_home.c
+@@ -91,7 +91,7 @@
+ choose: \
+ warn-auto.sh choose.sh conf-home
+ cat warn-auto.sh choose.sh \
+- | sed s}HOME}"`head -1 conf-home`"}g \
++ | sed s}HOME}"`head -n 1 conf-home`"}g \
+ > choose
+ chmod 755 choose
+
+@@ -166,7 +166,7 @@
+ warn-auto.sh conf-ld
+ ( cat warn-auto.sh; \
+ echo 'main="$$1"; shift'; \
+- echo exec "`head -1 conf-ld`" \
++ echo exec "`head -n 1 conf-ld`" \
+ '-o "$$main" "$$main".o $${1+"$$@"}' \
+ ) > load
+ chmod 755 load
+diff -ur checkpassword-0.90.orig/print-cc.sh checkpassword-0.90/print-cc.sh
+--- checkpassword-0.90.orig/print-cc.sh 2003-09-03 12:06:23.227291648 -0400
++++ checkpassword-0.90/print-cc.sh 2003-09-03 12:06:34.308607032 -0400
+@@ -1,4 +1,4 @@
+-cc="`head -1 conf-cc`"
++cc="`head -n 1 conf-cc`"
+ systype="`cat systype`"
+
+ cat warn-auto.sh