From owner-svn-ports-all@FreeBSD.ORG Sun Aug 12 09:36:31 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50AA7106564A; Sun, 12 Aug 2012 09:36:31 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 21AEA8FC15; Sun, 12 Aug 2012 09:36:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7C9aUGE063649; Sun, 12 Aug 2012 09:36:30 GMT (envelope-from itetcu@svn.freebsd.org) Received: (from itetcu@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7C9aUSN063645; Sun, 12 Aug 2012 09:36:30 GMT (envelope-from itetcu@svn.freebsd.org) Message-Id: <201208120936.q7C9aUSN063645@svn.freebsd.org> From: Ion-Mihai Tetcu Date: Sun, 12 Aug 2012 09:36:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302431 - in head/audio/cpige: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 12 Aug 2012 09:36:31 -0000 Author: itetcu Date: Sun Aug 12 09:36:30 2012 New Revision: 302431 URL: http://svn.freebsd.org/changeset/ports/302431 Log: - fix looking up the host name addresses on 64 bits platforms (use in_addr_t instead of long and check it against INADDR_NONE) - adjust MASTERSITES and WWW Please note that the project is dead upstream. PR: 165481 Submitted by: Howard Goldstein Added: head/audio/cpige/files/patch-mynet.c (contents, props changed) Modified: head/audio/cpige/Makefile (contents, props changed) head/audio/cpige/pkg-descr (contents, props changed) Modified: head/audio/cpige/Makefile ============================================================================== --- head/audio/cpige/Makefile Sun Aug 12 09:14:06 2012 (r302430) +++ head/audio/cpige/Makefile Sun Aug 12 09:36:30 2012 (r302431) @@ -7,9 +7,10 @@ PORTNAME= cpige DISTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= http://ed.zehome.com/cpige/ \ - http://T32.TecNik93.com/FreeBSD/ports/sources/cpige/ +MASTER_SITES= http://old.ed.zehome.com/cpige/ \ + http://T32.TecNik93.com/FreeBSD/ports/cpige/sources/ MAINTAINER= itetcu@FreeBSD.org COMMENT= Icecast/Shoutcast stream ripper Added: head/audio/cpige/files/patch-mynet.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cpige/files/patch-mynet.c Sun Aug 12 09:36:30 2012 (r302431) @@ -0,0 +1,20 @@ +--- ./mynet.c.orig 2006-08-20 17:51:17.000000000 +0300 ++++ ./mynet.c 2012-08-12 12:29:05.000000000 +0300 +@@ -86,7 +86,7 @@ + { + struct sockaddr_in serverSockAddr; + struct hostent *serverHostEnt; +- long hostAddr; ++ in_addr_t hostAddr; + + #if WIN32 + int res; +@@ -105,7 +105,7 @@ + hostAddr = inet_addr(servername); + + /* If it is an ip address */ +- if ((long) hostAddr != (long)-1) ++ if ( hostAddr != INADDR_NONE ) + memcpy(&serverSockAddr.sin_addr, &hostAddr, sizeof(hostAddr)); + else { + serverHostEnt = gethostbyname(servername); Modified: head/audio/cpige/pkg-descr ============================================================================== --- head/audio/cpige/pkg-descr Sun Aug 12 09:14:06 2012 (r302430) +++ head/audio/cpige/pkg-descr Sun Aug 12 09:36:30 2012 (r302431) @@ -2,4 +2,4 @@ cPige records an audio stream, separatin "Artist - Track.mp3" files. It can also record on an hour-by-hour basis. -WWW: http://ed.zehome.com/?page=cpige-en +WWW: http://old.ed.zehome.com/?page=cpige