svn commit: r335377 - head/devel/gdb/files
William Grzybowski
wg at FreeBSD.org
Sun Dec 1 12:32:14 UTC 2013
Author: wg
Date: Sun Dec 1 12:32:13 2013
New Revision: 335377
URL: http://svnweb.freebsd.org/changeset/ports/335377
Log:
devel/gdb: fix build with gcc 4.8
PR: ports/184119
Submitted by: maintainer
Added:
head/devel/gdb/files/patch-opcodes-rl78-dis.c (contents, props changed)
Added: head/devel/gdb/files/patch-opcodes-rl78-dis.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gdb/files/patch-opcodes-rl78-dis.c Sun Dec 1 12:32:13 2013 (r335377)
@@ -0,0 +1,11 @@
+--- opcodes/rl78-dis.c.orig 2013-11-20 14:18:22.940364966 +0100
++++ opcodes/rl78-dis.c 2013-11-20 15:25:32.745367278 +0100
+@@ -217,7 +217,7 @@
+
+ case '0':
+ case '1':
+- oper = opcode.op + *s - '0';
++ oper = *s == '0' ? &opcode.op[0] : &opcode.op[1];
+ if (do_es)
+ {
+ if (oper->use_es && indirect_type (oper->type))
More information about the svn-ports-head
mailing list