Bug 185697 - net/libsocketcpp: Fix build with clang
Summary: net/libsocketcpp: Fix build with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 18:40 UTC by tkato432
Modified: 2014-01-14 21:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.21 KB, patch)
2014-01-12 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-01-12 18:40:01 UTC
- Fix build with clang
- Add LICENSE
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2014-01-14 21:08:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-14 21:09:34 UTC
Author: antoine
Date: Tue Jan 14 21:09:27 2014
New Revision: 339718
URL: http://svnweb.freebsd.org/changeset/ports/339718
QAT: https://qat.redports.org/buildarchive/r339718/

Log:
  - Fix build with clang
  - Add LICENSE
  
  PR:		ports/185697
  Submitted by:	KATO Tsuguru

Modified:
  head/net/libsocketcpp/Makefile
  head/net/libsocketcpp/files/patch-src::tcpservertest.cpp

Modified: head/net/libsocketcpp/Makefile
==============================================================================
--- head/net/libsocketcpp/Makefile	Tue Jan 14 20:54:57 2014	(r339717)
+++ head/net/libsocketcpp/Makefile	Tue Jan 14 21:09:27 2014	(r339718)
@@ -7,10 +7,11 @@ CATEGORIES=	net
 MASTER_SITES=	SF/libsocket/${PORTNAME}-stable/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A C++ wrapper library to the sockets
+COMMENT=	C++ wrapper library to the sockets
+
+LICENSE=	LGPL21 # (or later)
 
 USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>

Modified: head/net/libsocketcpp/files/patch-src::tcpservertest.cpp
==============================================================================
--- head/net/libsocketcpp/files/patch-src::tcpservertest.cpp	Tue Jan 14 20:54:57 2014	(r339717)
+++ head/net/libsocketcpp/files/patch-src::tcpservertest.cpp	Tue Jan 14 21:09:27 2014	(r339718)
@@ -1,5 +1,14 @@
 --- src/tcpservertest.cpp.orig	2012-12-03 14:28:35.000000000 +0100
 +++ src/tcpservertest.cpp	2012-12-03 14:28:46.000000000 +0100
+@@ -22,7 +22,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <unistd.h>
+ #include <sys/wait.h>
+ #include <sys/types.h>
 @@ -30,6 +30,7 @@
  
  #include "tcpsocket.h"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-14 21:11:32 UTC
Author: antoine
Date: Tue Jan 14 21:11:25 2014
New Revision: 339719
URL: http://svnweb.freebsd.org/changeset/ports/339719
QAT: https://qat.redports.org/buildarchive/r339719/

Log:
  MFH: r339718
  
  - Fix build with clang
  - Add LICENSE
  
  PR:		ports/185697
  Submitted by:	KATO Tsuguru
  Approved by:	portmgr (implicit)

Modified:
  branches/2014Q1/net/libsocketcpp/Makefile
  branches/2014Q1/net/libsocketcpp/files/patch-src::tcpservertest.cpp
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/net/libsocketcpp/Makefile
==============================================================================
--- branches/2014Q1/net/libsocketcpp/Makefile	Tue Jan 14 21:09:27 2014	(r339718)
+++ branches/2014Q1/net/libsocketcpp/Makefile	Tue Jan 14 21:11:25 2014	(r339719)
@@ -7,10 +7,11 @@ CATEGORIES=	net
 MASTER_SITES=	SF/libsocket/${PORTNAME}-stable/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A C++ wrapper library to the sockets
+COMMENT=	C++ wrapper library to the sockets
+
+LICENSE=	LGPL21 # (or later)
 
 USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>

Modified: branches/2014Q1/net/libsocketcpp/files/patch-src::tcpservertest.cpp
==============================================================================
--- branches/2014Q1/net/libsocketcpp/files/patch-src::tcpservertest.cpp	Tue Jan 14 21:09:27 2014	(r339718)
+++ branches/2014Q1/net/libsocketcpp/files/patch-src::tcpservertest.cpp	Tue Jan 14 21:11:25 2014	(r339719)
@@ -1,5 +1,14 @@
 --- src/tcpservertest.cpp.orig	2012-12-03 14:28:35.000000000 +0100
 +++ src/tcpservertest.cpp	2012-12-03 14:28:46.000000000 +0100
+@@ -22,7 +22,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <unistd.h>
+ #include <sys/wait.h>
+ #include <sys/types.h>
 @@ -30,6 +30,7 @@
  
  #include "tcpsocket.h"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2014-01-14 21:11:54 UTC
State Changed
From-To: open->closed

Patch committed to head and 2014Q1 branch, thanks!