33 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ffmpeg/uname-stderr.patch.disabled
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Our sandbox yields warnings on stderr about not to use uname in the build.
- Rene Rebe <rene@exactcode.de>
--- ffmpeg/configure.vanilla 2006-05-21 16:49:00.000000000 +0200
+++ ffmpeg/configure 2006-05-21 16:51:04.000000000 +0200
@@ -393,7 +395,7 @@
# From MPlayer configure. We need TARGET_OS available
# to the Makefile, so it can distinguish between flavors
# of AltiVec on PowerPC.
-TARGET_OS=`( uname -s ) 2>&1`
+TARGET_OS=`uname -s 2>/dev/null`
case "$TARGET_OS" in
Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU|BeOS|MorphOS)
;;