Ticket #6164: fix-version.diff

File fix-version.diff, 1007 bytes (added by majost@…, 11 years ago)

Use version string generated by version.sh

  • 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  extern const char *myth_source_version;
     80  fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s\n.", myth_source_version);
    8081
    8182  (*dest) = NULL;
    8283  this = (dvdnav_t*)malloc(sizeof(dvdnav_t));
  • 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)