pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/audacity



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jul 31 21:10:29 UTC 2018

Modified Files:
        pkgsrc/audio/audacity: Makefile distinfo
        pkgsrc/audio/audacity/patches:
            patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h
Added Files:
        pkgsrc/audio/audacity/patches: patch-src_effects_Effect.cpp
            patch-src_effects_EffectManager.cpp

Log Message:
audacity: SunOS build fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 pkgsrc/audio/audacity/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/audio/audacity/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/audacity/patches/patch-src_effects_Effect.cpp \
    pkgsrc/audio/audacity/patches/patch-src_effects_EffectManager.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/audacity/Makefile
diff -u pkgsrc/audio/audacity/Makefile:1.112 pkgsrc/audio/audacity/Makefile:1.113
--- pkgsrc/audio/audacity/Makefile:1.112        Sun Apr 29 05:46:36 2018
+++ pkgsrc/audio/audacity/Makefile      Tue Jul 31 21:10:29 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.112 2018/04/29 05:46:36 wiz Exp $
+# $NetBSD: Makefile,v 1.113 2018/07/31 21:10:29 jperkin Exp $
 
 DISTNAME=              audacity-minsrc-2.1.2
 PKGNAME=               ${DISTNAME:S/-minsrc//1}
@@ -44,8 +44,11 @@ CONFIG_GUESS_OVERRIDE=               \
 CONFIG_SUB_OVERRIDE=           \
        config.sub */config.sub */*/config.sub */*/*/config.sub
 
+CFLAGS.SunOS+= -fPIC
+
 PTHREAD_AUTO_VARS=     yes
 BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+BUILDLINK_TRANSFORM+=  rm:-Wl,--version-script=./build/vamp-plugin.map
 
 # regen Makefile.in to avoid being built as shared libraries
 pre-configure:

Index: pkgsrc/audio/audacity/distinfo
diff -u pkgsrc/audio/audacity/distinfo:1.35 pkgsrc/audio/audacity/distinfo:1.36
--- pkgsrc/audio/audacity/distinfo:1.35 Sat Mar 31 20:08:11 2018
+++ pkgsrc/audio/audacity/distinfo      Tue Jul 31 21:10:29 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2018/03/31 20:08:11 joerg Exp $
+$NetBSD: distinfo,v 1.36 2018/07/31 21:10:29 jperkin Exp $
 
 SHA1 (audacity-minsrc-2.1.2.tar.xz) = d0b8924b846f833182e674d621b28eb666cc97d6
 RMD160 (audacity-minsrc-2.1.2.tar.xz) = 47fccf8b96b6db95a677045bf122084d233bd80c
@@ -12,11 +12,13 @@ SHA1 (patch-lib-src_FileDialog_Makefile.
 SHA1 (patch-lib-src_lib-widget-extra_Makefile.am) = 03d080c141259fbf02a9c5a70ce06625fcebf75e
 SHA1 (patch-lib-src_libnyquist_nyquist_nyqsrc_sndread.c) = dbc0b5b88043c7b2895742e78e6a5990f65012ef
 SHA1 (patch-lib-src_libnyquist_nyquist_sys_unix_switches.h) = d313f137f11d3e0fafa383ddeccbc89021e9ddee
-SHA1 (patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h) = a0d194f7f7f278cfba1f54269e0323990abb73f3
+SHA1 (patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h) = 2d4558f059d86633a1fcdda22ef0c914758b35a0
 SHA1 (patch-lib-src_portaudio-v19_Makefile.in) = 9e86fbd93d322322b8416ef6b43ba5c98141c986
 SHA1 (patch-lib-src_portmixer_src-extra_Makefile.am) = 9a0d5be37753683a2cade42673edb3d08e01ab4d
 SHA1 (patch-lib-src_sbsms_src-extra_Makefile.am) = 2beca18a286de1b26f4f96976fb58e1665d0531c
 SHA1 (patch-src_FFmpeg.h) = 664efb8a668a9dd5f76704e5a46c495a8c2c3a4d
+SHA1 (patch-src_effects_Effect.cpp) = ceca279b2d9e0044141a2ad5151390983ae41c23
+SHA1 (patch-src_effects_EffectManager.cpp) = 78e2d1290170e61b0363e5fa453bb11a5b28d411
 SHA1 (patch-src_effects_NoiseRemoval.cpp) = 6d72545cde66ac90d4eb3821a3a3f384ccbf46f2
 SHA1 (patch-src_effects_VST_VSTEffect.cpp) = 76a55afd7977505801dd129e139c9782bfd8dfcb
 SHA1 (patch-src_effects_lv2_LV2Effect.cpp) = b001b79df1e924ef0635436f5b8d02db5fa00dd6

Index: pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h
diff -u pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h:1.1 pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h:1.2
--- pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h:1.1    Tue Apr 21 01:33:39 2015
+++ pkgsrc/audio/audacity/patches/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h        Tue Jul 31 21:10:29 2018
@@ -1,10 +1,10 @@
-$NetBSD: patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h,v 1.1 2015/04/21 01:33:39 rodent Exp $
+$NetBSD: patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h,v 1.2 2018/07/31 21:10:29 jperkin Exp $
 
 Define endianness for {Free,Open,Net}BSD and Bitrig.
 
---- lib-src/libnyquist/nyquist/xlisp/xlisp.h.orig      2015-03-02 01:07:22.000000000 +0000
+--- lib-src/libnyquist/nyquist/xlisp/xlisp.h.orig      2016-01-13 14:31:18.000000000 +0000
 +++ lib-src/libnyquist/nyquist/xlisp/xlisp.h
-@@ -166,6 +166,20 @@ extern long ptrtoabs();
+@@ -151,6 +151,27 @@ extern long ptrtoabs();
  #else
  #define XL_BIG_ENDIAN
  #endif
@@ -22,6 +22,13 @@ Define endianness for {Free,Open,Net}BSD
 + #else
 +  #define XL_BIG_ENDIAN
 + #endif
++#elif defined(__sun)
++ #include <sys/byteorder.h>
++ #ifdef _BIG_ENDIAN
++  #define XL_BIG_ENDIAN
++ #else
++  #define XL_LITTLE_ENDIAN
++ #endif
  #endif
  
  /* Apple CC */

Added files:

Index: pkgsrc/audio/audacity/patches/patch-src_effects_Effect.cpp
diff -u /dev/null pkgsrc/audio/audacity/patches/patch-src_effects_Effect.cpp:1.1
--- /dev/null   Tue Jul 31 21:10:29 2018
+++ pkgsrc/audio/audacity/patches/patch-src_effects_Effect.cpp  Tue Jul 31 21:10:29 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_effects_Effect.cpp,v 1.1 2018/07/31 21:10:29 jperkin Exp $
+
+SunOS needs alloca.h for alloca().
+
+--- src/effects/Effect.cpp.orig        2016-01-13 14:31:24.000000000 +0000
++++ src/effects/Effect.cpp
+@@ -54,6 +54,10 @@ greater use in future.
+ #include <Cocoa/Cocoa.h>
+ #endif
+ 
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ #include "../Experimental.h"
+ 
+ static const int kDummyID = 20000;
Index: pkgsrc/audio/audacity/patches/patch-src_effects_EffectManager.cpp
diff -u /dev/null pkgsrc/audio/audacity/patches/patch-src_effects_EffectManager.cpp:1.1
--- /dev/null   Tue Jul 31 21:10:29 2018
+++ pkgsrc/audio/audacity/patches/patch-src_effects_EffectManager.cpp   Tue Jul 31 21:10:29 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_effects_EffectManager.cpp,v 1.1 2018/07/31 21:10:29 jperkin Exp $
+
+SunOS needs alloca.h for alloca().
+
+--- src/effects/EffectManager.cpp.orig 2016-01-13 14:31:24.000000000 +0000
++++ src/effects/EffectManager.cpp
+@@ -15,6 +15,10 @@
+ #include <wx/stopwatch.h>
+ #include <wx/tokenzr.h>
+ 
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ #include "../Experimental.h"
+ 
+ #if defined(EXPERIMENTAL_EFFECTS_RACK)



Home | Main Index | Thread Index | Old Index