Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 03:20:01 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/185697: net/libsocketcpp: Fix build with clang
Message-ID:  <20140113032001.c336e93a530671b88cee6010@yahoo.com>
Resent-Message-ID: <201401121840.s0CIe2SU049324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185697
>Category:       ports
>Synopsis:       net/libsocketcpp: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 12 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/libsocketcpp/Makefile net/libsocketcpp/Makefile
--- /usr/ports/net/libsocketcpp/Makefile	2013-11-06 21:53:28.000000000 +0900
+++ net/libsocketcpp/Makefile	2014-01-13 00:00:00.000000000 +0900
@@ -7,10 +7,11 @@
 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>
diff -urN /usr/ports/net/libsocketcpp/files/patch-src::tcpservertest.cpp net/libsocketcpp/files/patch-src::tcpservertest.cpp
--- /usr/ports/net/libsocketcpp/files/patch-src::tcpservertest.cpp	2013-11-06 21:53:28.000000000 +0900
+++ net/libsocketcpp/files/patch-src::tcpservertest.cpp	2014-01-13 00:00:00.000000000 +0900
@@ -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"
>Release-Note:
>Audit-Trail:
>Unformatted:



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