Mercurial > mxe-octave
diff src/gstreamer-1-fix-sh.patch @ 1474:fc0c8dbcc6a8
portability fix for package gstreamer and plugins using upstream patches
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Sun, 05 Dec 2010 22:14:01 +1100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/gstreamer-1-fix-sh.patch Sun Dec 05 22:14:01 2010 +1100 @@ -0,0 +1,35 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: +http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d569bf420d5f915c6a3901b193b69757991f4da8 + +diff --git a/configure.ac b/configure.ac +index 7a1d69f..7d0dd5c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -236,7 +236,7 @@ AC_LANG_PUSH([C++]) + AC_TRY_COMPILE([ class Foo { int bar; };], , working_cxx=yes, working_cxx=no) + AC_LANG_POP([C++]) + AC_MSG_NOTICE([working c++ compiler found: $working_cxx]) +-AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" == "xyes") ++AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes") + + dnl Perl is used in building documentation and in the version checks + AC_PATH_PROG(PERL_PATH, perl, no) + +http://cgit.freedesktop.org/gstreamer/common/commit/?id=9aa18ac420a19332ec215be14a6b966cc45948cf + +diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4 +index e0b9334..126919b 100644 +--- a/common/m4/gst-package-release-datetime.m4 ++++ b/common/m4/gst-package-release-datetime.m4 +@@ -37,7 +37,7 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME], + GST_PACKAGE_RELEASE_DATETIME=$1 + else + dnl we assume the .doap file contains the date as YYYY-MM-DD +- YYYY_MM_DD=`. "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`; ++ YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`; + if test "x$YYYY_MM_DD" != "x"; then + GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD + else