[SCM] swh-plugins/master: Plugins shouldn't call setlocale() as it could screw up the locale settings of any application using them.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Dec 27 16:42:26 UTC 2012


The following commit has been merged in the master branch:
commit e33db5cdf6f113d17afce63ea02bb2c0ac5519e1
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Dec 27 16:41:33 2012 +0000

    Plugins shouldn't call setlocale() as it could screw up the locale settings of any application using them.
    
    Closes: #672705
    Thanks: Daniel Gibson for the patch.

diff --git a/debian/patches/04-nosetlocale.diff b/debian/patches/04-nosetlocale.diff
new file mode 100644
index 0000000..0f1f971
--- /dev/null
+++ b/debian/patches/04-nosetlocale.diff
@@ -0,0 +1,2086 @@
+Subject: Do not call setlocale().
+Author: Daniel Gibson <gibson at Mathematik.Uni-Marburg.de>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672705
+Forwarded: Steve Harris <steve.harris at garlik.com>
+---
+ alias_1407.c                      |    1 -
+ alias_1407.so.c                   |    1 -
+ allpass_1895.c                    |    1 -
+ allpass_1895.so.c                 |    1 -
+ am_pitchshift_1433.c              |    1 -
+ am_pitchshift_1433.so.c           |    1 -
+ amp_1181.c                        |    1 -
+ amp_1181.so.c                     |    1 -
+ analogue_osc_1416.c               |    1 -
+ analogue_osc_1416.so.c            |    1 -
+ bandpass_a_iir_1893.c             |    1 -
+ bandpass_a_iir_1893.so.c          |    1 -
+ bandpass_iir_1892.c               |    1 -
+ bandpass_iir_1892.so.c            |    1 -
+ bode_shifter_1431.c               |    1 -
+ bode_shifter_1431.so.c            |    1 -
+ bode_shifter_cv_1432.c            |    1 -
+ bode_shifter_cv_1432.so.c         |    1 -
+ butterworth_1902.c                |    1 -
+ butterworth_1902.so.c             |    1 -
+ chebstortion_1430.c               |    1 -
+ chebstortion_1430.so.c            |    1 -
+ comb_1190.c                       |    1 -
+ comb_1190.so.c                    |    1 -
+ comb_1887.c                       |    1 -
+ comb_1887.so.c                    |    1 -
+ comb_splitter_1411.c              |    1 -
+ comb_splitter_1411.so.c           |    1 -
+ const_1909.c                      |    1 -
+ crossover_dist_1404.c             |    1 -
+ crossover_dist_1404.so.c          |    1 -
+ dc_remove_1207.c                  |    1 -
+ dc_remove_1207.so.c               |    1 -
+ debug_1184.so.c                   |    1 -
+ decay_1886.c                      |    1 -
+ decay_1886.so.c                   |    1 -
+ decimator_1202.c                  |    1 -
+ decimator_1202.so.c               |    1 -
+ declip_1195.c                     |    1 -
+ declip_1195.so.c                  |    1 -
+ delay_1898.c                      |    1 -
+ delay_1898.so.c                   |    1 -
+ delayorama_1402.c                 |    1 -
+ delayorama_1402.so.c              |    1 -
+ diode_1185.c                      |    1 -
+ diode_1185.so.c                   |    1 -
+ divider_1186.c                    |    1 -
+ divider_1186.so.c                 |    1 -
+ dj_eq_1901.c                      |    1 -
+ dj_eq_1901.so.c                   |    1 -
+ dj_flanger_1438.c                 |    1 -
+ dj_flanger_1438.so.c              |    1 -
+ dyson_compress_1403.c             |    1 -
+ dyson_compress_1403.so.c          |    1 -
+ fad_delay_1192.c                  |    1 -
+ fad_delay_1192.so.c               |    1 -
+ fast_lookahead_limiter_1913.c     |    1 -
+ flanger_1191.c                    |    1 -
+ flanger_1191.so.c                 |    1 -
+ fm_osc_1415.c                     |    1 -
+ fm_osc_1415.so.c                  |    1 -
+ foldover_1213.c                   |    1 -
+ foldover_1213.so.c                |    1 -
+ foverdrive_1196.c                 |    1 -
+ foverdrive_1196.so.c              |    1 -
+ freq_tracker_1418.c               |    1 -
+ freq_tracker_1418.so.c            |    1 -
+ gate_1410.c                       |    1 -
+ gate_1410.so.c                    |    1 -
+ gate_1921.so.c                    |    1 -
+ giant_flange_1437.c               |    1 -
+ giant_flange_1437.so.c            |    1 -
+ gong_1424.c                       |    1 -
+ gong_1424.so.c                    |    1 -
+ gong_beater_1439.c                |    1 -
+ gong_beater_1439.so.c             |    1 -
+ gsm_1215.c                        |    1 -
+ gsm_1215.so.c                     |    1 -
+ gverb_1216.c                      |    1 -
+ gverb_1216.so.c                   |    1 -
+ hard_limiter_1413.c               |    1 -
+ hard_limiter_1413.so.c            |    1 -
+ harmonic_gen_1220.c               |    1 -
+ hermes_filter_1200.c              |    1 -
+ hermes_filter_1200.so.c           |    1 -
+ highpass_iir_1890.c               |    1 -
+ highpass_iir_1890.so.c            |    1 -
+ hilbert_1440.c                    |    1 -
+ hilbert_1440.so.c                 |    1 -
+ imp_1199.c                        |    1 -
+ imp_1199.so.c                     |    1 -
+ impulse_1885.c                    |    1 -
+ impulse_1885.so.c                 |    1 -
+ inv_1429.c                        |    1 -
+ inv_1429.so.c                     |    1 -
+ karaoke_1409.c                    |    1 -
+ karaoke_1409.so.c                 |    1 -
+ latency_1914.c                    |    1 -
+ lcr_delay_1436.c                  |    1 -
+ lcr_delay_1436.so.c               |    1 -
+ lookahead_limiter_1435.so.c       |    1 -
+ lookahead_limiter_const_1906.so.c |    1 -
+ lowpass_iir_1891.c                |    1 -
+ lowpass_iir_1891.so.c             |    1 -
+ ls_filter_1908.c                  |    1 -
+ ls_filter_1908.so.c               |    1 -
+ makestub.pl                       |    1 -
+ matrix_ms_st_1421.c               |    1 -
+ matrix_ms_st_1421.so.c            |    1 -
+ matrix_spatialiser_1422.c         |    1 -
+ matrix_spatialiser_1422.so.c      |    1 -
+ matrix_st_ms_1420.c               |    1 -
+ matrix_st_ms_1420.so.c            |    1 -
+ mbeq_1197.c                       |    1 -
+ mbeq_1197.so.c                    |    1 -
+ mod_delay_1419.c                  |    1 -
+ mod_delay_1419.so.c               |    1 -
+ multivoice_chorus_1201.c          |    1 -
+ multivoice_chorus_1201.so.c       |    1 -
+ notch_iir_1894.c                  |    1 -
+ notch_iir_1894.so.c               |    1 -
+ phasers_1217.c                    |    1 -
+ phasers_1217.so.c                 |    1 -
+ pitch_scale_1193.c                |    1 -
+ pitch_scale_1193.so.c             |    1 -
+ pitch_scale_1194.c                |    1 -
+ pitch_scale_1194.so.c             |    1 -
+ plate_1423.c                      |    1 -
+ plate_1423.so.c                   |    1 -
+ pointer_cast_1910.c               |    1 -
+ rate_shifter_1417.c               |    1 -
+ rate_shifter_1417.so.c            |    1 -
+ retro_flange_1208.c               |    1 -
+ retro_flange_1208.so.c            |    1 -
+ revdelay_1605.c                   |    1 -
+ revdelay_1605.so.c                |    1 -
+ ringmod_1188.c                    |    1 -
+ ringmod_1188.so.c                 |    1 -
+ satan_maximiser_1408.c            |    1 -
+ satan_maximiser_1408.so.c         |    1 -
+ sc1_1425.c                        |    1 -
+ sc1_1425.so.c                     |    1 -
+ sc2_1426.c                        |    1 -
+ sc2_1426.so.c                     |    1 -
+ sc3_1427.c                        |    1 -
+ sc3_1427.so.c                     |    1 -
+ sc4_1434.so.c                     |    1 -
+ sc4_1882.c                        |    1 -
+ sc4_1882.so.c                     |    1 -
+ sc4m_1916.c                       |    1 -
+ se4_1883.c                        |    1 -
+ se4_1883.so.c                     |    1 -
+ shaper_1187.c                     |    1 -
+ shaper_1187.so.c                  |    1 -
+ sifter_1210.c                     |    1 -
+ sifter_1210.so.c                  |    1 -
+ sin_cos_1881.c                    |    1 -
+ sin_cos_1881.so.c                 |    1 -
+ single_para_1203.c                |    1 -
+ single_para_1203.so.c             |    1 -
+ sinus_wavewrapper_1198.c          |    1 -
+ sinus_wavewrapper_1198.so.c       |    1 -
+ smooth_decimate_1414.c            |    1 -
+ smooth_decimate_1414.so.c         |    1 -
+ split_1406.c                      |    1 -
+ split_1406.so.c                   |    1 -
+ step_muxer_1212.c                 |    1 -
+ step_muxer_1212.so.c              |    1 -
+ surround_encoder_1401.c           |    1 -
+ surround_encoder_1401.so.c        |    1 -
+ svf_1214.c                        |    1 -
+ svf_1214.so.c                     |    1 -
+ tape_delay_1211.c                 |    1 -
+ tape_delay_1211.so.c              |    1 -
+ transient_1206.c                  |    1 -
+ transient_1206.so.c               |    1 -
+ triple_para_1204.c                |    1 -
+ triple_para_1204.so.c             |    1 -
+ valve_1209.c                      |    1 -
+ valve_1209.so.c                   |    1 -
+ valve_rect_1405.c                 |    1 -
+ valve_rect_1405.so.c              |    1 -
+ vynil_1905.c                      |    1 -
+ vynil_1905.so.c                   |    1 -
+ wave_terrain_1412.c               |    1 -
+ wave_terrain_1412.so.c            |    1 -
+ xfade_1915.c                      |    1 -
+ zm1_1428.c                        |    1 -
+ zm1_1428.so.c                     |    1 -
+ 189 files changed, 189 deletions(-)
+
+--- swh-plugins.orig/alias_1407.c
++++ swh-plugins/alias_1407.c
+@@ -168,7 +168,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/alias_1407.so.c
++++ swh-plugins/alias_1407.so.c
+@@ -168,7 +168,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/allpass_1895.c
++++ swh-plugins/allpass_1895.c
+@@ -1124,7 +1124,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/allpass_1895.so.c
++++ swh-plugins/allpass_1895.so.c
+@@ -1124,7 +1124,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/amp_1181.c
++++ swh-plugins/amp_1181.c
+@@ -161,7 +161,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/amp_1181.so.c
++++ swh-plugins/amp_1181.so.c
+@@ -161,7 +161,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/am_pitchshift_1433.c
++++ swh-plugins/am_pitchshift_1433.c
+@@ -366,7 +366,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/am_pitchshift_1433.so.c
++++ swh-plugins/am_pitchshift_1433.so.c
+@@ -366,7 +366,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/analogue_osc_1416.c
++++ swh-plugins/analogue_osc_1416.c
+@@ -304,7 +304,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/analogue_osc_1416.so.c
++++ swh-plugins/analogue_osc_1416.so.c
+@@ -304,7 +304,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bandpass_a_iir_1893.c
++++ swh-plugins/bandpass_a_iir_1893.c
+@@ -203,7 +203,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bandpass_a_iir_1893.so.c
++++ swh-plugins/bandpass_a_iir_1893.so.c
+@@ -203,7 +203,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bandpass_iir_1892.c
++++ swh-plugins/bandpass_iir_1892.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bandpass_iir_1892.so.c
++++ swh-plugins/bandpass_iir_1892.so.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bode_shifter_1431.c
++++ swh-plugins/bode_shifter_1431.c
+@@ -372,7 +372,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bode_shifter_1431.so.c
++++ swh-plugins/bode_shifter_1431.so.c
+@@ -372,7 +372,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bode_shifter_cv_1432.c
++++ swh-plugins/bode_shifter_cv_1432.c
+@@ -400,7 +400,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/bode_shifter_cv_1432.so.c
++++ swh-plugins/bode_shifter_cv_1432.so.c
+@@ -400,7 +400,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/butterworth_1902.c
++++ swh-plugins/butterworth_1902.c
+@@ -523,7 +523,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/butterworth_1902.so.c
++++ swh-plugins/butterworth_1902.so.c
+@@ -523,7 +523,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/chebstortion_1430.c
++++ swh-plugins/chebstortion_1430.c
+@@ -321,7 +321,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/chebstortion_1430.so.c
++++ swh-plugins/chebstortion_1430.so.c
+@@ -321,7 +321,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_1190.c
++++ swh-plugins/comb_1190.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_1190.so.c
++++ swh-plugins/comb_1190.so.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_1887.c
++++ swh-plugins/comb_1887.c
+@@ -1117,7 +1117,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_1887.so.c
++++ swh-plugins/comb_1887.so.c
+@@ -1117,7 +1117,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_splitter_1411.c
++++ swh-plugins/comb_splitter_1411.c
+@@ -262,7 +262,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/comb_splitter_1411.so.c
++++ swh-plugins/comb_splitter_1411.so.c
+@@ -262,7 +262,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/const_1909.c
++++ swh-plugins/const_1909.c
+@@ -178,7 +178,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/crossover_dist_1404.c
++++ swh-plugins/crossover_dist_1404.c
+@@ -194,7 +194,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/crossover_dist_1404.so.c
++++ swh-plugins/crossover_dist_1404.so.c
+@@ -191,7 +191,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dc_remove_1207.c
++++ swh-plugins/dc_remove_1207.c
+@@ -173,7 +173,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dc_remove_1207.so.c
++++ swh-plugins/dc_remove_1207.so.c
+@@ -173,7 +173,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/debug_1184.so.c
++++ swh-plugins/debug_1184.so.c
+@@ -207,7 +207,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/decay_1886.c
++++ swh-plugins/decay_1886.c
+@@ -259,7 +259,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/decay_1886.so.c
++++ swh-plugins/decay_1886.so.c
+@@ -259,7 +259,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/decimator_1202.c
++++ swh-plugins/decimator_1202.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/decimator_1202.so.c
++++ swh-plugins/decimator_1202.so.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/declip_1195.c
++++ swh-plugins/declip_1195.c
+@@ -167,7 +167,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/declip_1195.so.c
++++ swh-plugins/declip_1195.so.c
+@@ -167,7 +167,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/delay_1898.c
++++ swh-plugins/delay_1898.c
+@@ -903,7 +903,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/delay_1898.so.c
++++ swh-plugins/delay_1898.so.c
+@@ -903,7 +903,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/delayorama_1402.c
++++ swh-plugins/delayorama_1402.c
+@@ -675,7 +675,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/delayorama_1402.so.c
++++ swh-plugins/delayorama_1402.so.c
+@@ -675,7 +675,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/diode_1185.c
++++ swh-plugins/diode_1185.c
+@@ -192,7 +192,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/diode_1185.so.c
++++ swh-plugins/diode_1185.so.c
+@@ -192,7 +192,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/divider_1186.c
++++ swh-plugins/divider_1186.c
+@@ -256,7 +256,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/divider_1186.so.c
++++ swh-plugins/divider_1186.so.c
+@@ -256,7 +256,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dj_eq_1901.c
++++ swh-plugins/dj_eq_1901.c
+@@ -470,7 +470,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dj_eq_1901.so.c
++++ swh-plugins/dj_eq_1901.so.c
+@@ -470,7 +470,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dj_flanger_1438.c
++++ swh-plugins/dj_flanger_1438.c
+@@ -373,7 +373,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dj_flanger_1438.so.c
++++ swh-plugins/dj_flanger_1438.so.c
+@@ -373,7 +373,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dyson_compress_1403.c
++++ swh-plugins/dyson_compress_1403.c
+@@ -783,7 +783,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/dyson_compress_1403.so.c
++++ swh-plugins/dyson_compress_1403.so.c
+@@ -783,7 +783,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/fad_delay_1192.c
++++ swh-plugins/fad_delay_1192.c
+@@ -312,7 +312,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/fad_delay_1192.so.c
++++ swh-plugins/fad_delay_1192.so.c
+@@ -312,7 +312,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/fast_lookahead_limiter_1913.c
++++ swh-plugins/fast_lookahead_limiter_1913.c
+@@ -580,7 +580,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/flanger_1191.c
++++ swh-plugins/flanger_1191.c
+@@ -442,7 +442,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/flanger_1191.so.c
++++ swh-plugins/flanger_1191.so.c
+@@ -428,7 +428,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/fm_osc_1415.c
++++ swh-plugins/fm_osc_1415.c
+@@ -186,7 +186,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/fm_osc_1415.so.c
++++ swh-plugins/fm_osc_1415.so.c
+@@ -186,7 +186,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/foldover_1213.c
++++ swh-plugins/foldover_1213.c
+@@ -173,7 +173,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/foldover_1213.so.c
++++ swh-plugins/foldover_1213.so.c
+@@ -173,7 +173,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/foverdrive_1196.c
++++ swh-plugins/foverdrive_1196.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/foverdrive_1196.so.c
++++ swh-plugins/foverdrive_1196.so.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/freq_tracker_1418.c
++++ swh-plugins/freq_tracker_1418.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/freq_tracker_1418.so.c
++++ swh-plugins/freq_tracker_1418.so.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gate_1410.c
++++ swh-plugins/gate_1410.c
+@@ -440,7 +440,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gate_1410.so.c
++++ swh-plugins/gate_1410.so.c
+@@ -440,7 +440,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gate_1921.so.c
++++ swh-plugins/gate_1921.so.c
+@@ -858,7 +858,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/giant_flange_1437.c
++++ swh-plugins/giant_flange_1437.c
+@@ -508,7 +508,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/giant_flange_1437.so.c
++++ swh-plugins/giant_flange_1437.so.c
+@@ -508,7 +508,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gong_1424.c
++++ swh-plugins/gong_1424.c
+@@ -615,7 +615,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gong_1424.so.c
++++ swh-plugins/gong_1424.so.c
+@@ -615,7 +615,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gong_beater_1439.c
++++ swh-plugins/gong_beater_1439.c
+@@ -308,7 +308,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gong_beater_1439.so.c
++++ swh-plugins/gong_beater_1439.so.c
+@@ -308,7 +308,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gsm_1215.c
++++ swh-plugins/gsm_1215.c
+@@ -394,7 +394,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gsm_1215.so.c
++++ swh-plugins/gsm_1215.so.c
+@@ -394,7 +394,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gverb_1216.c
++++ swh-plugins/gverb_1216.c
+@@ -290,7 +290,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/gverb_1216.so.c
++++ swh-plugins/gverb_1216.so.c
+@@ -290,7 +290,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hard_limiter_1413.c
++++ swh-plugins/hard_limiter_1413.c
+@@ -194,7 +194,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hard_limiter_1413.so.c
++++ swh-plugins/hard_limiter_1413.so.c
+@@ -194,7 +194,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/harmonic_gen_1220.c
++++ swh-plugins/harmonic_gen_1220.c
+@@ -374,7 +374,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hermes_filter_1200.c
++++ swh-plugins/hermes_filter_1200.c
+@@ -1410,7 +1410,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hermes_filter_1200.so.c
++++ swh-plugins/hermes_filter_1200.so.c
+@@ -1410,7 +1410,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/highpass_iir_1890.c
++++ swh-plugins/highpass_iir_1890.c
+@@ -203,7 +203,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/highpass_iir_1890.so.c
++++ swh-plugins/highpass_iir_1890.so.c
+@@ -203,7 +203,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hilbert_1440.c
++++ swh-plugins/hilbert_1440.c
+@@ -240,7 +240,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/hilbert_1440.so.c
++++ swh-plugins/hilbert_1440.so.c
+@@ -240,7 +240,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/imp_1199.c
++++ swh-plugins/imp_1199.c
+@@ -527,7 +527,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/imp_1199.so.c
++++ swh-plugins/imp_1199.so.c
+@@ -525,7 +525,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/impulse_1885.c
++++ swh-plugins/impulse_1885.c
+@@ -193,7 +193,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/impulse_1885.so.c
++++ swh-plugins/impulse_1885.so.c
+@@ -193,7 +193,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/inv_1429.c
++++ swh-plugins/inv_1429.c
+@@ -145,7 +145,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/inv_1429.so.c
++++ swh-plugins/inv_1429.so.c
+@@ -145,7 +145,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/karaoke_1409.c
++++ swh-plugins/karaoke_1409.c
+@@ -188,7 +188,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/karaoke_1409.so.c
++++ swh-plugins/karaoke_1409.so.c
+@@ -188,7 +188,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/latency_1914.c
++++ swh-plugins/latency_1914.c
+@@ -180,7 +180,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lcr_delay_1436.c
++++ swh-plugins/lcr_delay_1436.c
+@@ -547,7 +547,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lcr_delay_1436.so.c
++++ swh-plugins/lcr_delay_1436.so.c
+@@ -547,7 +547,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lookahead_limiter_1435.so.c
++++ swh-plugins/lookahead_limiter_1435.so.c
+@@ -400,7 +400,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lookahead_limiter_const_1906.so.c
++++ swh-plugins/lookahead_limiter_const_1906.so.c
+@@ -456,7 +456,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lowpass_iir_1891.c
++++ swh-plugins/lowpass_iir_1891.c
+@@ -205,7 +205,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/lowpass_iir_1891.so.c
++++ swh-plugins/lowpass_iir_1891.so.c
+@@ -205,7 +205,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/ls_filter_1908.c
++++ swh-plugins/ls_filter_1908.c
+@@ -216,7 +216,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/ls_filter_1908.so.c
++++ swh-plugins/ls_filter_1908.so.c
+@@ -216,7 +216,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/makestub.pl
++++ swh-plugins/makestub.pl
+@@ -146,7 +146,6 @@ void _init() {
+ 
+ \#ifdef ENABLE_NLS
+ \#define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ \#else
+ \#define D_(s) (s)
+--- swh-plugins.orig/matrix_ms_st_1421.c
++++ swh-plugins/matrix_ms_st_1421.c
+@@ -180,7 +180,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/matrix_ms_st_1421.so.c
++++ swh-plugins/matrix_ms_st_1421.so.c
+@@ -180,7 +180,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/matrix_spatialiser_1422.c
++++ swh-plugins/matrix_spatialiser_1422.c
+@@ -338,7 +338,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/matrix_spatialiser_1422.so.c
++++ swh-plugins/matrix_spatialiser_1422.so.c
+@@ -338,7 +338,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/matrix_st_ms_1420.c
++++ swh-plugins/matrix_st_ms_1420.c
+@@ -169,7 +169,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/matrix_st_ms_1420.so.c
++++ swh-plugins/matrix_st_ms_1420.so.c
+@@ -169,7 +169,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/mbeq_1197.c
++++ swh-plugins/mbeq_1197.c
+@@ -664,7 +664,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/mbeq_1197.so.c
++++ swh-plugins/mbeq_1197.so.c
+@@ -654,7 +654,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/mod_delay_1419.c
++++ swh-plugins/mod_delay_1419.c
+@@ -236,7 +236,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/mod_delay_1419.so.c
++++ swh-plugins/mod_delay_1419.so.c
+@@ -236,7 +236,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/multivoice_chorus_1201.c
++++ swh-plugins/multivoice_chorus_1201.c
+@@ -534,7 +534,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/multivoice_chorus_1201.so.c
++++ swh-plugins/multivoice_chorus_1201.so.c
+@@ -534,7 +534,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/notch_iir_1894.c
++++ swh-plugins/notch_iir_1894.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/notch_iir_1894.so.c
++++ swh-plugins/notch_iir_1894.so.c
+@@ -258,7 +258,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/phasers_1217.c
++++ swh-plugins/phasers_1217.c
+@@ -1037,7 +1037,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/phasers_1217.so.c
++++ swh-plugins/phasers_1217.so.c
+@@ -1037,7 +1037,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/pitch_scale_1193.c
++++ swh-plugins/pitch_scale_1193.c
+@@ -248,7 +248,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/pitch_scale_1193.so.c
++++ swh-plugins/pitch_scale_1193.so.c
+@@ -248,7 +248,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/pitch_scale_1194.c
++++ swh-plugins/pitch_scale_1194.c
+@@ -232,7 +232,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/pitch_scale_1194.so.c
++++ swh-plugins/pitch_scale_1194.so.c
+@@ -232,7 +232,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/plate_1423.c
++++ swh-plugins/plate_1423.c
+@@ -302,7 +302,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/plate_1423.so.c
++++ swh-plugins/plate_1423.so.c
+@@ -302,7 +302,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/pointer_cast_1910.c
++++ swh-plugins/pointer_cast_1910.c
+@@ -228,7 +228,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/rate_shifter_1417.c
++++ swh-plugins/rate_shifter_1417.c
+@@ -242,7 +242,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/rate_shifter_1417.so.c
++++ swh-plugins/rate_shifter_1417.so.c
+@@ -242,7 +242,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/retro_flange_1208.c
++++ swh-plugins/retro_flange_1208.c
+@@ -499,7 +499,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/retro_flange_1208.so.c
++++ swh-plugins/retro_flange_1208.so.c
+@@ -499,7 +499,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/revdelay_1605.c
++++ swh-plugins/revdelay_1605.c
+@@ -436,7 +436,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/revdelay_1605.so.c
++++ swh-plugins/revdelay_1605.so.c
+@@ -432,7 +432,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/ringmod_1188.c
++++ swh-plugins/ringmod_1188.c
+@@ -436,7 +436,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/ringmod_1188.so.c
++++ swh-plugins/ringmod_1188.so.c
+@@ -436,7 +436,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/satan_maximiser_1408.c
++++ swh-plugins/satan_maximiser_1408.c
+@@ -262,7 +262,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/satan_maximiser_1408.so.c
++++ swh-plugins/satan_maximiser_1408.so.c
+@@ -262,7 +262,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc1_1425.c
++++ swh-plugins/sc1_1425.c
+@@ -351,7 +351,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc1_1425.so.c
++++ swh-plugins/sc1_1425.so.c
+@@ -351,7 +351,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc2_1426.c
++++ swh-plugins/sc2_1426.c
+@@ -362,7 +362,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc2_1426.so.c
++++ swh-plugins/sc2_1426.so.c
+@@ -362,7 +362,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc3_1427.c
++++ swh-plugins/sc3_1427.c
+@@ -409,7 +409,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc3_1427.so.c
++++ swh-plugins/sc3_1427.so.c
+@@ -409,7 +409,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc4_1434.so.c
++++ swh-plugins/sc4_1434.so.c
+@@ -429,7 +429,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc4_1882.c
++++ swh-plugins/sc4_1882.c
+@@ -452,7 +452,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc4_1882.so.c
++++ swh-plugins/sc4_1882.so.c
+@@ -448,7 +448,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sc4m_1916.c
++++ swh-plugins/sc4m_1916.c
+@@ -416,7 +416,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/se4_1883.c
++++ swh-plugins/se4_1883.c
+@@ -448,7 +448,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/se4_1883.so.c
++++ swh-plugins/se4_1883.so.c
+@@ -448,7 +448,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/shaper_1187.c
++++ swh-plugins/shaper_1187.c
+@@ -182,7 +182,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/shaper_1187.so.c
++++ swh-plugins/shaper_1187.so.c
+@@ -182,7 +182,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sifter_1210.c
++++ swh-plugins/sifter_1210.c
+@@ -362,7 +362,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sifter_1210.so.c
++++ swh-plugins/sifter_1210.so.c
+@@ -362,7 +362,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sin_cos_1881.c
++++ swh-plugins/sin_cos_1881.c
+@@ -214,7 +214,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sin_cos_1881.so.c
++++ swh-plugins/sin_cos_1881.so.c
+@@ -214,7 +214,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/single_para_1203.c
++++ swh-plugins/single_para_1203.c
+@@ -214,7 +214,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/single_para_1203.so.c
++++ swh-plugins/single_para_1203.so.c
+@@ -214,7 +214,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sinus_wavewrapper_1198.c
++++ swh-plugins/sinus_wavewrapper_1198.c
+@@ -166,7 +166,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/sinus_wavewrapper_1198.so.c
++++ swh-plugins/sinus_wavewrapper_1198.so.c
+@@ -166,7 +166,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/smooth_decimate_1414.c
++++ swh-plugins/smooth_decimate_1414.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/smooth_decimate_1414.so.c
++++ swh-plugins/smooth_decimate_1414.so.c
+@@ -247,7 +247,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/split_1406.c
++++ swh-plugins/split_1406.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/split_1406.so.c
++++ swh-plugins/split_1406.so.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/step_muxer_1212.c
++++ swh-plugins/step_muxer_1212.c
+@@ -404,7 +404,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/step_muxer_1212.so.c
++++ swh-plugins/step_muxer_1212.so.c
+@@ -404,7 +404,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/surround_encoder_1401.c
++++ swh-plugins/surround_encoder_1401.c
+@@ -324,7 +324,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/surround_encoder_1401.so.c
++++ swh-plugins/surround_encoder_1401.so.c
+@@ -278,7 +278,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/svf_1214.c
++++ swh-plugins/svf_1214.c
+@@ -300,7 +300,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/svf_1214.so.c
++++ swh-plugins/svf_1214.so.c
+@@ -303,7 +303,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/tape_delay_1211.c
++++ swh-plugins/tape_delay_1211.c
+@@ -483,7 +483,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/tape_delay_1211.so.c
++++ swh-plugins/tape_delay_1211.so.c
+@@ -483,7 +483,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/transient_1206.c
++++ swh-plugins/transient_1206.c
+@@ -377,7 +377,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/transient_1206.so.c
++++ swh-plugins/transient_1206.so.c
+@@ -377,7 +377,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/triple_para_1204.c
++++ swh-plugins/triple_para_1204.c
+@@ -375,7 +375,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/triple_para_1204.so.c
++++ swh-plugins/triple_para_1204.so.c
+@@ -375,7 +375,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/valve_1209.c
++++ swh-plugins/valve_1209.c
+@@ -250,7 +250,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/valve_1209.so.c
++++ swh-plugins/valve_1209.so.c
+@@ -246,7 +246,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/valve_rect_1405.c
++++ swh-plugins/valve_rect_1405.c
+@@ -319,7 +319,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/valve_rect_1405.so.c
++++ swh-plugins/valve_rect_1405.so.c
+@@ -319,7 +319,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/vynil_1905.c
++++ swh-plugins/vynil_1905.c
+@@ -586,7 +586,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/vynil_1905.so.c
++++ swh-plugins/vynil_1905.so.c
+@@ -584,7 +584,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/wave_terrain_1412.c
++++ swh-plugins/wave_terrain_1412.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/wave_terrain_1412.so.c
++++ swh-plugins/wave_terrain_1412.so.c
+@@ -162,7 +162,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/xfade_1915.c
++++ swh-plugins/xfade_1915.c
+@@ -392,7 +392,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/zm1_1428.c
++++ swh-plugins/zm1_1428.c
+@@ -170,7 +170,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
+--- swh-plugins.orig/zm1_1428.so.c
++++ swh-plugins/zm1_1428.so.c
+@@ -170,7 +170,6 @@ void _init() {
+ 
+ #ifdef ENABLE_NLS
+ #define D_(s) dgettext(PACKAGE, s)
+-	setlocale(LC_ALL, "");
+ 	bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
+ #else
+ #define D_(s) (s)
diff --git a/debian/patches/series b/debian/patches/series
index a2928aa..835cb68 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01-dont-use-march.diff
 02-fix-spelling-add-de.po.diff
 03-uptodate-ltmain.diff
+04-nosetlocale.diff

-- 
swh-plugins packaging



More information about the pkg-multimedia-commits mailing list