From Eric Hall to fix bug 1289:

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1289

Rename 'svnversion' to 'wireshark_svnversion' to resolve a symbol conflict with
GTK 2.10.6 (hmm, shouldn't GTK not be exporting that symbol or at least naming
it so as to prevent such collisions? Well, so should we, so...)

From Andreas Fink: change #ifdef for size_t in airdcap_interop.h to fix
compile on MacOS X.


svn path=/trunk/; revision=20726
This commit is contained in:
Jeff Morriss 2007-02-06 02:27:59 +00:00
parent 41c66690fc
commit 0c17bfd3a8
7 changed files with 12 additions and 10 deletions

View File

@ -98,7 +98,7 @@ print_usage(gboolean print_ver) {
"Dumpcap " VERSION "%s\n"
"Capture network packets and dump them into a libpcap file.\n"
"See http://www.wireshark.org for more information.\n",
svnversion);
wireshark_svnversion);
} else {
output = stderr;
}
@ -149,7 +149,7 @@ show_version(GString *comp_info_str, GString *runtime_info_str)
"%s\n"
"%s\n"
"See http://www.wireshark.org for more information.\n",
svnversion, get_copyright_info() ,comp_info_str->str, runtime_info_str->str);
wireshark_svnversion, get_copyright_info() ,comp_info_str->str, runtime_info_str->str);
}
/*

View File

@ -86,8 +86,10 @@ typedef guchar UCHAR;
#endif
#ifndef size_t
#ifndef _SIZE_T
typedef gsize size_t;
#endif
#endif
#ifdef WIN32
#include <winsock2.h> /* ntohs() */

View File

@ -163,7 +163,7 @@ about_wireshark_page_new(void)
"Wireshark is Open Source Software released under the GNU General Public License.\n"
"\n"
"Check the man page and http://www.wireshark.org for more information.",
svnversion, get_copyright_info(), comp_info_str->str,
wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
msg_label = gtk_label_new(message);

View File

@ -1199,7 +1199,7 @@ print_usage(gboolean print_ver) {
"See http://www.wireshark.org for more information.\n"
"\n"
"%s",
svnversion, get_copyright_info());
wireshark_svnversion, get_copyright_info());
} else {
output = stderr;
}
@ -1286,7 +1286,7 @@ show_version(void)
"%s"
"\n"
"%s",
svnversion, get_copyright_info(), comp_info_str->str,
wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
#ifdef _WIN32

View File

@ -221,7 +221,7 @@ print_usage(gboolean print_ver)
"See http://www.wireshark.org for more information.\n"
"\n"
"%s",
svnversion, get_copyright_info());
wireshark_svnversion, get_copyright_info());
} else {
output = stderr;
}
@ -1071,7 +1071,7 @@ main(int argc, char *argv[])
"%s"
"\n"
"%s",
svnversion, get_copyright_info(), comp_info_str->str,
wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
exit(0);
break;

View File

@ -75,9 +75,9 @@
#endif
#ifdef SVNVERSION
const char *svnversion = " (" SVNVERSION ")";
const char *wireshark_svnversion = " (" SVNVERSION ")";
#else
const char *svnversion = "";
const char *wireshark_svnversion = "";
#endif
/*

View File

@ -33,7 +33,7 @@ extern "C" {
/*
* The svn version string or ""
*/
extern const gchar *svnversion;
extern const gchar *wireshark_svnversion;
/*
* Get various library compile-time versions and append them to