diff --git a/devel/mq4cpp/Makefile b/devel/mq4cpp/Makefile index 9396b3f9c45a..08d4f776f8d0 100644 --- a/devel/mq4cpp/Makefile +++ b/devel/mq4cpp/Makefile @@ -14,6 +14,7 @@ USE_AUTOTOOLS= libtool USES= pathfix pkgconfig USE_GNOME= ltverhack USE_BZIP2= yes +USE_DOS2UNIX= yes GNU_CONFIGURE= yes .include diff --git a/devel/mq4cpp/files/patch-include_Socket.h b/devel/mq4cpp/files/patch-include_Socket.h new file mode 100644 index 000000000000..233edf768f33 --- /dev/null +++ b/devel/mq4cpp/files/patch-include_Socket.h @@ -0,0 +1,11 @@ +--- include/Socket.h.orig 2013-09-14 18:46:04.000000000 +0800 ++++ include/Socket.h 2013-09-14 18:46:17.000000000 +0800 +@@ -30,6 +30,8 @@ + #else + #include + #include ++#include ++#include + typedef int SOCKET; + #endif + diff --git a/devel/mq4cpp/files/patch-include_Trace.h b/devel/mq4cpp/files/patch-include_Trace.h index 28b400e13e49..b28477600f8a 100644 --- a/devel/mq4cpp/files/patch-include_Trace.h +++ b/devel/mq4cpp/files/patch-include_Trace.h @@ -1,11 +1,11 @@ ---- include/Trace.h.orig Sat Mar 17 01:42:59 2007 -+++ include/Trace.h Thu Aug 9 17:17:25 2007 -@@ -92,7 +92,7 @@ - } - #else - #define TRACE(a) \ -- cout << __FILE__ << "(" << __LINE__ << ") #" << (int)pthread_self() << ": " << a << endl; -+ cout << __FILE__ << "(" << __LINE__ << ") #" << pthread_self() << ": " << a << endl; - #endif - #else - #define TRACE(a) ; +--- include/Trace.h.orig 2013-09-14 18:46:21.000000000 +0800 ++++ include/Trace.h 2013-09-14 18:46:41.000000000 +0800 +@@ -92,7 +92,7 @@ class DebugStream : public ostream + } + #else + #define TRACE(a) \ +- cout << __FILE__ << "(" << __LINE__ << ") #" << (int)pthread_self() << ": " << a << endl; ++ cout << __FILE__ << "(" << __LINE__ << ") #" << pthread_self() << ": " << a << endl; + #endif + #else + #define TRACE(a) ;