freebsd-ports/audio/xmp/files/patch-aj
Edwin Groothuis 202db5edee Fixed broken build with xmms dependiency installed on the system.
Fixed broken build with xmms dependiency installed on the
	system.

PR:		ports/56679
Submitted by:	YazzY <yazzy@yazzy.org>
2003-10-03 11:22:08 +00:00

20 lines
649 B
Plaintext

*** src/xmms/plugin.c.orig Sun Jan 7 01:53:15 2001
--- src/xmms/plugin.c Wed Sep 10 12:17:16 2003
***************
*** 228,234 ****
xmp_cfg.filter = TRUE;
xmp_cfg.pan_amplitude = 80;
! #define CFGREADINT(x) xmms_cfg_read_int (cfg, "XMP", #x, &xmp_cfg.##x)
filename = g_strconcat(g_get_home_dir(), "/.xmms/config", NULL);
if ((cfg = xmms_cfg_open_file(filename))) {
--- 228,234 ----
xmp_cfg.filter = TRUE;
xmp_cfg.pan_amplitude = 80;
! #define CFGREADINT(x) xmms_cfg_read_int (cfg, "XMP", #x, &xmp_cfg.x)
filename = g_strconcat(g_get_home_dir(), "/.xmms/config", NULL);
if ((cfg = xmms_cfg_open_file(filename))) {