Hello community, here is the log from the commit of package ladspa for openSUSE:Factory checked in at Mon Nov 16 18:47:04 CET 2009. -------- --- ladspa/ladspa.changes 2009-11-02 16:01:06.000000000 +0100 +++ ladspa/ladspa.changes 2009-11-10 20:23:38.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Nov 10 20:22:43 CET 2009 - tiwai@suse.de + +- make static varibles in some blop plugins (possible fix for + bnc#553647) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- blop-wdautil-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ladspa-devel.spec ++++++ --- /var/tmp/diff_new_pack.KwdHbc/_old 2009-11-16 18:45:11.000000000 +0100 +++ /var/tmp/diff_new_pack.KwdHbc/_new 2009-11-16 18:45:11.000000000 +0100 @@ -21,7 +21,7 @@ Name: ladspa-devel Summary: Include Files mandatory for Development. Version: 1.12.code10.3 -Release: 103 +Release: 104 License: GPL v2 or later Group: Development/Libraries/C and C++ Source: ladspa_sdk_1.12.tar.bz2 ++++++ ladspa.spec ++++++ --- /var/tmp/diff_new_pack.KwdHbc/_old 2009-11-16 18:45:11.000000000 +0100 +++ /var/tmp/diff_new_pack.KwdHbc/_new 2009-11-16 18:45:11.000000000 +0100 @@ -38,7 +38,7 @@ %define blepvco_version 0.1.0 Summary: The Linux Audio Developer's Simple Plug-In API Version: 1.12.code10.3.1 -Release: 117 +Release: 118 License: GPL v2 or later Group: Development/Libraries/C and C++ AutoReq: on @@ -92,6 +92,7 @@ Patch23: alienwah-float_complex.diff Patch25: pvoc-0.1.10-depend-copts-fix.diff Patch26: swh-nostatic-lib.diff +Patch27: blop-wdautil-fix.diff Url: http://www.ladspa.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -149,6 +150,7 @@ (cd blop-%{blop_version} %patch5 %patch6 +%patch27 -p1 ) (cd vcf-%{vcf_version} %patch7 ++++++ blop-wdautil-fix.diff ++++++ --- src/wdatutil.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/src/wdatutil.c +++ b/src/wdatutil.c @@ -269,13 +269,13 @@ /* * Fixed data and tables */ - fprintf (wdat_fp, "unsigned long ref_count = 0;\n"); - fprintf (wdat_fp, "unsigned long first_sample_rate = 0;\n"); - fprintf (wdat_fp, "unsigned long table_count = %ld;\n", table_count); - fprintf (wdat_fp, "Wavetable tables[%ld];\n", table_count); - fprintf (wdat_fp, "Wavetable * ptables[%ld];\n", table_count); - fprintf (wdat_fp, "unsigned long lookup[%ld];\n", w->lookup_max + 1); - fprintf (wdat_fp, "unsigned long lookup_max = %ld;\n", w->lookup_max); + fprintf (wdat_fp, "static unsigned long ref_count = 0;\n"); + fprintf (wdat_fp, "static unsigned long first_sample_rate = 0;\n"); + fprintf (wdat_fp, "static unsigned long table_count = %ld;\n", table_count); + fprintf (wdat_fp, "static Wavetable tables[%ld];\n", table_count); + fprintf (wdat_fp, "static Wavetable * ptables[%ld];\n", table_count); + fprintf (wdat_fp, "static unsigned long lookup[%ld];\n", w->lookup_max + 1); + fprintf (wdat_fp, "static unsigned long lookup_max = %ld;\n", w->lookup_max); fprintf (wdat_fp, "\n"); /* * Sample data @@ -326,13 +326,13 @@ fprintf (wdat_fp, "\n"); } - fprintf (wdat_fp, "LADSPA_Data samples_zero[%ld];\n", t->sample_count + 3); + fprintf (wdat_fp, "static LADSPA_Data samples_zero[%ld];\n", t->sample_count + 3); fprintf (wdat_fp, "\n"); /* * Function to get Wavedata - the sample rate is needed to calculate * frequencies and related things */ - fprintf (wdat_fp, "int\n"); + fprintf (wdat_fp, "static int\n"); fprintf (wdat_fp, "blop_get_%s (Wavedata * w, unsigned long sample_rate)\n", data_name); fprintf (wdat_fp, "{\n"); fprintf (wdat_fp, "\tWavetable * t;\n"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org