Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 10:50:16 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327264 - in head/devel/mq4cpp: . files
Message-ID:  <201309141050.r8EAoGJr050857@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Sep 14 10:50:16 2013
New Revision: 327264
URL: http://svnweb.freebsd.org/changeset/ports/327264

Log:
  Fix build on -current.

Added:
  head/devel/mq4cpp/files/patch-include_Socket.h   (contents, props changed)
Modified:
  head/devel/mq4cpp/Makefile
  head/devel/mq4cpp/files/patch-include_Trace.h

Modified: head/devel/mq4cpp/Makefile
==============================================================================
--- head/devel/mq4cpp/Makefile	Sat Sep 14 10:45:36 2013	(r327263)
+++ head/devel/mq4cpp/Makefile	Sat Sep 14 10:50:16 2013	(r327264)
@@ -14,6 +14,7 @@ USE_AUTOTOOLS=	libtool
 USES=		pathfix pkgconfig
 USE_GNOME=	ltverhack
 USE_BZIP2=	yes
+USE_DOS2UNIX=	yes
 GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>

Added: head/devel/mq4cpp/files/patch-include_Socket.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mq4cpp/files/patch-include_Socket.h	Sat Sep 14 10:50:16 2013	(r327264)
@@ -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 <netinet/in.h>
+ #include <sys/socket.h>
++#include <sys/select.h>
++#include <unistd.h>
+ typedef int SOCKET;
+ #endif
+ 

Modified: head/devel/mq4cpp/files/patch-include_Trace.h
==============================================================================
--- head/devel/mq4cpp/files/patch-include_Trace.h	Sat Sep 14 10:45:36 2013	(r327263)
+++ head/devel/mq4cpp/files/patch-include_Trace.h	Sat Sep 14 10:50:16 2013	(r327264)
@@ -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) ;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309141050.r8EAoGJr050857>