[MPlayer-dev-eng] [PATCH] Make libfaad version-mangling work with non-gnu sed

Michael Gernoth simigern at stud.uni-erlangen.de
Sat Sep 6 01:03:59 CEST 2003


Hi,
it seems that running configure from current cvs (and 1.0pre1)
on solaris produces the line
#define FAADVERSION
in config.h. This is because the solaris sed needs a newline
after its input line.

Attached is the (trivial) patch.

Regards,
  Michael
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.760
diff -u -r1.760 configure
--- configure	2 Sep 2003 14:36:26 -0000	1.760
+++ configure	5 Sep 2003 23:28:35 -0000
@@ -4315,9 +4315,9 @@
 #endif
 int main(void) {
 #ifdef FAAD2_VERSION
-  printf("%s",FAAD2_VERSION);
+  printf("%s\n",FAAD2_VERSION);
 #else
-  printf("1.0");
+  printf("1.0\n");
 #endif
   return 0;
 }


More information about the MPlayer-dev-eng mailing list