annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1474
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
1 This file is part of mingw-cross-env.
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
2 See doc/index.html for further information.
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
3
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
4 This patch has been taken from:
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
5 http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d569bf420d5f915c6a3901b193b69757991f4da8
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
6
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
7 diff --git a/configure.ac b/configure.ac
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
8 index 7a1d69f..7d0dd5c 100644
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
9 --- a/configure.ac
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
10 +++ b/configure.ac
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
11 @@ -236,7 +236,7 @@ AC_LANG_PUSH([C++])
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
12 AC_TRY_COMPILE([ class Foo { int bar; };], , working_cxx=yes, working_cxx=no)
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
13 AC_LANG_POP([C++])
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
14 AC_MSG_NOTICE([working c++ compiler found: $working_cxx])
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
15 -AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" == "xyes")
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
16 +AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes")
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
17
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
18 dnl Perl is used in building documentation and in the version checks
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
19 AC_PATH_PROG(PERL_PATH, perl, no)
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
20
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
21 http://cgit.freedesktop.org/gstreamer/common/commit/?id=9aa18ac420a19332ec215be14a6b966cc45948cf
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
22
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
23 diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
24 index e0b9334..126919b 100644
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
25 --- a/common/m4/gst-package-release-datetime.m4
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
26 +++ b/common/m4/gst-package-release-datetime.m4
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
27 @@ -37,7 +37,7 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME],
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
28 GST_PACKAGE_RELEASE_DATETIME=$1
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
29 else
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
30 dnl we assume the .doap file contains the date as YYYY-MM-DD
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
31 - YYYY_MM_DD=`. "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
32 + YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
33 if test "x$YYYY_MM_DD" != "x"; then
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
34 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
fc0c8dbcc6a8 portability fix for package gstreamer and plugins using upstream patches
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
35 else