Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 30943
Collapse All | Expand All

(-)camlp4/tools/conv.sh.orig (-1 / +1 lines)
Lines 11-17 Link Here
11
        shift
11
        shift
12
done
12
done
13
13
14
set - `head -1 $FILE`
14
set - `head -n 1 $FILE`
15
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
15
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
16
        COMM="$OTOP/boot/ocamlrun $DIR/../boot/$2 -nolib -I $DIR/../boot $INCL $DIR/../etc/pr_o.cmo"
16
        COMM="$OTOP/boot/ocamlrun $DIR/../boot/$2 -nolib -I $DIR/../boot $INCL $DIR/../etc/pr_o.cmo"
17
        shift; shift
17
        shift; shift
(-)camlp4/tools/apply.sh.orig (-2 / +2 lines)
Lines 11-19 Link Here
11
        shift
11
        shift
12
done
12
done
13
13
14
head -1 $FILE >/dev/null || exit 1
14
head -n 1 $FILE >/dev/null || exit 1
15
15
16
set - `head -1 $FILE`
16
set - `head -n 1 $FILE`
17
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
17
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
18
        COMM="../boot/$2 -nolib -I ../boot -I ../etc"
18
        COMM="../boot/$2 -nolib -I ../boot -I ../etc"
19
        shift; shift
19
        shift; shift
(-)camlp4/tools/camlp4_comm.sh.orig (-2 / +2 lines)
Lines 11-19 Link Here
11
        shift
11
        shift
12
done
12
done
13
13
14
head -1 $FILE >/dev/null || exit 1
14
head -n 1 $FILE >/dev/null || exit 1
15
15
16
set - `head -1 $FILE`
16
set - `head -n 1 $FILE`
17
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
17
if test "$2" = "camlp4r" -o "$2" = "camlp4"; then
18
        COMM="ocamlrun$EXE ../boot/$2$EXE -nolib -I ../boot"
18
        COMM="ocamlrun$EXE ../boot/$2$EXE -nolib -I ../boot"
19
        if test "`basename $OTOP`" != "ocaml_stuff"; then
19
        if test "`basename $OTOP`" != "ocaml_stuff"; then
(-)config/gnu/config.guess.orig (-2 / +2 lines)
Lines 314-320 Link Here
314
	echo m68k-sun-sunos${UNAME_RELEASE}
314
	echo m68k-sun-sunos${UNAME_RELEASE}
315
	exit 0 ;;
315
	exit 0 ;;
316
    sun*:*:4.2BSD:*)
316
    sun*:*:4.2BSD:*)
317
	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
317
	UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
318
	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
318
	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
319
	case "`/bin/arch`" in
319
	case "`/bin/arch`" in
320
	    sun3)
320
	    sun3)
Lines 496-502 Link Here
496
	fi
496
	fi
497
	exit 0 ;;
497
	exit 0 ;;
498
    *:AIX:*:[45])
498
    *:AIX:*:[45])
499
	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
499
	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
500
	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
500
	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
501
		IBM_ARCH=rs6000
501
		IBM_ARCH=rs6000
502
	else
502
	else

Return to bug 30943