diff options
author | tron <tron> | 2000-03-07 23:03:12 +0000 |
---|---|---|
committer | tron <tron> | 2000-03-07 23:03:12 +0000 |
commit | 83f7786a67091efb2e5b7e4ec70973cc15a6f89d (patch) | |
tree | 76bef3c6d9340cb64fe5fdd4e0906e8399145720 /audio/xmms/patches/patch-ac | |
parent | 3767cefacd80a475c23f49dd0188de9f76e7ef75 (diff) | |
download | pkgsrc-83f7786a67091efb2e5b7e4ec70973cc15a6f89d.tar.gz |
Bring this package closer to a working state. Configuring the "libxmms"
library doesn't work properly yet.
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 = |