From a557de663f75ce2fff7be3b4d8aedc02056ed5a1 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 15 Nov 2007 22:22:16 +0000 Subject: Fix gcc 4.2 build. Approved by: portmgr (erwin) --- emulators/vxtools/files/patch-olt.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emulators/vxtools/files/patch-olt.c (limited to 'emulators/vxtools/files/patch-olt.c') diff --git a/emulators/vxtools/files/patch-olt.c b/emulators/vxtools/files/patch-olt.c new file mode 100644 index 000000000000..26330c7ce4f5 --- /dev/null +++ b/emulators/vxtools/files/patch-olt.c @@ -0,0 +1,11 @@ +--- olt.c.orig 2007-11-16 03:09:17.000000000 +0600 ++++ olt.c 2007-11-16 03:12:11.000000000 +0600 +@@ -85,7 +85,7 @@ + case VXFS_OLTSB: + break; + } +- (int) ent += ent->oltcommon.size; ++ ent = (char *) ent + ent->oltcommon.size; + } + + if (vxdebug) -- cgit v1.2.3