FreeBSD Bugzilla – Attachment 136404 Details for
Bug 181615
[PATCH] audio/wavegain: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wavegain.diff
wavegain.diff (text/plain; charset=us-ascii), 1.68 KB, created by
Guido Falsi
on 2013-08-28 15:47:34 UTC
(
hide
)
Description:
wavegain.diff
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2013-08-28 15:47:34 UTC
Size:
1.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 325515) >+++ Makefile (working copy) >@@ -1,9 +1,5 @@ >-# New ports collection makefile for: wavegain >-# Date created: 24 May 2008 >-# Whom: Denise H. G. <darcsis@gmail.com> >-# >+# Created by: Denise H. G. <darcsis@gmail.com> > # $FreeBSD$ >-# > > PORTNAME= wavegain > PORTVERSION= 1.2.8 >@@ -14,11 +10,12 @@ > MAINTAINER= darcsis@gmail.com > COMMENT= A program that applies ReplayGain to wave files > >-LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile >+LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile > > USE_ZIP= yes >-USE_GMAKE= yes >+USES= gmake > USE_DOS2UNIX= audio.c wavegain.c >+MAKE_ARGS= CC=${CC} > > PLIST_FILES= bin/wavegain > >@@ -30,6 +27,9 @@ > BROKEN= Does not compile on ia64, powerpc, or sparc64 > .endif > >+post-patch: >+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.linux >+ > do-configure: > @cd ${WRKSRC} && ${CP} Makefile.linux Makefile > >Index: files/patch-Makefile.linux >=================================================================== >--- files/patch-Makefile.linux (revision 325515) >+++ files/patch-Makefile.linux (working copy) >@@ -1,9 +1,11 @@ >---- Makefile.linux 2005-11-30 11:17:14.000000000 +0800 >-+++ Makefile.linux 2008-05-24 22:14:34.000000000 +0800 >-@@ -1,5 +1,5 @@ >+--- Makefile.linux.orig 2005-11-30 12:17:14.000000000 +0100 >++++ Makefile.linux 2013-08-28 13:02:43.817494398 +0200 >+@@ -1,5 +1,7 @@ >++CC ?= cc >++ > all: > - gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile >-+ gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L/usr/local/lib >++ ${CC} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L%%LOCALBASE%%/lib > > install: > install -d /usr/bin/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181615
:
136403
| 136404