FreeBSD Bugzilla – Attachment 168069 Details for
Bug 206914
audio/audacity: USES+= autoreconf libtool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix problem of comment #19
patch-audacity.diff (text/plain), 14.35 KB, created by
Tatsuki Makino
on 2016-03-13 02:45:39 UTC
(
hide
)
Description:
fix problem of comment #19
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2016-03-13 02:45:39 UTC
Size:
14.35 KB
patch
obsolete
>Index: audio/audacity/Makefile >=================================================================== >--- audio/audacity/Makefile (revision 410194) >+++ audio/audacity/Makefile (working copy) >@@ -25,8 +25,8 @@ > WRKSRC= ${WRKDIR}/${PORTNAME}-Audacity-${PORTVERSION} > > GNU_CONFIGURE= yes >-USES= compiler:c++11-lib cpe desktop-file-utils gmake iconv pkgconfig shared-mime-info shebangfix dos2unix >-NLS_USES= gettext >+USES= autoreconf compiler:c++11-lib cpe desktop-file-utils gettext-tools gmake iconv libtool pkgconfig shared-mime-info shebangfix dos2unix >+NLS_USES= gettext-runtime > NLS_CONFIGURE_ENABLE= nls > NLS_CONFIGURE_WITH= libintl-prefix="${LOCALBASE}" > OPTIONS_SUB= yes >@@ -135,10 +135,6 @@ > CXXFLAGS+= -std=c++11 > .endif > >-post-configure: >- ${REINPLACE_CMD} -e '/SNDFILE_CFLAGS/s,%%LOCALBASE%%,${LOCALBASE},'\ >- ${WRKSRC}/lib-src/libnyquist/Makefile >- > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} >Index: audio/audacity/files/patch-configure.ac >=================================================================== >--- audio/audacity/files/patch-configure.ac (nonexistent) >+++ audio/audacity/files/patch-configure.ac (working copy) >@@ -0,0 +1,10 @@ >+--- configure.ac.orig 2016-01-08 22:05:48 UTC >++++ configure.ac >+@@ -43,6 +43,7 @@ AC_CONFIG_MACRO_DIR([m4]) >+ >+ AM_INIT_AUTOMAKE([1.9 dist-xz foreign no-dist-gzip subdir-objects -Wall -Wno-override tar-ustar]) >+ AM_MAINTAINER_MODE([disable]) >++AM_SILENT_RULES([yes]) >+ >+ AM_GNU_GETTEXT_VERSION([0.18]) >+ AM_GNU_GETTEXT([external]) >Index: audio/audacity/files/patch-lib-src_FileDialog_Makefile.am >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_Makefile.am (nonexistent) >+++ audio/audacity/files/patch-lib-src_FileDialog_Makefile.am (working copy) >@@ -0,0 +1,52 @@ >+--- lib-src/FileDialog/Makefile.am.orig 2016-01-08 22:05:48 UTC >++++ lib-src/FileDialog/Makefile.am >+@@ -1,5 +1,7 @@ >+ ACLOCAL_AMFLAGS = -I m4 >+ >++SUBDIRS= $(GTK_SUBDIR) $(MAC_SUBDIR) $(WINDOWS_SUBDIR) >++DIST_SUBDIRS= gtk mac win >+ lib_LTLIBRARIES = libFileDialog.la >+ >+ libFileDialog_la_CPPFLAGS = $(WX_CXXFLAGS) -Wno-deprecated-declarations >+@@ -7,22 +9,32 @@ libFileDialog_la_LIBADD = $(WX_LIBS) >+ libFileDialog_la_SOURCES = FileDialog.cpp FileDialog.h >+ >+ if GTK >+-libFileDialog_la_CPPFLAGS += $(GTK_CFLAGS) >+-libFileDialog_la_LIBADD += $(GTK_LIBS) >++GTK_SUBDIR= gtk >++libFileDialog_la_LIBADD += \ >++ gtk/libFileDialog.la \ >++ $(NULL) >+ libFileDialog_la_SOURCES += \ >+- gtk/FileDialogPrivate.cpp \ >+ gtk/FileDialogPrivate.h \ >+ $(NULL) >+ endif >+ >+ if MAC >+-libFileDialog_la_SOURCES += mac/FileDialogPrivate.mm \ >+- mac/FileDialogPrivate.h \ >+- $(NULL) >++MAC_SUBDIR= mac >++libFileDialog_la_LIBADD+= \ >++ mac/libFileDialog.la \ >++ $(NULL) >++libFileDialog_la_SOURCES += \ >++ mac/FileDialogPrivate.h \ >++ $(NULL) >++#nodist_EXTRA_libFileDialog_la_SOURCES = dummy.mm >+ endif >+ >+ if WINDOWS >+-libFileDialog_la_SOURCES += win/FileDialogPrivate.cpp \ >+- win/FileDialogPrivate.h \ >+- $(NULL) >++WINDOWS_SUBDIR= win >++libFileDialog_la_LIBADD+= \ >++ win/libFileDialog.la \ >++ $(NULL) >++libFileDialog_la_SOURCES += \ >++ win/FileDialogPrivate.h \ >++ $(NULL) >+ endif >Index: audio/audacity/files/patch-lib-src_FileDialog_Makefile.in >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_Makefile.in (revision 410194) >+++ audio/audacity/files/patch-lib-src_FileDialog_Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- lib-src/FileDialog/Makefile.in 2016-01-24 02:11:11.530847000 -0800 >-+++ lib-src/FileDialog/Makefile.in 2016-01-24 02:03:53.243242000 -0800 >-@@ -212,7 +212,7 @@ >- am__v_OBJCXX_0 = @echo " OBJCXX " $@; >- am__v_OBJCXX_1 = >- OBJCXXLD = $(OBJCXX) >--OBJCXXLINK = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ >-+OBJCXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ >- --mode=link $(OBJCXXLD) $(AM_OBJCXXFLAGS) $(OBJCXXFLAGS) \ >- $(AM_LDFLAGS) $(LDFLAGS) -o $@ >- AM_V_OBJCXXLD = $(am__v_OBJCXXLD_@AM_V@) >Index: audio/audacity/files/patch-lib-src_FileDialog_configure.ac >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_configure.ac (nonexistent) >+++ audio/audacity/files/patch-lib-src_FileDialog_configure.ac (working copy) >@@ -0,0 +1,11 @@ >+--- lib-src/FileDialog/configure.ac.orig 2016-01-08 22:05:48 UTC >++++ lib-src/FileDialog/configure.ac >+@@ -124,7 +124,7 @@ AM_CONDITIONAL([WINDOWS], test "$IMPLEME >+ >+ echo "Implementation to use: $IMPLEMENTATION" >+ >+-AC_CONFIG_FILES([Makefile]) >++AC_CONFIG_FILES([Makefile gtk/Makefile mac/Makefile win/Makefile]) >+ >+ # >+ # Write it all out >Index: audio/audacity/files/patch-lib-src_FileDialog_gtk_Makefile.am >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_gtk_Makefile.am (nonexistent) >+++ audio/audacity/files/patch-lib-src_FileDialog_gtk_Makefile.am (working copy) >@@ -0,0 +1,15 @@ >+--- lib-src/FileDialog/gtk/Makefile.am.orig 1970-01-01 00:00:00 UTC >++++ lib-src/FileDialog/gtk/Makefile.am >+@@ -0,0 +1,12 @@ >++ACLOCAL_AMFLAGS= -I m4 >++noinst_LTLIBRARIES= libFileDialog.la >++libFileDialog_la_CPPFLAGS= \ >++ $(WX_CXXFLAGS) -Wno-deprecated-declarations \ >++ $(GTK_CFLAGS) >++libFileDialog_la_LIBADD= \ >++ $(WX_LIBS) \ >++ $(GTK_LIBS) >++libFileDialog_la_SOURCES= \ >++ FileDialogPrivate.cpp \ >++ FileDialogPrivate.h \ >++ $(NULL) >Index: audio/audacity/files/patch-lib-src_FileDialog_mac_Makefile.am >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_mac_Makefile.am (nonexistent) >+++ audio/audacity/files/patch-lib-src_FileDialog_mac_Makefile.am (working copy) >@@ -0,0 +1,13 @@ >+--- lib-src/FileDialog/mac/Makefile.am.orig 1970-01-01 00:00:00 UTC >++++ lib-src/FileDialog/mac/Makefile.am >+@@ -0,0 +1,10 @@ >++ACLOCAL_AMFLAGS= -I m4 >++noinst_LTLIBRARIES= libFileDialog.la >++libFileDialog_la_CPPFLAGS= \ >++ $(WX_CXXFLAGS) -Wno-deprecated-declarations >++libFileDialog_la_LIBADD= \ >++ $(WX_LIBS) >++libFileDialog_la_SOURCES= \ >++ FileDialogPrivate.mm \ >++ FileDialogPrivate.h \ >++ $(NULL) >Index: audio/audacity/files/patch-lib-src_FileDialog_win_Makefile.am >=================================================================== >--- audio/audacity/files/patch-lib-src_FileDialog_win_Makefile.am (nonexistent) >+++ audio/audacity/files/patch-lib-src_FileDialog_win_Makefile.am (working copy) >@@ -0,0 +1,13 @@ >+--- lib-src/FileDialog/win/Makefile.am.orig 1970-01-01 00:00:00 UTC >++++ lib-src/FileDialog/win/Makefile.am >+@@ -0,0 +1,10 @@ >++ACLOCAL_AMFLAGS= -I m4 >++noinst_LTLIBRARIES= libFileDialog.la >++libFileDialog_la_CPPFLAGS= \ >++ $(WX_CXXFLAGS) -Wno-deprecated-declarations >++libFileDialog_la_LIBADD= \ >++ $(WX_LIBS) >++libFileDialog_la_SOURCES= \ >++ FileDialogPrivate.cpp \ >++ FileDialogPrivate.h \ >++ $(NULL) >Index: audio/audacity/files/patch-lib-src__libmad__configure >=================================================================== >--- audio/audacity/files/patch-lib-src__libmad__configure (revision 410194) >+++ audio/audacity/files/patch-lib-src__libmad__configure (nonexistent) >@@ -1,20 +0,0 @@ >---- lib-src/libmad/configure.orig 2015-07-11 10:02:22 UTC >-+++ lib-src/libmad/configure >-@@ -11983,17 +11983,12 @@ then >- : #x optimize="$optimize -fforce-addr" >- : #x optimize="$optimize -finline-functions" >- : #- optimize="$optimize -fstrength-reduce" >-- optimize="$optimize -fthread-jumps" >-- optimize="$optimize -fcse-follow-jumps" >-- optimize="$optimize -fcse-skip-blocks" >- : #x optimize="$optimize -frerun-cse-after-loop" >- : #x optimize="$optimize -frerun-loop-opt" >- : #x optimize="$optimize -fgcse" >- optimize="$optimize -fexpensive-optimizations" >-- optimize="$optimize -fregmove" >- : #* optimize="$optimize -fdelayed-branch" >- : #x optimize="$optimize -fschedule-insns" >-- optimize="$optimize -fschedule-insns2" >- : #? optimize="$optimize -ffunction-sections" >- : #? optimize="$optimize -fcaller-saves" >- : #> optimize="$optimize -funroll-loops" >Index: audio/audacity/files/patch-lib-src__soundtouch__source__SoundTouch__Makefile.in >=================================================================== >--- audio/audacity/files/patch-lib-src__soundtouch__source__SoundTouch__Makefile.in (revision 410194) >+++ audio/audacity/files/patch-lib-src__soundtouch__source__SoundTouch__Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- lib-src/soundtouch/source/SoundTouch/Makefile.in.orig 2015-07-11 10:02:22 UTC >-+++ lib-src/soundtouch/source/SoundTouch/Makefile.in >-@@ -346,7 +346,7 @@ lib_LTLIBRARIES = libSoundTouch.la >- libSoundTouch_la_SOURCES = AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86.cpp BPMDetect.cpp PeakFinder.cpp >- >- # Compiler flags >--AM_CXXFLAGS = -O3 -fcheck-new -I../../include >-+AM_CXXFLAGS = -O3 -I../../include >- >- # Compile the files that need MMX and SSE individually. >- libSoundTouch_la_LIBADD = libSoundTouchMMX.la libSoundTouchSSE.la >Index: audio/audacity/files/patch-lib-src_libmad_configure.ac >=================================================================== >--- audio/audacity/files/patch-lib-src_libmad_configure.ac (nonexistent) >+++ audio/audacity/files/patch-lib-src_libmad_configure.ac (working copy) >@@ -0,0 +1,33 @@ >+--- lib-src/libmad/configure.ac.orig 2016-01-08 22:05:48 UTC >++++ lib-src/libmad/configure.ac >+@@ -141,22 +141,25 @@ then >+ >+ case "$optimize" in >+ -O|"-O "*) >++dnl (using audio/libmad/files/patch-configure as reference) >++AC_PROG_GREP >++AS_IF([$CC -v 2>&1 | $GREP -q clang], [CLANG=yes], [CLANG=]) >+ optimize="-O" >+ : #x optimize="$optimize -fforce-mem" >+ : #x optimize="$optimize -fforce-addr" >+ : #x optimize="$optimize -finline-functions" >+ : #- optimize="$optimize -fstrength-reduce" >+- optimize="$optimize -fthread-jumps" >+- optimize="$optimize -fcse-follow-jumps" >+- optimize="$optimize -fcse-skip-blocks" >++ if @<:@ x$CLANG != xyes @:>@ ; then optimize="$optimize -fthread-jumps" ; fi >++ if @<:@ x$CLANG != xyes @:>@ ; then optimize="$optimize -fcse-follow-jumps" ; fi >++ if @<:@ x$CLANG != xyes @:>@ ; then optimize="$optimize -fcse-skip-blocks" ; fi >+ : #x optimize="$optimize -frerun-cse-after-loop" >+ : #x optimize="$optimize -frerun-loop-opt" >+ : #x optimize="$optimize -fgcse" >+ optimize="$optimize -fexpensive-optimizations" >+- optimize="$optimize -fregmove" >++ if @<:@ x$CLANG != xyes @:>@ ; then optimize="$optimize -fregmove" ; fi >+ : #* optimize="$optimize -fdelayed-branch" >+ : #x optimize="$optimize -fschedule-insns" >+- optimize="$optimize -fschedule-insns2" >++ if @<:@ x$CLANG != xyes @:>@ ; then optimize="$optimize -fschedule-insns2" ; fi >+ : #? optimize="$optimize -ffunction-sections" >+ : #? optimize="$optimize -fcaller-saves" >+ : #> optimize="$optimize -funroll-loops" >Index: audio/audacity/files/patch-lib-src_libnyquist_Makefile.in >=================================================================== >--- audio/audacity/files/patch-lib-src_libnyquist_Makefile.in (revision 410194) >+++ audio/audacity/files/patch-lib-src_libnyquist_Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- lib-src/libnyquist/Makefile.in.orig 2016-01-08 22:05:48 UTC >-+++ lib-src/libnyquist/Makefile.in >-@@ -467,7 +467,7 @@ top_build_prefix = @top_build_prefix@ >- top_builddir = @top_builddir@ >- top_srcdir = @top_srcdir@ >- PORTAUDIO_CFLAGS = -I${srcdir}/../portaudio-v19/include >--SNDFILE_CFLAGS = -I${builddir}/../libsndfile/src >-+SNDFILE_CFLAGS = -I%%LOCALBASE%%/include >- >- # tell aclocal that extra macros can be found in autotools/m4/ >- ACLOCAL_AMFLAGS = -I autotools/m4 >Index: audio/audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.ac >=================================================================== >--- audio/audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.ac (nonexistent) >+++ audio/audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.ac (working copy) >@@ -0,0 +1,11 @@ >+--- lib-src/portaudio-v19/bindings/cpp/configure.ac.orig 2016-01-08 22:05:48 UTC >++++ lib-src/portaudio-v19/bindings/cpp/configure.ac >+@@ -14,7 +14,7 @@ m4_define([lt_age], [0]) >+ >+ AC_INIT([PortAudioCpp], [12]) >+ AC_CONFIG_SRCDIR([include/portaudiocpp/PortAudioCpp.hxx]) >+-AM_INIT_AUTOMAKE >++AM_INIT_AUTOMAKE([subdir-objects]) >+ AM_MAINTAINER_MODE >+ >+ ###### Top-level directory of pacpp >Index: audio/audacity/files/patch-lib-src_portmixer_configure >=================================================================== >--- audio/audacity/files/patch-lib-src_portmixer_configure (revision 410194) >+++ audio/audacity/files/patch-lib-src_portmixer_configure (nonexistent) >@@ -1,11 +0,0 @@ >---- lib-src/portmixer/configure.orig 2016-01-08 22:05:48 UTC >-+++ lib-src/portmixer/configure >-@@ -12028,7 +12028,7 @@ fi >- # >- >- cppflags_save="$CPPFLAGS" >--CPPFLAGS="$CPPFLAGS $PORTAUDIO_CFLAGS" >-+CPPFLAGS="$PORTAUDIO_CFLAGS $CPPFLAGS" >- >- have_oss=no >- for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h >Index: audio/audacity/files/patch-src_Makefile.am >=================================================================== >--- audio/audacity/files/patch-src_Makefile.am (nonexistent) >+++ audio/audacity/files/patch-src_Makefile.am (working copy) >@@ -0,0 +1,12 @@ >+--- src/Makefile.am.orig 2016-01-08 22:05:48 UTC >++++ src/Makefile.am >+@@ -75,8 +75,7 @@ audacity_CPPFLAGS = \ >+ # /usr/local/include/wx-2.8/wx/buffer.h:289:9: note: in expansion of macro 'wxCHECK_RET' >+ # wxCHECK_RET( m_bufdata->m_data, wxT("invalid wxMemoryBuffer") ); >+ # ^ >+-audacity_CXXFLAGS = \ >+- -Wno-unused-local-typedefs >++audacity_CXXFLAGS = >+ >+ audacity_LDFLAGS = -rdynamic >+ audacity_LDADD = \ >Index: audio/audacity/files/patch-src__Makefile.in >=================================================================== >--- audio/audacity/files/patch-src__Makefile.in (revision 410194) >+++ audio/audacity/files/patch-src__Makefile.in (nonexistent) >@@ -1,12 +0,0 @@ >---- src/Makefile.in.orig 2015-07-11 10:02:22 UTC >-+++ src/Makefile.in >-@@ -1118,8 +1118,7 @@ audacity_CPPFLAGS = -D__STDC_CONSTANT_MA >- # /usr/local/include/wx-2.8/wx/buffer.h:289:9: note: in expansion of macro 'wxCHECK_RET' >- # wxCHECK_RET( m_bufdata->m_data, wxT("invalid wxMemoryBuffer") ); >- # ^ >--audacity_CXXFLAGS = \ >-- -Wno-unused-local-typedefs >-+audacity_CXXFLAGS = >- >- audacity_LDFLAGS = -rdynamic >- audacity_LDADD = $(EXPAT_LIBS) $(FILEDIALOG_LIBS) $(PORTAUDIO_LIBS) \
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
Flags:
xxjack12xx
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 206914
:
166543
|
166544
|
166584
|
166592
|
166649
|
166650
|
167341
|
167896
|
167897
| 168069 |
168272