From be937562ad6da4f0b7e8743f5cd0a5f0d7a94440 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Fri, 16 Oct 2009 22:25:53 +0200 Subject: enable package smpeg to detect the FreeBSD amd64 build platform correctly (by Tony Theodore) --- src/smpeg-freebsd-amd64.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/smpeg-freebsd-amd64.patch diff --git a/src/smpeg-freebsd-amd64.patch b/src/smpeg-freebsd-amd64.patch new file mode 100644 index 0000000..f377341 --- /dev/null +++ b/src/smpeg-freebsd-amd64.patch @@ -0,0 +1,33 @@ +Copyright (C) 2009 Tony Theodore + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject +to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- smpeg-0.4.5+cvs20030824.orig/config.guess 2009-10-12 19:02:17.000000000 +1100 ++++ smpeg-0.4.5+cvs20030824/config.guess 2009-10-12 19:01:51.000000000 +1100 +@@ -723,6 +723,9 @@ + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; ++ amd64:FreeBSD:*:*) ++ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ exit 0 ;; + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; -- cgit v0.12