File: 02-missing_include.patch

package info (click to toggle)
zita-alsa-pcmi 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 272 kB
  • sloc: cpp: 1,513; makefile: 78
file content (40 lines) | stat: -rw-r--r-- 1,307 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Alessio Treglia <alessio@debian.org>
Date: Tue, 27 Dec 2022 18:20:59 +0100
Subject: Make apps build with the libraries built by the same package.

Forwarded: no
---
 apps/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/Makefile b/apps/Makefile
index b995981..972b5af 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -24,7 +24,7 @@ PREFIX ?= /usr/local
 BINDIR ?= $(PREFIX)/bin
 
 VERSION = "0.3.2"
-CPPFLAGS +=  -MMD -MP -DVERSION=\"$(VERSION)\"
+CPPFLAGS +=  -MMD -MP -DVERSION=\"$(VERSION)\" -I../debian/tmp/usr/include -I../source
 CXXFLAGS += -O2 -Wall
 
 
@@ -32,7 +32,7 @@ all:	alsa_loopback alsa_delay
 
 
 ALSA_LOOPBACK_O =	alsa_loopback.o pxthread.o
-alsa_loopback:	LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
+alsa_loopback:	LDLIBS += ../source/libzita-alsa-pcmi.so.0.6.1 -lasound -lpthread -lrt
 alsa_loopback:	$(ALSA_LOOPBACK_O)
 	$(CXX) $(LDFLAGS) -o $@ $(ALSA_LOOPBACK_O) $(LDLIBS)
 $(ALSA_LOOPBACK_O):
@@ -40,7 +40,7 @@ $(ALSA_LOOPBACK_O):
 
 
 ALSA_DELAY_O =	alsa_delay.o mtdm.o pxthread.o
-alsa_delay:	LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
+alsa_delay:	LDLIBS += ../source/libzita-alsa-pcmi.so.0.6.1 -lasound -lpthread -lrt
 alsa_delay:	$(ALSA_DELAY_O)
 	$(CXX) $(LDFLAGS) -o $@ $(ALSA_DELAY_O) $(LDLIBS)
 $(ALSA_DELAY_O):