diff options
author | marcus <marcus@FreeBSD.org> | 2008-12-17 13:38:53 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-12-17 13:38:53 +0800 |
commit | db5005592f766c6ea77eb9cd2529ddbe328a9b2f (patch) | |
tree | a43852efed2260cfecf8953cd41a2309cf6561fe | |
parent | 9ddfe44ca6b624905f2186ac52122d769ad347aa (diff) | |
download | freebsd-ports-gnome-db5005592f766c6ea77eb9cd2529ddbe328a9b2f.tar.gz freebsd-ports-gnome-db5005592f766c6ea77eb9cd2529ddbe328a9b2f.tar.zst freebsd-ports-gnome-db5005592f766c6ea77eb9cd2529ddbe328a9b2f.zip |
Fix the build with glib-1.2 (e.g. the tshark build).
PR: 129675
-rw-r--r-- | net/wireshark/files/patch-epan_to_str.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/wireshark/files/patch-epan_to_str.c b/net/wireshark/files/patch-epan_to_str.c new file mode 100644 index 000000000000..d1f3ebb2ffaf --- /dev/null +++ b/net/wireshark/files/patch-epan_to_str.c @@ -0,0 +1,12 @@ +--- epan/to_str.c.orig 2008-12-17 00:32:48.000000000 -0500 ++++ epan/to_str.c 2008-12-16 21:00:31.000000000 -0500 +@@ -368,6 +368,9 @@ time_secs_to_str_buf(gint32 time, guint3 + const gchar *msign = ""; + gboolean do_comma = FALSE; + ++#ifndef G_MININT32 ++#define G_MININT32 G_MININT ++#endif + if(time == G_MININT32) { /* That Which Shall Not Be Negated */ + g_snprintf(buf, buf_len, "Unable to cope with time value %d", time); + return; |