[mythtv] minor patches for compilation
Ruediger Oertel
ro at suse.de
Sun Apr 10 23:28:35 UTC 2005
Hi,
two minor things I came across trying to build mythtv:
1. specifying extra ldflags results in a syntax error from
configure (and the flags not being applied).
--- configure.orig 2005-04-11 01:23:11.000000000 +0200
+++ configure 2005-04-11 01:23:25.000000000 +0200
@@ -508,7 +508,7 @@
;;
--extra-cxxflags=*) ECXXFLAGS=${opt#--extra-cxxflags=}
;;
- --extra-ldflags=*) LDFLAGS=$LDFLAGS ${opt#--extra-ldflags=}
+ --extra-ldflags=*) LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
;;
--extra-libs=*) extralibs=${opt#--extra-libs=}
;;
2. fix a warning (non void function without return value):
--- filters/crop/filter_crop.c
+++ filters/crop/filter_crop.c
@@ -295,7 +295,7 @@
return 0;
}
#else // i386
-int cropMMX(VideoFilter *f, VideoFrame *frame) { (void)f; (void)frame; }
+int cropMMX(VideoFilter *f, VideoFrame *frame) { (void)f; (void)frame; return 0;}
#endif
VideoFilter *new_filter(VideoFrameType inpixfmt, VideoFrameType outpixfmt,
--
with kind regards (mit freundlichem Grinsen),
Ruediger Oertel (ro at novell.com,ro at suse.de,bugfinder at t-online.de)
----------------------------------------------------------------------
Linux galerkin 2.6.11.4-15-default #1 Tue Mar 22 13:32:26 UTC 2005 x86_64
Key fingerprint = 17DC 6553 86A7 384B 53C5 CA5C 3CE4 F2E7 23F2 B417
More information about the mythtv-dev
mailing list