diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-10-16 20:25:53 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-10-16 20:25:53 (GMT) |
commit | be937562ad6da4f0b7e8743f5cd0a5f0d7a94440 (patch) | |
tree | cdb9635c2622692eff3abf86232e4b607d729d1e /src/smpeg-freebsd-amd64.patch | |
parent | af8eb115ea8fab9c77f5a2604a877be82aded332 (diff) | |
download | mxe-be937562ad6da4f0b7e8743f5cd0a5f0d7a94440.zip mxe-be937562ad6da4f0b7e8743f5cd0a5f0d7a94440.tar.gz mxe-be937562ad6da4f0b7e8743f5cd0a5f0d7a94440.tar.bz2 |
enable package smpeg to detect the FreeBSD amd64 build platform correctly (by Tony Theodore)
Diffstat (limited to 'src/smpeg-freebsd-amd64.patch')
-rw-r--r-- | src/smpeg-freebsd-amd64.patch | 33 |
1 files changed, 33 insertions, 0 deletions
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 ;; |