- Fix build with Clang.

PR:		184298
Submitted by:	avilla (myself)
Approved by:	itechbear@gmail.com (maintainer timeout)
This commit is contained in:
Alberto Villa 2013-12-16 22:07:24 +00:00
parent 3b44331810
commit 4ad4a33970
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336673
2 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,10 @@
--- ./src/edisassm/Instruction32.h.orig 2011-12-20 22:04:57.000000000 +0100
+++ ./src/edisassm/Instruction32.h 2013-11-20 18:01:17.389439581 +0100
@@ -290,7 +290,6 @@
template <int16_t IMM>
void Instruction<M>::decode_const_Iw(const uint8_t *buf) {
UNUSED(buf);
- UNUSED(size);
operand_t &operand = next_operand();

View file

@ -1,5 +1,5 @@
--- ./src/src.pro.orig 2011-12-12 21:27:25.000000000 +0000
+++ ./src/src.pro 2012-09-13 21:26:00.215566381 +0000
--- ./src/src.pro.orig 2011-12-12 22:27:25.000000000 +0100
+++ ./src/src.pro 2013-11-20 18:01:37.379434373 +0100
@@ -5,7 +5,7 @@
INCLUDEPATH += ./widgets ../include
RESOURCES = debugger.qrc
@ -9,3 +9,12 @@
INSTALLS += target
QT += xml
@@ -241,7 +241,7 @@
linux-g++*: QMAKE_LFLAGS += -rdynamic
openbsd-g++*: QMAKE_LFLAGS += -lkvm -Wl,--export-dynamic
- freebsd-g++*: QMAKE_LFLAGS += -lkvm -Wl,--export-dynamic
+ freebsd-*: QMAKE_LFLAGS += -lkvm -Wl,--export-dynamic
macx-g++*: QMAKE_LFLAGS += -rdynamic