Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 20:39:31 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41499: Update port: audio/darkice to 0.10.1
Message-ID:  <200208100339.g7A3dVje099308@www.freebsd.org>

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

>Number:         41499
>Category:       ports
>Synopsis:       Update port: audio/darkice to 0.10.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 09 20:40:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.10.1

New file:
files/patch-src::TcpSocket.cpp

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	Mon Jul 22 20:42:58 2002
+++ audio/darkice/Makefile	Sat Aug 10 09:09:17 2002
@@ -7,22 +7,29 @@
 #
 
 PORTNAME=	darkice
-PORTVERSION=	0.8
-PORTREVISION=	1
+PORTVERSION=	0.10.1
 CATEGORIES=	audio net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	mp3lame:${PORTSDIR}/audio/lame-devel \
+LIB_DEPENDS=	mp3lame.0:${PORTSDIR}/audio/lame \
 		vorbis.2:${PORTSDIR}/audio/libvorbis
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-lame-prefix=${LOCALBASE} \
 		--with-vorbis-prefix=${LOCALBASE}
 
 MAN1=	darkice.1
 MAN5=	darkice.cfg.5
+
+CFLAGS+=	-O0
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CXXFLAGS =.*$$|CXXFLAGS = @CXXFLAGS@|g' \
+		${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	Fri Feb 22 22:45:20 2002
+++ audio/darkice/distinfo	Thu Aug  8 01:46:11 2002
@@ -1 +1 @@
-MD5 (darkice-0.8.tar.gz) = 6e302d6626ec5d79890ad3d2fa6184e8
+MD5 (darkice-0.10.1.tar.gz) = a92704124f3b8045e4e7fe122f9549fc
diff -urN /usr/ports/audio/darkice/files/patch-src::TcpSocket.cpp audio/darkice/files/patch-src::TcpSocket.cpp
--- /usr/ports/audio/darkice/files/patch-src::TcpSocket.cpp	Thu Jan  1 09:00:00 1970
+++ audio/darkice/files/patch-src::TcpSocket.cpp	Sat Aug 10 09:22:21 2002
@@ -0,0 +1,12 @@
+--- src/TcpSocket.cpp.orig	Sun Jul 21 01:37:06 2002
++++ src/TcpSocket.cpp	Sat Aug 10 09:22:09 2002
+@@ -81,6 +81,9 @@
+ #error need sys/time.h
+ #endif
+ 
++#ifndef MSG_NOSIGNAL
++#define MSG_NOSIGNAL 0
++#endif
+ 
+ #include "Util.h"
+ #include "Exception.h"

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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