summaryrefslogtreecommitdiff
path: root/audio/audacity/patches/patch-ba
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-20 13:38:23 +0000
committerrodent <rodent@pkgsrc.org>2015-04-20 13:38:23 +0000
commitd49d2bceeb1a8b471afcefd97ebdc7f71d4edace (patch)
treec298faf91fe39bb96bef6a196f58888deede53d4 /audio/audacity/patches/patch-ba
parentd83b21481b7223c94764ece5a2501742d18accdd (diff)
downloadpkgsrc-d49d2bceeb1a8b471afcefd97ebdc7f71d4edace.tar.gz
There are quite a lot of changes to this package. They are spread across
eight (8) wiki pages here: http://wiki.audacityteam.org/wiki/Release_Notes. For pkgsrc changes, some patches were removed which were integrated upstream or don't exist in source anymore. PKG_OPTIONS framework was added to enable the user to built with gtk{2,3}, jack, alsa, NLS, ladspa, and debug options. gtk3, jack, and alsa options need work and aren't supported currently. This package uses a cc-by-v3.0-license which needs to be imported sometime too. Using portaudio-devel from pkgsrc is disabled, due to requiring the Pa_GetStreamHostApiType() function which is not present in our stable version. The in-tree portaudio is used instead. Nyquist support is not building as well at the moment along with the portsmf midi support. Package adds many additional dependencies like lv2, lilv, libogg, twolame, libsbsms, libsndfile, and more. Enjoy.
Diffstat (limited to 'audio/audacity/patches/patch-ba')
-rw-r--r--audio/audacity/patches/patch-ba28
1 files changed, 15 insertions, 13 deletions
diff --git a/audio/audacity/patches/patch-ba b/audio/audacity/patches/patch-ba
index 86228eb1575..23b33102b1b 100644
--- a/audio/audacity/patches/patch-ba
+++ b/audio/audacity/patches/patch-ba
@@ -1,24 +1,26 @@
-$NetBSD: patch-ba,v 1.1 2009/01/13 12:38:49 drochner Exp $
+$NetBSD: patch-ba,v 1.2 2015/04/20 13:38:23 rodent Exp $
---- lib-src/allegro/strparse.cpp.orig 2006-11-15 05:12:11.000000000 +0100
-+++ lib-src/allegro/strparse.cpp
-@@ -16,8 +16,9 @@ char String_parse::peek()
+Bounds checking.
+
+--- lib-src/portsmf/strparse.cpp.orig 2015-03-02 01:07:05.000000000 +0000
++++ lib-src/portsmf/strparse.cpp
+@@ -19,8 +19,9 @@ char String_parse::peek()
}
--void String_parse::get_nonspace_quoted(char *field)
-+void String_parse::get_nonspace_quoted(char *field, int flen)
+-void String_parse::get_nonspace_quoted(string &field)
++void String_parse::get_nonspace_quoted(string &field, int flen)
{
+ char *ofield = field;
+ field.clear();
skip_space();
bool quoted = false;
- if (string[pos] == '"') {
-@@ -25,7 +26,7 @@ void String_parse::get_nonspace_quoted(c
- *field++ = '"';
+@@ -29,7 +30,7 @@ void String_parse::get_nonspace_quoted(s
+ field.append(1, '"');
pos = pos + 1;
}
-- while (string[pos] && (quoted || !isspace(string[pos]))) {
-+ while (string[pos] && (quoted || !isspace(string[pos])) && (field - ofield) < (flen - 2)) {
- if (string[pos] == '"') {
+- while ((*str)[pos] && (quoted || !isspace((*str)[pos]))) {
++ while ((*str)[pos] && (quoted || !isspace((*str)[pos])) && (field - ofield) < (flen - 2)) {
+ if ((*str)[pos] == '"') {
if (quoted) {
- *field++ = '"';
+ field.append(1, '"');