aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethereal
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-05-13 13:46:41 +0800
committermarcus <marcus@FreeBSD.org>2005-05-13 13:46:41 +0800
commit15df6a53fa41bcdfb65de710e8eb54935d7605df (patch)
treecc97e1df3828b9d57e957bfe86d639ec0312a26a /net/ethereal
parent1923da506859cf69f7c552165a7e8e00de10e65e (diff)
downloadfreebsd-ports-gnome-15df6a53fa41bcdfb65de710e8eb54935d7605df.tar.gz
freebsd-ports-gnome-15df6a53fa41bcdfb65de710e8eb54935d7605df.tar.zst
freebsd-ports-gnome-15df6a53fa41bcdfb65de710e8eb54935d7605df.zip
Work around a GCC bug that prevented ethereal from linking when compiled
with optimizations above -O. See http://www.ethereal.com/lists/ethereal-dev/200505/msg00069.html for more details. Obtained from: Ethereal mailing list (see URL above) Reported by: many
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/files/patch-epan_dissectors_packet-diameter.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/ethereal/files/patch-epan_dissectors_packet-diameter.c b/net/ethereal/files/patch-epan_dissectors_packet-diameter.c
new file mode 100644
index 000000000000..3b19af4cc094
--- /dev/null
+++ b/net/ethereal/files/patch-epan_dissectors_packet-diameter.c
@@ -0,0 +1,23 @@
+diff -ruN ethereal.orig/files/patch-packet-diameter.c ethereal/files/patch-packet-diameter.c
+--- ethereal.orig/files/patch-packet-diameter.c Thu Jan 1 03:00:00 1970
++++ ethereal/files/patch-packet-diameter.c Thu May 12 03:30:32 2005
+@@ -0,0 +1,19 @@
++--- epan/dissectors/packet-diameter.c.orig Thu May 12 03:07:06 2005
+++++ epan/dissectors/packet-diameter.c Thu May 12 02:54:14 2005
++@@ -2022,13 +2022,13 @@
++ { "Flags", "diameter.flags", FT_UINT8, BASE_HEX, NULL, 0x0,
++ "", HFILL }},
++ { &hf_diameter_flags_request,
++- { "Request", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R,
+++ { "Request ", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R,
++ "", HFILL }},
++ { &hf_diameter_flags_proxyable,
++- { "Proxyable", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P,
+++ { "Proxyable ", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P,
++ "", HFILL }},
++ { &hf_diameter_flags_error,
++- { "Error","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E,
+++ { "Error ","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E,
++ "", HFILL }},
++ { &hf_diameter_flags_T,
++ { "T(Potentially re-transmitted message)","diameter.flags.T", FT_BOOLEAN, 8, TFS(&flags_set_truth),DIAM_FLAGS_T,