summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-19 03:01:19 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-19 03:01:19 +0000
commit58eadf4dc31f06a59de3683641252f5fc7ab211c (patch)
tree9a37053b5712200c33630d3c1934b1667ebb5817 /media-video
parentstable on sparc (diff)
downloadgentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.tar.gz
gentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.tar.bz2
gentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.zip
fix head -1 #36231
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild4
-rw-r--r--media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff6
-rw-r--r--media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff6
3 files changed, 8 insertions, 8 deletions
diff --git a/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild b/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
index 9c180b48d614..9929ffd235c9 100644
--- a/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
+++ b/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild,v 1.7 2003/11/20 02:29:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild,v 1.8 2004/01/19 03:01:19 vapier Exp $
At="mtxdrivers-rh9.0-0.3.0.run"
DESCRIPTION="Drviers for the Matrox Parhelia and Millenium P650/P750 cards."
@@ -26,7 +26,7 @@ pkg_nofetch() {
src_unpack() {
mkdir ${S}
cd ${S}
- tail -4434 "${DISTDIR}/${At}" | tar -xvzf -
+ tail -n 4434 "${DISTDIR}/${At}" | tar -xvzf -
}
src_compile() {
diff --git a/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff b/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
index 0f4e205ef305..c58673eede09 100644
--- a/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
+++ b/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
@@ -311,7 +311,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/Makefile.kbuild NVIDIA_kernel-1.0-4349-2.5/Make
+ cp $(src)/$(RESMAN_CORE_OBJS) $(obj)/$(RESMAN_CORE_OBJS)
+
+$(obj)/$(VERSION_HEADER):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(obj)/nv.o: $(obj)/$(VERSION_HEADER)
+
@@ -556,7 +556,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/Makefile.nvidia NVIDIA_kernel-1.0-4349-2.5/Make
+ ld -d -r -o $@ $(LINUX_MODULE) $(RESMAN_KERNEL_MODULE)
+
+$(VERSION_HDR):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(LINUX_MODULE): $(OBJECTS)
+ ld -r -o $@ $(OBJECTS)
@@ -620,7 +620,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/conftest.sh NVIDIA_kernel-1.0-4349-2.5/conftest
+
+ VERSION="^Linux version [^(]* (.*@.*) (\(.*\)) .*"
+ KERNEL=$(cat /proc/version | sed "s/$VERSION/\1/" | cut -d ' ' -f 3)
-+ MODULE=$($* -v 2>&1 | tail -1 | cut -d ' ' -f 3)
++ MODULE=$($* -v 2>&1 | tail -n 1 | cut -d ' ' -f 3)
+
+ if test "$KERNEL" != "$MODULE"; then
+ #
diff --git a/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff b/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
index 1bb862725c65..40993cd78d7f 100644
--- a/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
+++ b/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
@@ -325,7 +325,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/Makefile.kbuild NVIDIA_kernel-1.0-4363-2.5/Make
+ cp $(src)/$(RESMAN_CORE_OBJS) $(obj)/$(RESMAN_CORE_OBJS)
+
+$(obj)/$(VERSION_HEADER):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(obj)/nv.o: $(obj)/$(VERSION_HEADER)
+
@@ -570,7 +570,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/Makefile.nvidia NVIDIA_kernel-1.0-4363-2.5/Make
+ ld -d -r -o $@ $(LINUX_MODULE) $(RESMAN_KERNEL_MODULE)
+
+$(VERSION_HDR):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(LINUX_MODULE): $(OBJECTS)
+ ld -r -o $@ $(OBJECTS)
@@ -615,7 +615,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/conftest.sh NVIDIA_kernel-1.0-4363-2.5/conftest
+
+ VERSION="^Linux version [^(]* (.*@.*) (\(.*\)) .*"
+ KERNEL=$(cat /proc/version | sed "s/$VERSION/\1/" | cut -d ' ' -f 3)
-+ MODULE=$($* -v 2>&1 | tail -1 | cut -d ' ' -f 3)
++ MODULE=$($* -v 2>&1 | tail -n 1 | cut -d ' ' -f 3)
+
+ if test "$KERNEL" != "$MODULE"; then
+ #