Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 12:32:13 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111685: [patch] audio/rezound - cleanup non-supported FreeBSD versions
Message-ID:  <20070416023213.A4BEC124@k7.mavetju>
Resent-Message-ID: <200704160240.l3G2e3tV095197@freefall.freebsd.org>

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

>Number:         111685
>Category:       ports
>Synopsis:       [patch] audio/rezound - cleanup non-supported FreeBSD versions
>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:   Mon Apr 16 02:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:
>How-To-Repeat:
>Fix:

Removed files: files/extra-patch-fbsd4

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/rezound/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	3 Oct 2006 16:39:13 -0000	1.8
+++ Makefile	16 Apr 2007 02:31:49 -0000
@@ -99,30 +99,14 @@
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-.if defined(GCCVERSION)
-.   if ${GCCVERSION} < 030000
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-fbsd4
-.   endif
-.else
-.   if ${OSVERSION} < 500035
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-fbsd4
-.   endif
-.endif
-
 post-patch: .SILENT
-.if ${OSVERSION} > 500027
 	${REINPLACE_CMD} -e '/atoll/d' ${WRKSRC}/config/platform/bsd.h
-.endif
 .if ${OSVERSION} > 502112
 	${REINPLACE_CMD} -e '/round/d' ${WRKSRC}/config/platform/bsd.h
 .endif
 .if ${OSVERSION} > 502120
 	${REINPLACE_CMD} -e '/nearbyint/d' ${WRKSRC}/config/platform/bsd.h
 .endif
-.if ${OSVERSION} < 500028
-	${REINPLACE_CMD} -e '22586,$$s/stdint/inttypes/' \
-		-e '21693s/$$srcdir/..\/../' ${WRKSRC}/configure
-.endif
 	${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...),' ${WRKSRC}/configure
 	${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \
 		${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \
Index: files/extra-patch-fbsd4
===================================================================
RCS file: files/extra-patch-fbsd4
diff -N files/extra-patch-fbsd4
--- files/extra-patch-fbsd4	3 Oct 2006 16:39:13 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
---- src/backend/CPortAudioSoundRecorder.cpp.orig	Mon Oct  6 13:04:39 2003
-+++ src/backend/CPortAudioSoundRecorder.cpp	Mon Oct  2 10:35:16 2006
-@@ -18,6 +18,8 @@
-  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
-  */
- 
-+#include <stdio.h>
-+
- #include "CPortAudioSoundRecorder.h"
- 
- #ifdef ENABLE_PORTAUDIO
---- src/backend/Remaster/CAdaptiveNormalizeAction.cpp.orig	Tue Feb 15 08:54:44 2005
-+++ src/backend/Remaster/CAdaptiveNormalizeAction.cpp	Mon Oct  2 10:35:24 2006
-@@ -18,6 +18,8 @@
-  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
-  */
- 
-+#include <stdio.h>
-+
- #include "CAdaptiveNormalizeAction.h"
- 
- #include <utility>
>Release-Note:
>Audit-Trail:
>Unformatted:



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