File: ac-path-pkgconfig.patch

package info (click to toggle)
snd 25.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,988 kB
  • sloc: ansic: 291,477; lisp: 260,252; ruby: 71,134; sh: 3,293; fortran: 2,342; csh: 1,062; cpp: 294; makefile: 294; python: 87; xml: 27; javascript: 1
file content (23 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Use cross-build compatible macro for finding pkg-config.
 .
 The package uses AC_PATH_PROG to discover the location of pkg-config(1). This
 macro fails to select the correct version to support cross-compilation.
 .
 This patch changes it to use AC_PATH_TOOL.
 .
 Refer to https://bugs.debian.org/884798 for details.
Origin: other
Last-Update: 2022-04-25

=== modified file 'configure.ac'
--- snd.orig/configure.ac
+++ snd/configure.ac
@@ -96,7 +96,7 @@
 
 AC_C_BIGENDIAN
 AC_CHECK_SIZEOF(void *)
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)