From root@info-ufr.univ-montp2.fr  Sun Feb 16 00:16:37 2014
Return-Path: <root@info-ufr.univ-montp2.fr>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 5F36A391
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Feb 2014 00:16:37 +0000 (UTC)
Received: from ns1.info-ufr.univ-montp2.fr (ns1.info-ufr.univ-montp2.fr [162.38.218.218])
	by mx1.freebsd.org (Postfix) with ESMTP id DE433172B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Feb 2014 00:16:36 +0000 (UTC)
Received: from bsdmaster.adm.info-ufr.univ-montp2.fr (unknown [172.16.50.230])
	by ns1.info-ufr.univ-montp2.fr (Postfix) with ESMTP id 4AD73401A1;
	Sun, 16 Feb 2014 01:09:54 +0100 (CET)
Received: by bsdmaster.adm.info-ufr.univ-montp2.fr (Postfix, from userid 0)
	id BFE916E42E0; Sun, 16 Feb 2014 00:23:50 +0100 (CET)
Message-Id: <20140215232350.BFE916E42E0@bsdmaster.adm.info-ufr.univ-montp2.fr>
Date: Sun, 16 Feb 2014 00:23:50 +0100 (CET)
From: Mathias Monnerville <mathias@monnerville.com>
Reply-To: Mathias Monnerville <mathias@monnerville.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Mathias Monnerville <mathias@monnerville.com>
Subject: [broken port fix] audio/zinf 2.2.5 (clang error)
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         186803
>Category:       ports
>Synopsis:       broken port fix: audio/zinf 2.2.5 (clang error)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 00:20:01 UTC 2014
>Closed-Date:    Tue Feb 18 17:58:30 UTC 2014
>Last-Modified:  Tue Feb 18 19:20:00 UTC 2014
>Originator:     Mathias Monnerville
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
University of Montpellier 2, France
>Environment:
System: FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	- clang build error fix
	- StageDir
	- pkg-plist fix

	portsmon's error log at http://portsmon.freebsd.org/portoverview.py?category=audio&portname=zinf
	
>How-To-Repeat:
	
>Fix:

	

--- zinf-2.2.5_19.patch begins here ---
diff -r 67fe9a65908d Makefile
--- a/Makefile	Sat Feb 15 21:35:22 2014 +0100
+++ b/Makefile	Sat Feb 15 21:46:07 2014 +0100
@@ -3,7 +3,7 @@
 
 PORTNAME=	zinf
 PORTVERSION=	2.2.5
-PORTREVISION=	18
+PORTREVISION=	19
 CATEGORIES=	audio ipv6
 MASTER_SITES=	SF
 
@@ -14,7 +14,6 @@
 		libgdbm.so:${PORTSDIR}/databases/gdbm
 
 USES=		pathfix gettext gmake perl5
-NO_STAGE=	yes
 USE_GNOME=	gtk20 lthack
 WANT_GNOME=	yes
 GNU_CONFIGURE=	yes
@@ -68,9 +67,9 @@
 	@${REINPLACE_CMD} -e 's|Player::||' ${WRKSRC}/base/include/player.h
 
 post-install:
-	@${MKDIR} ${PREFIX}/etc/sdr/plugins
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/sdr/plugins
 	${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.zinf \
-		${PREFIX}/etc/sdr/plugins
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+		${STAGEDIR}${PREFIX}/etc/sdr/plugins
+	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.post.mk>
diff -r 67fe9a65908d files/patch-lib-http-src-Http.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/files/patch-lib-http-src-Http.cpp	Sat Feb 15 21:46:07 2014 +0100
@@ -0,0 +1,10 @@
+--- lib/http/src/Http.cpp.orig	2014-02-15 18:56:59.580491668 +0100
++++ lib/http/src/Http.cpp	2014-02-15 18:57:10.490545507 +0100
+@@ -31,6 +31,7 @@
+ 
+ #include "config.h"
+ #include <stdio.h> 
++#include <stdlib.h> 
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #ifndef WIN32
diff -r 67fe9a65908d pkg-plist
--- a/pkg-plist	Sat Feb 15 21:35:22 2014 +0100
+++ b/pkg-plist	Sat Feb 15 21:46:07 2014 +0100
@@ -1,42 +1,35 @@
 bin/zinf
 etc/sdr/plugins/sdr2.plugin.S100.audio.rtp.mpa.zinf
-lib/zinf/plugins/albumart.ui
 lib/zinf/plugins/cd.lmc
 lib/zinf/plugins/cd.pmo
 lib/zinf/plugins/cmdline.ui
-lib/zinf/plugins/download.ui
-%%ESOUND%%lib/zinf/plugins/esound.pmo
 lib/zinf/plugins/http.pmi
 lib/zinf/plugins/id3lib.mdf
 lib/zinf/plugins/irman.ui
-lib/zinf/plugins/kjofol.ftf
 lib/zinf/plugins/lcd.ui
 lib/zinf/plugins/local.pmi
 lib/zinf/plugins/m3u.plf
 lib/zinf/plugins/misc.mdf
 lib/zinf/plugins/mpg123.ui
-lib/zinf/plugins/musicbrowser.ui
 lib/zinf/plugins/ncurses.ui
 lib/zinf/plugins/obs.pmi
 lib/zinf/plugins/pls.plf
 lib/zinf/plugins/soundcard.pmo
-%%VORBIS%%lib/zinf/plugins/vorbis.lmc
-%%VORBIS%%lib/zinf/plugins/vorbis.mdf
+lib/zinf/plugins/vorbis.lmc
+lib/zinf/plugins/vorbis.mdf
 lib/zinf/plugins/wav.lmc
 lib/zinf/plugins/wavout.pmo
-lib/zinf/plugins/winamp.ftf
 lib/zinf/plugins/xingmp3.lmc
-lib/zinf/plugins/zinf.ui
 share/locale/ca_ES/LC_MESSAGES/zinf.mo
 share/locale/ru/LC_MESSAGES/zinf.mo
-%%DATADIR%%/themes/Aquatica.fat
-%%DATADIR%%/themes/Zinf.fat
-%%DATADIR%%/themes/ZinfClassic.fat
+share/zinf/themes/Aquatica.fat
+share/zinf/themes/Zinf.fat
+share/zinf/themes/ZinfClassic.fat
 @dirrm share/zinf/themes
 @dirrm share/zinf
+@dirrm share/locale/ca_ES/LC_MESSAGES
+@dirrm share/locale/ca_ES
 @dirrm lib/zinf/plugins
 @dirrm lib/zinf
-@dirrmtry etc/sdr/plugins
+@dirrm etc/sdr/plugins
 @dirrmtry etc/sdr
-@dirrmtry share/locale/ca_ES/LC_MESSAGES
-@dirrmtry share/locale/ca_ES
--- zinf-2.2.5_19.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Tue Feb 18 17:15:15 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186803 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Tue Feb 18 17:58:29 UTC 2014 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186803 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186803: commit references a PR
Date: Tue, 18 Feb 2014 17:58:25 +0000 (UTC)

 Author: pawel
 Date: Tue Feb 18 17:58:16 2014
 New Revision: 344932
 URL: http://svnweb.freebsd.org/changeset/ports/344932
 QAT: https://qat.redports.org/buildarchive/r344932/
 
 Log:
   - Fix build with clang
   - Support staging
   - Convert to new options framework
   
   PR:		ports/186803 (based on)
   Submitted by:	Mathias Monnerville <mathias@monnerville.com>
   MFH:		2014Q1
 
 Added:
   head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp   (contents, props changed)
   head/audio/zinf/files/patch-lib-http-src-Http.cpp   (contents, props changed)
 Modified:
   head/audio/zinf/Makefile
   head/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
   head/audio/zinf/pkg-plist
 
 Modified: head/audio/zinf/Makefile
 ==============================================================================
 --- head/audio/zinf/Makefile	Tue Feb 18 17:19:25 2014	(r344931)
 +++ head/audio/zinf/Makefile	Tue Feb 18 17:58:16 2014	(r344932)
 @@ -13,17 +13,25 @@ COMMENT=	GTK-based MP3 player
  LIB_DEPENDS=	libid3-3.8.so:${PORTSDIR}/audio/id3lib \
  		libgdbm.so:${PORTSDIR}/databases/gdbm
  
 -USES=		pathfix gettext gmake perl5
 -NO_STAGE=	yes
 +USES=		pathfix pkgconfig gettext gmake perl5
  USE_GNOME=	gtk20 lthack
 -WANT_GNOME=	yes
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--enable-ipv6 \
  		--disable-arts
  
 -CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 +CPPFLAGS+=	-I${LOCALBASE}/include
  LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
  
 +OPTIONS_DEFINE=	ESOUND VORBIS
 +OPTIONS_DEFAULT=VORBIS
 +OPTIONS_SUB=	yes
 +
 +ESOUND_CONFIGURE_OFF=	--disable-esd
 +ESOUND_USE=		GNOME=esound
 +
 +VORBIS_CONFIGURE_OFF=	--disable-vorbis
 +VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 +
  .include <bsd.port.pre.mk>
  
  .if ${ARCH} == "i386"
 @@ -37,40 +45,13 @@ CONFIGURE_ARGS+=	--disable-x86opts
  CPPFLAGS+=	"-D_M_ALPHA"
  .endif
  
 -.if ${HAVE_GNOME:Mesound}!="" || defined(WITH_ALL_PLUGINS)
 -USE_GNOME+=	esound
 -PLIST_SUB+=	ESOUND=""
 -.else
 -CONFIGURE_ARGS+=	--disable-esd
 -PLIST_SUB+=	ESOUND="@comment "
 -.endif
 -
 -.if !defined(WITHOUT_VORBIS) || defined(WITH_ALL_PLUGINS)
 -LIB_DEPENDS+=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 -PLIST_SUB+=	VORBIS=""
 -.else
 -CONFIGURE_ARGS+=	--disable-vorbis
 -PLIST_SUB+=	VORBIS="@comment "
 -.endif
 -
 -pre-everything::
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "You may use the following build options:"
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "WITHOUT_GNOME=esound	do NOT build with esd support"
 -	@${ECHO_MSG} "WITHOUT_VORBIS=yes	do NOT build with Ogg/Vorbis codec plugin"
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "WITH_ALL_PLUGINS=yes	build with all plugins"
 -	@${ECHO_MSG}
 -
  post-patch:
  	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
  	@${REINPLACE_CMD} -e 's|Player::||' ${WRKSRC}/base/include/player.h
  
  post-install:
 -	@${MKDIR} ${PREFIX}/etc/sdr/plugins
 +	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/sdr/plugins
  	${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.zinf \
 -		${PREFIX}/etc/sdr/plugins
 -	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
 +		${STAGEDIR}${PREFIX}/etc/sdr/plugins
  
  .include <bsd.port.post.mk>
 
 Added: head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp	Tue Feb 18 17:58:16 2014	(r344932)
 @@ -0,0 +1,10 @@
 +--- ftc/kjofol/kjofol.cpp.orig	2014-02-18 17:48:40.481824991 +0100
 ++++ ftc/kjofol/kjofol.cpp	2014-02-18 17:49:16.578764197 +0100
 +@@ -47,6 +47,7 @@
 + 
 + #include <sys/types.h>
 + #include <sys/stat.h>
 ++#include <stdlib.h>
 + 
 + #include "path_max.h"
 + 
 
 Added: head/audio/zinf/files/patch-lib-http-src-Http.cpp
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/zinf/files/patch-lib-http-src-Http.cpp	Tue Feb 18 17:58:16 2014	(r344932)
 @@ -0,0 +1,10 @@
 +--- lib/http/src/Http.cpp.orig	2014-02-15 18:56:59.580491668 +0100
 ++++ lib/http/src/Http.cpp	2014-02-15 18:57:10.490545507 +0100
 +@@ -31,6 +31,7 @@
 + 
 + #include "config.h"
 + #include <stdio.h> 
 ++#include <stdlib.h> 
 + #include <sys/types.h>
 + #include <sys/stat.h>
 + #ifndef WIN32
 
 Modified: head/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
 ==============================================================================
 --- head/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp	Tue Feb 18 17:19:25 2014	(r344931)
 +++ head/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp	Tue Feb 18 17:58:16 2014	(r344932)
 @@ -1,11 +1,12 @@
 ---- ui/zinf/unix/src/GTKFileSelector.cpp.orig	Wed Feb 19 16:39:23 2003
 -+++ ui/zinf/unix/src/GTKFileSelector.cpp	Sat Sep 13 03:02:14 2003
 -@@ -25,7 +25,7 @@
 +--- ui/zinf/unix/src/GTKFileSelector.cpp.orig	2003-09-16 19:36:23.000000000 +0200
 ++++ ui/zinf/unix/src/GTKFileSelector.cpp	2014-02-18 17:46:56.364931015 +0100
 +@@ -25,7 +25,8 @@
   #include <unistd.h>
   #include <dirent.h>
   
  -#if defined(solaris)                                                          
  +#if defined(solaris) || defined(__FreeBSD__)                                                         
 ++#include <stdlib.h>
   #include <sys/types.h>                                                        
   #include <sys/param.h>         /* for MAXPATHLEN */                           
   #include <sys/stat.h>                                                         
 
 Modified: head/audio/zinf/pkg-plist
 ==============================================================================
 --- head/audio/zinf/pkg-plist	Tue Feb 18 17:19:25 2014	(r344931)
 +++ head/audio/zinf/pkg-plist	Tue Feb 18 17:58:16 2014	(r344932)
 @@ -32,11 +32,11 @@ share/locale/ru/LC_MESSAGES/zinf.mo
  %%DATADIR%%/themes/Aquatica.fat
  %%DATADIR%%/themes/Zinf.fat
  %%DATADIR%%/themes/ZinfClassic.fat
 -@dirrm share/zinf/themes
 -@dirrm share/zinf
 +@dirrm %%DATADIR%%/themes
 +@dirrm %%DATADIR%%
 +@dirrm share/locale/ca_ES/LC_MESSAGES
 +@dirrm share/locale/ca_ES
  @dirrm lib/zinf/plugins
  @dirrm lib/zinf
 -@dirrmtry etc/sdr/plugins
 +@dirrm etc/sdr/plugins
  @dirrmtry etc/sdr
 -@dirrmtry share/locale/ca_ES/LC_MESSAGES
 -@dirrmtry share/locale/ca_ES
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186803: commit references a PR
Date: Tue, 18 Feb 2014 19:17:47 +0000 (UTC)

 Author: pawel
 Date: Tue Feb 18 19:17:33 2014
 New Revision: 344944
 URL: http://svnweb.freebsd.org/changeset/ports/344944
 QAT: https://qat.redports.org/buildarchive/r344944/
 
 Log:
   MFH: r344932
   
   - Fix build with clang
   - Support staging
   - Convert to new options framework
   
   PR:		ports/186803 (based on)
   Submitted by:	Mathias Monnerville <mathias@monnerville.com>
   Approved by:	portmgr (antoine)
 
 Added:
   branches/2014Q1/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp
      - copied unchanged from r344932, head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp
   branches/2014Q1/audio/zinf/files/patch-lib-http-src-Http.cpp
      - copied unchanged from r344932, head/audio/zinf/files/patch-lib-http-src-Http.cpp
 Modified:
   branches/2014Q1/audio/zinf/Makefile
   branches/2014Q1/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
   branches/2014Q1/audio/zinf/pkg-plist
 Directory Properties:
   branches/2014Q1/   (props changed)
 
 Modified: branches/2014Q1/audio/zinf/Makefile
 ==============================================================================
 --- branches/2014Q1/audio/zinf/Makefile	Tue Feb 18 19:14:52 2014	(r344943)
 +++ branches/2014Q1/audio/zinf/Makefile	Tue Feb 18 19:17:33 2014	(r344944)
 @@ -13,17 +13,25 @@ COMMENT=	GTK-based MP3 player
  LIB_DEPENDS=	libid3-3.8.so:${PORTSDIR}/audio/id3lib \
  		libgdbm.so:${PORTSDIR}/databases/gdbm
  
 -USES=		pathfix gettext gmake perl5
 -NO_STAGE=	yes
 +USES=		pathfix pkgconfig gettext gmake perl5
  USE_GNOME=	gtk20 lthack
 -WANT_GNOME=	yes
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--enable-ipv6 \
  		--disable-arts
  
 -CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 +CPPFLAGS+=	-I${LOCALBASE}/include
  LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
  
 +OPTIONS_DEFINE=	ESOUND VORBIS
 +OPTIONS_DEFAULT=VORBIS
 +OPTIONS_SUB=	yes
 +
 +ESOUND_CONFIGURE_OFF=	--disable-esd
 +ESOUND_USE=		GNOME=esound
 +
 +VORBIS_CONFIGURE_OFF=	--disable-vorbis
 +VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 +
  .include <bsd.port.pre.mk>
  
  .if ${ARCH} == "i386"
 @@ -37,40 +45,13 @@ CONFIGURE_ARGS+=	--disable-x86opts
  CPPFLAGS+=	"-D_M_ALPHA"
  .endif
  
 -.if ${HAVE_GNOME:Mesound}!="" || defined(WITH_ALL_PLUGINS)
 -USE_GNOME+=	esound
 -PLIST_SUB+=	ESOUND=""
 -.else
 -CONFIGURE_ARGS+=	--disable-esd
 -PLIST_SUB+=	ESOUND="@comment "
 -.endif
 -
 -.if !defined(WITHOUT_VORBIS) || defined(WITH_ALL_PLUGINS)
 -LIB_DEPENDS+=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 -PLIST_SUB+=	VORBIS=""
 -.else
 -CONFIGURE_ARGS+=	--disable-vorbis
 -PLIST_SUB+=	VORBIS="@comment "
 -.endif
 -
 -pre-everything::
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "You may use the following build options:"
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "WITHOUT_GNOME=esound	do NOT build with esd support"
 -	@${ECHO_MSG} "WITHOUT_VORBIS=yes	do NOT build with Ogg/Vorbis codec plugin"
 -	@${ECHO_MSG}
 -	@${ECHO_MSG} "WITH_ALL_PLUGINS=yes	build with all plugins"
 -	@${ECHO_MSG}
 -
  post-patch:
  	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
  	@${REINPLACE_CMD} -e 's|Player::||' ${WRKSRC}/base/include/player.h
  
  post-install:
 -	@${MKDIR} ${PREFIX}/etc/sdr/plugins
 +	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/sdr/plugins
  	${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.zinf \
 -		${PREFIX}/etc/sdr/plugins
 -	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
 +		${STAGEDIR}${PREFIX}/etc/sdr/plugins
  
  .include <bsd.port.post.mk>
 
 Copied: branches/2014Q1/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp (from r344932, head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp)
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ branches/2014Q1/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp	Tue Feb 18 19:17:33 2014	(r344944, copy of r344932, head/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp)
 @@ -0,0 +1,10 @@
 +--- ftc/kjofol/kjofol.cpp.orig	2014-02-18 17:48:40.481824991 +0100
 ++++ ftc/kjofol/kjofol.cpp	2014-02-18 17:49:16.578764197 +0100
 +@@ -47,6 +47,7 @@
 + 
 + #include <sys/types.h>
 + #include <sys/stat.h>
 ++#include <stdlib.h>
 + 
 + #include "path_max.h"
 + 
 
 Copied: branches/2014Q1/audio/zinf/files/patch-lib-http-src-Http.cpp (from r344932, head/audio/zinf/files/patch-lib-http-src-Http.cpp)
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ branches/2014Q1/audio/zinf/files/patch-lib-http-src-Http.cpp	Tue Feb 18 19:17:33 2014	(r344944, copy of r344932, head/audio/zinf/files/patch-lib-http-src-Http.cpp)
 @@ -0,0 +1,10 @@
 +--- lib/http/src/Http.cpp.orig	2014-02-15 18:56:59.580491668 +0100
 ++++ lib/http/src/Http.cpp	2014-02-15 18:57:10.490545507 +0100
 +@@ -31,6 +31,7 @@
 + 
 + #include "config.h"
 + #include <stdio.h> 
 ++#include <stdlib.h> 
 + #include <sys/types.h>
 + #include <sys/stat.h>
 + #ifndef WIN32
 
 Modified: branches/2014Q1/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
 ==============================================================================
 --- branches/2014Q1/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp	Tue Feb 18 19:14:52 2014	(r344943)
 +++ branches/2014Q1/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp	Tue Feb 18 19:17:33 2014	(r344944)
 @@ -1,11 +1,12 @@
 ---- ui/zinf/unix/src/GTKFileSelector.cpp.orig	Wed Feb 19 16:39:23 2003
 -+++ ui/zinf/unix/src/GTKFileSelector.cpp	Sat Sep 13 03:02:14 2003
 -@@ -25,7 +25,7 @@
 +--- ui/zinf/unix/src/GTKFileSelector.cpp.orig	2003-09-16 19:36:23.000000000 +0200
 ++++ ui/zinf/unix/src/GTKFileSelector.cpp	2014-02-18 17:46:56.364931015 +0100
 +@@ -25,7 +25,8 @@
   #include <unistd.h>
   #include <dirent.h>
   
  -#if defined(solaris)                                                          
  +#if defined(solaris) || defined(__FreeBSD__)                                                         
 ++#include <stdlib.h>
   #include <sys/types.h>                                                        
   #include <sys/param.h>         /* for MAXPATHLEN */                           
   #include <sys/stat.h>                                                         
 
 Modified: branches/2014Q1/audio/zinf/pkg-plist
 ==============================================================================
 --- branches/2014Q1/audio/zinf/pkg-plist	Tue Feb 18 19:14:52 2014	(r344943)
 +++ branches/2014Q1/audio/zinf/pkg-plist	Tue Feb 18 19:17:33 2014	(r344944)
 @@ -32,11 +32,11 @@ share/locale/ru/LC_MESSAGES/zinf.mo
  %%DATADIR%%/themes/Aquatica.fat
  %%DATADIR%%/themes/Zinf.fat
  %%DATADIR%%/themes/ZinfClassic.fat
 -@dirrm share/zinf/themes
 -@dirrm share/zinf
 +@dirrm %%DATADIR%%/themes
 +@dirrm %%DATADIR%%
 +@dirrm share/locale/ca_ES/LC_MESSAGES
 +@dirrm share/locale/ca_ES
  @dirrm lib/zinf/plugins
  @dirrm lib/zinf
 -@dirrmtry etc/sdr/plugins
 +@dirrm etc/sdr/plugins
  @dirrmtry etc/sdr
 -@dirrmtry share/locale/ca_ES/LC_MESSAGES
 -@dirrmtry share/locale/ca_ES
 _______________________________________________
 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"
 
>Unformatted:
