diff options
Diffstat (limited to 'audio/xmms/patches/patch-ac')
-rw-r--r-- | audio/xmms/patches/patch-ac | 49 |
1 files changed, 13 insertions, 36 deletions
diff --git a/audio/xmms/patches/patch-ac b/audio/xmms/patches/patch-ac index 7c592ad4fe9..52961d8e36f 100644 --- a/audio/xmms/patches/patch-ac +++ b/audio/xmms/patches/patch-ac @@ -1,36 +1,13 @@ -*** xmms/eq_graph.c.org Wed Feb 2 21:12:51 2000 ---- xmms/eq_graph.c Wed Feb 2 21:13:07 2000 -*************** -*** 74,79 **** ---- 74,87 ---- - gfloat x[] = - {0, 11, 23, 35, 47, 59, 71, 83, 97, 109}, yf[10]; - -+ /* -+ * This avoids the init_spline() function to be inlined. -+ * Inlining the function caused troubles when compiling with -+ * `-O' (at least on FreeBSD). -+ */ -+ void (*__init_spline)(gfloat *, gfloat *, gint, gfloat *) = -+ init_spline; -+ - src = get_skin_pixmap(SKIN_EQMAIN); - obj = eg->eg_widget.parent; - gdk_draw_pixmap(obj, eg->eg_widget.gc, src, 0, 294, eg->eg_widget.x, eg->eg_widget.y, eg->eg_widget.width, eg->eg_widget.height); -*************** -*** 83,89 **** - cols[i] = gdk_image_get_pixel(img, 0, i); - gdk_image_destroy(img); - -! init_spline(x, cfg.equalizer_bands, 10, yf); - for (i = 0; i < 109; i++) - { - y = 9 - (gint) ((eval_spline(x, cfg.equalizer_bands, yf, 10, i) * 9.0) / 20.0); ---- 91,97 ---- - cols[i] = gdk_image_get_pixel(img, 0, i); - gdk_image_destroy(img); - -! __init_spline(x, cfg.equalizer_bands, 10, yf); - for (i = 0; i < 109; i++) - { - y = 9 - (gint) ((eval_spline(x, cfg.equalizer_bands, yf, 10, i) * 9.0) / 20.0); +$NetBSD: patch-ac,v 1.2 2000/03/07 23:03:13 tron Exp $ + +--- Output/Makefile.in.orig Mon Jan 31 19:44:32 2000 ++++ Output/Makefile.in Tue Mar 7 23:25:17 2000 +@@ -125,7 +125,7 @@ + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +-SUBDIRS = OSS esd disk_writer ++SUBDIRS = OSS disk_writer + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = |