FreeBSD Bugzilla – Attachment 166543 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]
patch for audio/audacity
patch-audacity.diff (text/plain), 11.28 KB, created by
Tatsuki Makino
on 2016-02-04 10:06:10 UTC
(
hide
)
Description:
patch for audio/audacity
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2016-02-04 10:06:10 UTC
Size:
11.28 KB
patch
obsolete
>Index: audio/audacity/Makefile >=================================================================== >--- audio/audacity/Makefile (revision 408004) >+++ audio/audacity/Makefile (working copy) >@@ -25,7 +25,7 @@ > WRKSRC= ${WRKDIR}/${PORTNAME}-Audacity-${PORTVERSION} > > GNU_CONFIGURE= yes >-USES= compiler:c++11-lib cpe desktop-file-utils gmake pkgconfig shared-mime-info shebangfix dos2unix >+USES= autoreconf compiler:c++11-lib cpe desktop-file-utils gmake libtool pkgconfig shared-mime-info shebangfix dos2unix > NLS_USES= gettext > NLS_CONFIGURE_ENABLE= nls > OPTIONS_SUB= yes >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 408004) >+++ 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 408004) >+++ 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 408004) >+++ 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-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 408004) >+++ 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
Actions:
View
|
Diff
Attachments on
bug 206914
:
166543
|
166544
|
166584
|
166592
|
166649
|
166650
|
167341
|
167896
|
167897
|
168069
|
168272