diff options
Diffstat (limited to 'community/opentracker/show-version.patch')
-rw-r--r-- | community/opentracker/show-version.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/opentracker/show-version.patch b/community/opentracker/show-version.patch new file mode 100644 index 00000000000..98a7f01f37b --- /dev/null +++ b/community/opentracker/show-version.patch @@ -0,0 +1,21 @@ +normally, these versions are filled in from cvs + +as we have just one tarball, replace that with +a static string, filled in by a sed in prepare() + +diff --git a/opentracker/ot_stats.c b/opentracker/ot_stats.c +index 7fc22de..e8f41a0 100644 +--- a/opentracker/ot_stats.c ++++ b/opentracker/ot_stats.c +@@ -563,10 +563,7 @@ extern const char + *g_version_scan_urlencoded_query_c, *g_version_trackerlogic_c, *g_version_livesync_c, *g_version_rijndael_c; + + size_t stats_return_tracker_version( char *reply ) { +- return sprintf( reply, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s", +- g_version_opentracker_c, g_version_accesslist_c, g_version_clean_c, g_version_fullscrape_c, g_version_http_c, +- g_version_iovec_c, g_version_mutex_c, g_version_stats_c, g_version_udp_c, g_version_vector_c, +- g_version_scan_urlencoded_query_c, g_version_trackerlogic_c, g_version_livesync_c, g_version_rijndael_c ); ++ return sprintf( reply, "%s", "%pkgver%\n" ); + } + + size_t return_stats_for_tracker( char *reply, int mode, int format ) { |