Commit 98fa2b024b8f471333c894a6aca4722b5d20cc05

Authored by Perry Werneck
1 parent f7da3321
Exists in master and in 1 other branch develop

Changing type of the PACKAGE_RELEASE macro to allow non numeric values.

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
configure.ac
... ... @@ -166,7 +166,7 @@ AC_ARG_WITH([release], [AS_HELP_STRING([--with-release], [Set release])], [ app_
166 166 app_rls_major=$(echo $app_cv_release.0.0 | cut -d. -f1)
167 167 app_rls_minor=$(echo $app_cv_release.0.0 | cut -d. -f2)
168 168  
169   -AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, $app_cv_release)
  169 +AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, "$app_cv_release")
170 170 AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major)
171 171 AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor)
172 172  
... ...
src/trace/trace.c
... ... @@ -443,7 +443,7 @@
443 443  
444 444 lib3270_autoptr(char) lib3270_version = lib3270_get_version_info();
445 445 gtk_text_buffer_insert(buffer,&itr,lib3270_version,-1);
446   - gtk_text_buffer_insert(buffer,&itr,"\n" PACKAGE_NAME " version " PACKAGE_VERSION "-" G_STRINGIFY(PACKAGE_RELEASE) " build " G_STRINGIFY(RPQ_TIMESTAMP) "\n\n",-1);
  446 + gtk_text_buffer_insert(buffer,&itr,"\n" PACKAGE_NAME " version " PACKAGE_VERSION "-" PACKAGE_RELEASE " build " G_STRINGIFY(RPQ_TIMESTAMP) "\n\n",-1);
447 447  
448 448  
449 449 }
... ...