From owner-svn-ports-all@FreeBSD.ORG Mon Dec 3 13:33:30 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 343DBB9B; Mon, 3 Dec 2012 13:33:30 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F34888FC0C; Mon, 3 Dec 2012 13:33:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3DXTH1039533; Mon, 3 Dec 2012 13:33:29 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB3DXTpw039530; Mon, 3 Dec 2012 13:33:29 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201212031333.qB3DXTpw039530@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 3 Dec 2012 13:33:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308150 - in head/net/libsocketcpp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 13:33:30 -0000 Author: gahr Date: Mon Dec 3 13:33:29 2012 New Revision: 308150 URL: http://svnweb.freebsd.org/changeset/ports/308150 Log: - Fix build with clang - Trim Makefile header Feature safe: yes Added: head/net/libsocketcpp/files/patch-src::tcpservertest.cpp (contents, props changed) Modified: head/net/libsocketcpp/Makefile (contents, props changed) head/net/libsocketcpp/files/patch-src::tcptest.cpp (contents, props changed) Modified: head/net/libsocketcpp/Makefile ============================================================================== --- head/net/libsocketcpp/Makefile Mon Dec 3 13:19:26 2012 (r308149) +++ head/net/libsocketcpp/Makefile Mon Dec 3 13:33:29 2012 (r308150) @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: libsocketcpp -# Date created: Aug 12, 2001 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= libsocketcpp PORTVERSION= 1.0.7 Added: head/net/libsocketcpp/files/patch-src::tcpservertest.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libsocketcpp/files/patch-src::tcpservertest.cpp Mon Dec 3 13:33:29 2012 (r308150) @@ -0,0 +1,17 @@ +--- src/tcpservertest.cpp.orig 2012-12-03 14:28:35.000000000 +0100 ++++ src/tcpservertest.cpp 2012-12-03 14:28:46.000000000 +0100 +@@ -30,6 +30,7 @@ + + #include "tcpsocket.h" + ++int + main() { + printf("\r\nInit Object..."); + TCPSocket *MyServerSocket = new TCPSocket; +@@ -67,5 +68,6 @@ + while(waitpid(-1, NULL, WNOHANG) > 0); + } + ++ return 0; + } + Modified: head/net/libsocketcpp/files/patch-src::tcptest.cpp ============================================================================== --- head/net/libsocketcpp/files/patch-src::tcptest.cpp Mon Dec 3 13:19:26 2012 (r308149) +++ head/net/libsocketcpp/files/patch-src::tcptest.cpp Mon Dec 3 13:33:29 2012 (r308150) @@ -1,12 +1,22 @@ -$FreeBSD$ - ---- src/tcptest.cpp.orig Sun Jun 9 16:03:19 2002 -+++ src/tcptest.cpp Sun Jun 9 16:03:31 2002 -@@ -22,6 +22,7 @@ +--- src/tcptest.cpp.orig 2001-02-16 19:45:31.000000000 +0100 ++++ src/tcptest.cpp 2012-12-03 14:27:37.000000000 +0100 +@@ -22,8 +22,10 @@ #include #include #include +#include #include "tcpsocket.h" ++int main() { + char *Host = new char[100]; + char *Buffer = new char[2048]; +@@ -62,6 +64,8 @@ + delete [] Buffer; + delete [] Host; + delete [] TempMsg; ++ ++ return 0; + } + +