File: 11-fix_modplug_detection.patch

package info (click to toggle)
cmus 2.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,040 kB
  • sloc: ansic: 38,844; sh: 1,578; makefile: 257; python: 157
file content (21 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Horrible fix for misdetection of modplug.
Author: Alessio Treglia <alessio@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724181
Forwarded: no
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: cmus/Makefile
===================================================================
--- cmus.orig/Makefile	2019-08-17 11:55:50.770364658 -0400
+++ cmus/Makefile	2019-08-17 11:56:12.524426120 -0400
@@ -107,7 +107,7 @@
 $(flac-objs):		CFLAGS += $(FLAC_CFLAGS)
 $(mad-objs):		CFLAGS += $(MAD_CFLAGS)
 $(mikmod-objs):		CFLAGS += $(MIKMOD_CFLAGS)
-$(modplug-objs):	CFLAGS += $(MODPLUG_CFLAGS)
+$(modplug-objs):	CFLAGS += $(MODPLUG_CFLAGS) -I/usr/include/libmodplug
 $(bass-objs):		CFLAGS += $(BASS_CFLAGS)
 $(mpc-objs):		CFLAGS += $(MPC_CFLAGS)
 $(vorbis-objs):		CFLAGS += $(VORBIS_CFLAGS)