summaryrefslogtreecommitdiff
path: root/editors/fxite/files/patch-src_fxasq.h
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-02-16 08:12:16 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-02-16 08:12:16 +0000
commit60f61d1988e6e9ff69129fc09da760963a3236be (patch)
tree5f962027f6700e5595a5dc83cc812a8bdd7ffe35 /editors/fxite/files/patch-src_fxasq.h
parentnew port sysutils/getssl: Local LetsEncrypt client (diff)
Fix build with clang 6 (C++11 requires a space between literal and identifier)
Mark FOX17 option broken (Not related to clang 6 in particular, the FOX-1.7 API is ever changing due to being a development version. This project appears to be dead, so I'm not sure it is worth fixing.) recorder.cpp:104:9: error: no matching member function for call to 'prepend' NewMessage(); ^~~~~~~~~~~~ recorder.cpp:51:6: note: expanded from macro 'NewMessage' list.prepend((FXObject*)mm); ~~~~~^~~~~~~ /usr/local/include/fox-1.7/FXObjectList.h:256:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'MacroMessage *' for 1st argument FXbool prepend(TYPE* object){ return FXObjectList::prepend(object); } ^ /usr/local/include/fox-1.7/FXObjectList.h:265:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'const FXObjectListOf<MacroMessage>' for 1st argument FXbool prepend(const FXObjectListOf<TYPE>& objects){ return FXObjectList::prepend(objects); } ^ /usr/local/include/fox-1.7/FXObjectList.h:259:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE* object,FXival n){ return FXObjectList::prepend(object,n); } ^ /usr/local/include/fox-1.7/FXObjectList.h:262:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE** objects,FXival n){ return FXObjectList::prepend(objects,n); } ^ Rename/remake patches
Diffstat (limited to 'editors/fxite/files/patch-src_fxasq.h')
-rw-r--r--editors/fxite/files/patch-src_fxasq.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-src_fxasq.h b/editors/fxite/files/patch-src_fxasq.h
new file mode 100644
index 000000000000..d9032ca7f3ac
--- /dev/null
+++ b/editors/fxite/files/patch-src_fxasq.h
@@ -0,0 +1,29 @@
+--- src/fxasq.h.orig 2013-10-03 09:22:51 UTC
++++ src/fxasq.h
+@@ -17,8 +17,11 @@
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
++#ifndef FXASQ_H
++#define FXASQ_H
+
+ #include "fxasq_c.h"
++#include "compat.h"
+
+
+ class FxAsqWin: public FXObject {
+@@ -33,7 +36,7 @@ class FxAsqWin: public FXObject {
+ void AppendResult(const char*key, const char*value);
+ void PutResults();
+ protected:
+- FXDict keylist;
++ Dictionary keylist;
+ FXVerticalFrame *userbox;
+ public:
+
+@@ -55,4 +58,5 @@ class FxAsqWin: public FXObject {
+ void Color( const char*key, const char*value, const char*label);
+ void Font( const char*key, const char*value, const char*label);
+ };
++#endif
+