ports/169895: [patch] audio/beast: fails to build
Jan Beich
jbeich at tormail.org
Sun Jul 15 23:00:23 UTC 2012
>Number: 169895
>Category: ports
>Synopsis: [patch] audio/beast: fails to build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 15 23:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
perl-5.16.0 built with USE_PERL=off
glib-2.32.4 doesn't use G_DISABLE_CONST_RETURNS
>Description:
>How-To-Repeat:
$ make
===> Building for beast-0.7.4_2
gmake: ./mkrelease.sh: Command not found
gmake all-recursive
gmake[1]: ./mkrelease.sh: Command not found
gmake[1]: Entering directory `.../beast-0.7.4'
Making all in .
gmake[2]: ./mkrelease.sh: Command not found
gmake[2]: Entering directory `.../beast-0.7.4'
gmake[2]: Leaving directory `.../beast-0.7.4'
Making all in data
gmake[2]: Entering directory `.../beast-0.7.4/data'
LC_ALL=C ../autotools/intltool-merge -d -u -c ../po/intlmerge.tmpcache ../po /dev/null /dev/null
../autotools/intltool-merge: not found
gmake[2]: *** [../po/intlmerge.tmpcache] Error 127
gmake[2]: Leaving directory `.../beast-0.7.4/data'
gmake[1]: *** [all-recursive] Error 1
$ sed -n 1p $(make -V WRKSRC)/mkrelease.sh
#!/bin/bash
$ sed -n 1p $(make -V WRKSRC)/autotools/intltool-merge
#!/usr/bin/perl -w
$ make
[...]
bsecxxvalue.cc: In member function 'gchar* const Bse::Value::get_string() const':
bsecxxvalue.cc:59: error: invalid conversion from 'const gchar*' to 'gchar*'
gmake[3]: *** [bsecxxvalue.lo] Error 1
gmake[3]: Leaving directory `.../beast-0.7.4/bse'
>Fix:
--- misc.diff begins here ---
Index: audio/beast/Makefile
===================================================================
RCS file: /a/.csup/ports/audio/beast/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- audio/beast/Makefile 1 Jun 2012 05:15:55 -0000 1.47
+++ audio/beast/Makefile 15 Jul 2012 21:13:27 -0000
@@ -55,6 +55,10 @@ post-patch:
/FLAGS=/ s/(-g|-ggdb3|-pipe|-O2|-ftracer|-finline-functions|-fno-keep-static-consts)//; \
s|echo aout|echo elf|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/ChangeLog:/,/^$$/d' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
+ ${WRKSRC}/autotools/intltool-merge
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/bse/Makefile.in \
${WRKSRC}/bse/zintern/Makefile.in
Index: audio/beast/files/patch-bse_bsecxxvalue.cc
===================================================================
RCS file: audio/beast/files/patch-bse_bsecxxvalue.cc
diff -N audio/beast/files/patch-bse_bsecxxvalue.cc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audio/beast/files/patch-bse_bsecxxvalue.cc 15 Jul 2012 21:26:10 -0000
@@ -0,0 +1,11 @@
+--- bse/bsecxxvalue.cc~
++++ bse/bsecxxvalue.cc
+@@ -56,7 +56,7 @@ Value::get_string () const
+ {
+ GValue *v = gvalue();
+ if (SFI_VALUE_HOLDS_STRING (v))
+- return sfi_value_get_string (v);
++ return (gchar *)sfi_value_get_string (v);
+ else if (SFI_VALUE_HOLDS_CHOICE (v))
+ return sfi_value_get_choice (v);
+ else
--- misc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list