Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19119 Details for
Bug 30943
[dup] dev-lang/ocaml-3.0.6 relies on obsolete `head` flags.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix.
ocaml-obsolete-head.patch (text/plain), 2.06 KB, created by
James Harlow (RETIRED)
on 2003-10-11 21:11:50 UTC
(
hide
)
Description:
patch to fix.
Filename:
MIME Type:
Creator:
James Harlow (RETIRED)
Created:
2003-10-11 21:11:50 UTC
Size:
2.06 KB
patch
obsolete
>--- camlp4/tools/conv.sh.orig 2003-10-12 04:48:50.000000000 +0100 >+++ camlp4/tools/conv.sh 2003-10-12 04:49:34.000000000 +0100 >@@ -11,7 +11,7 @@ > shift > done > >-set - `head -1 $FILE` >+set - `head -n 1 $FILE` > if test "$2" = "camlp4r" -o "$2" = "camlp4"; then > COMM="$OTOP/boot/ocamlrun $DIR/../boot/$2 -nolib -I $DIR/../boot $INCL $DIR/../etc/pr_o.cmo" > shift; shift >--- camlp4/tools/apply.sh.orig 2003-10-12 04:49:57.000000000 +0100 >+++ camlp4/tools/apply.sh 2003-10-12 04:49:06.000000000 +0100 >@@ -11,9 +11,9 @@ > shift > done > >-head -1 $FILE >/dev/null || exit 1 >+head -n 1 $FILE >/dev/null || exit 1 > >-set - `head -1 $FILE` >+set - `head -n 1 $FILE` > if test "$2" = "camlp4r" -o "$2" = "camlp4"; then > COMM="../boot/$2 -nolib -I ../boot -I ../etc" > shift; shift >--- camlp4/tools/camlp4_comm.sh.orig 2003-10-12 04:49:00.000000000 +0100 >+++ camlp4/tools/camlp4_comm.sh 2003-10-12 04:49:45.000000000 +0100 >@@ -11,9 +11,9 @@ > shift > done > >-head -1 $FILE >/dev/null || exit 1 >+head -n 1 $FILE >/dev/null || exit 1 > >-set - `head -1 $FILE` >+set - `head -n 1 $FILE` > if test "$2" = "camlp4r" -o "$2" = "camlp4"; then > COMM="ocamlrun$EXE ../boot/$2$EXE -nolib -I ../boot" > if test "`basename $OTOP`" != "ocaml_stuff"; then >--- config/gnu/config.guess.orig 2003-10-12 04:49:14.000000000 +0100 >+++ config/gnu/config.guess 2003-10-12 04:50:23.000000000 +0100 >@@ -314,7 +314,7 @@ > echo m68k-sun-sunos${UNAME_RELEASE} > exit 0 ;; > sun*:*:4.2BSD:*) >- UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` >+ UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` > test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 > case "`/bin/arch`" in > sun3) >@@ -496,7 +496,7 @@ > fi > exit 0 ;; > *:AIX:*:[45]) >- IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` >+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'` > if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then > IBM_ARCH=rs6000 > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30943
: 19119