Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 20 years ago
parent
commit
2f9d69f0ee
2 changed files with 2 additions and 61 deletions
  1. +0
    -59
      package/mathieu/ocaml/head1.patch
  2. +2
    -2
      package/mathieu/ocaml/ocaml.desc

+ 0
- 59
package/mathieu/ocaml/head1.patch

@ -1,59 +0,0 @@
--- ./camlp4/tools/conv.sh 2002-07-23 16:11:49.000000000 +0200
+++ /tmp/tmp.vfnXD18380 2004-05-20 14:24:03.000000000 +0200
@@ -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/camlp4_comm.sh 2003-07-10 14:28:35.000000000 +0200
+++ /tmp/tmp.vfnXD18380 2004-05-20 14:24:03.000000000 +0200
@@ -13,9 +13,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
--- ./camlp4/tools/apply.sh 2002-07-23 16:11:49.000000000 +0200
+++ /tmp/tmp.vfnXD18380 2004-05-20 14:24:03.000000000 +0200
@@ -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
--- ./config/gnu/config.guess 2001-06-25 16:37:26.000000000 +0200
+++ /tmp/tmp.vfnXD18380 2004-05-20 14:24:03.000000000 +0200
@@ -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

+ 2
- 2
package/mathieu/ocaml/ocaml.desc

@ -40,8 +40,8 @@
[L] LGPL
[S] Stable
[V] 3.07pl2
[V] 3.08.1
[P] X -?---5---9 191.900
[D] 3181982567 ocaml-3.07pl2.tar.gz http://caml.inria.fr/distrib/ocaml-3.07/
[D] 2301987583 ocaml-3.08.1.tar.gz http://caml.inria.fr/distrib/ocaml-3.08/

Loading…
Cancel
Save