Mercurial > mxe-octave
view src/libircclient-1-fixes.patch @ 4222:44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
* src/qt5.mk: new file
* src/qtbase-1-fixes.patch: new file
* src/qtbase.mk: new file
* src/qtimageformats-1.patch: new file
* src/qtimageformats.mk: new file
* src/qtsvg.mk: new file
* src/qttools-1.patch: new file
* added src/qttools.mk: new file
* changed Makefile.in: added ENABLE_QT5 option
* configure.ac: added enable-qt5 option
* index.html: added new files to packages
* installer-files/octave-firsttime.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.bat: added setup of qt5 bin path
* src/default-octave.mk: added settig fot qt5 usage
* src/qscintilla.mk: added qt5 path
author | John D |
---|---|
date | Thu, 29 Sep 2016 11:22:51 -0400 |
parents | 99516e73b368 |
children |
line wrap: on
line source
This file is part of MXE. See index.html for further information. Contains ad hoc patches for cross building. From 06b27e262de1d156ea31b52762ed372211b72de9 Mon Sep 17 00:00:00 2001 From: MXE Date: Mon, 23 Jan 2012 08:26:14 +0100 Subject: [PATCH 1/2] use the proper WIN32 define diff --git a/examples/censor.cpp b/examples/censor.cpp index 0c15f4c..c784040 100644 --- a/examples/censor.cpp +++ b/examples/censor.cpp @@ -32,7 +32,7 @@ #include <errno.h> #include <string.h> -#if !defined (WIN32) +#if !defined (_WIN32) #include <unistd.h> #endif diff --git a/examples/irctest.c b/examples/irctest.c index bd6dbc3..08d2ba7 100644 --- a/examples/irctest.c +++ b/examples/irctest.c @@ -51,7 +51,7 @@ void addlog (const char * fmt, ...) va_list va_alist; va_start (va_alist, fmt); -#if defined (WIN32) +#if defined (_WIN32) _vsnprintf (buf, sizeof(buf), fmt, va_alist); #else vsnprintf (buf, sizeof(buf), fmt, va_alist); diff --git a/examples/spammer.c b/examples/spammer.c index ae9c2c7..2a0861b 100644 --- a/examples/spammer.c +++ b/examples/spammer.c @@ -17,7 +17,7 @@ #include <errno.h> #include <string.h> -#if defined (WIN32) +#if defined (_WIN32) #include <windows.h> #define CREATE_THREAD(id,func,param) (CreateThread(0, 0, func, param, 0, id) == 0) diff --git a/include/libircclient.h b/include/libircclient.h index 2dcd44c..af7d769 100644 --- a/include/libircclient.h +++ b/include/libircclient.h @@ -44,7 +44,7 @@ #ifndef INCLUDE_LIBIRC_H #define INCLUDE_LIBIRC_H -#if !defined (WIN32) +#if !defined (_WIN32) #include <sys/select.h> /* fd_set */ #else #include <winsock2.h> -- 1.7.8.3 From 1a54c4dda67b99c1c0c0c68b45a395b741cb7030 Mon Sep 17 00:00:00 2001 From: MXE Date: Sun, 22 Jan 2012 22:39:23 +0100 Subject: [PATCH 2/2] fix missing header diff --git a/include/libircclient.h b/include/libircclient.h index af7d769..57c8516 100644 --- a/include/libircclient.h +++ b/include/libircclient.h @@ -131,6 +131,7 @@ typedef void (*irc_dcc_callback_t) (irc_session_t * session, irc_dcc_t id, int s #include "libirc_errors.h" #include "libirc_events.h" #include "libirc_options.h" +#include "libirc_rfcnumeric.h" #undef IN_INCLUDE_LIBIRC_H -- 1.7.8.3