Ticket #6164: compile_problem_around_version_var.diff

File compile_problem_around_version_var.diff, 1.7 KB (added by skamithi, 11 years ago)

compile problem around version define variable in libmythdvdnav. move it to dvdnav.h

  • libs/libmythdvdnav/dvdnav/dvdnav.c

     
    7676  struct timeval time;
    7777
    7878  /* Create a new structure */
    79   fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s\n", VERSION);
     79  fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s\n", DVDNAV_SVN_REV);
    8080
    8181  (*dest) = NULL;
    8282  this = (dvdnav_t*)malloc(sizeof(dvdnav_t));
  • libs/libmythdvdnav/dvdnav/dvdnav.h

     
    2828
    2929#define MP_DVDNAV 1
    3030
     31// Change this only when syncing to mplayer dvdnav trunk
     32#define DVDNAV_SVN_REV "1166"
     33
    3134#ifdef __cplusplus
    3235extern "C" {
    3336#endif
  • libs/libmythdvdnav/libmythdvdnav.pro

     
    1616
    1717DEFINES += HAVE_AV_CONFIG_H _LARGEFILE_SOURCE
    1818
    19 DEFINES += VERSION=\\\"svnR1166\\\"
    20 
    2119# DEFINES += LOG_DEBUG TRACE
    2220
    2321QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2)
  • libs/libmythdvdnav/README

     
     1using dvdnav from the mplayer project.
     2
     3Feb 22nd 2009
     4current svn rev 1166.
     5
     6when doing a resync, pls update the DVDNAV_SVN_REV constant
     7in dvdnav.h
     8