File: 0001-Fix-netcat-s-path-in-Debian-it-lives-in-bin.patch

package info (click to toggle)
foomatic-db-engine 4.0.13-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,972 kB
  • sloc: perl: 12,170; ansic: 6,958; python: 1,139; makefile: 248; sh: 215; xml: 83
file content (24 lines) | stat: -rw-r--r-- 810 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From b854a375763579b4bc246bfe5af621ea946bd254 Mon Sep 17 00:00:00 2001
From: Didier Raboud <odyx@debian.org>
Date: Sat, 10 Feb 2018 14:48:02 +0100
Subject: Fix netcat's path; in Debian it lives in /bin.

Bug-Debian: http://bugs.debian.org/676378
Last-Update: 2012-06-11
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index af4ef7f..efcaf5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -281,7 +281,7 @@ dnl DIRECT_ETC=/etc/foomatic/direct
 dnl DIRECT_CONFIG=$(DIRECT_ETC)/.config
 
 # Other paths
-AC_PATH_PROGS(NC,nc netcat,/usr/bin/nc,$BSB)
+AC_PATH_PROGS(NC,nc netcat,/bin/nc,$BSB)
 AC_PATH_PROGS(RLPR,rlpr,/usr/bin/rlpr,$BSB)
 AC_PATH_PROGS(SMBCLIENT,smbclient,/usr/bin/smbclient,$BSB)
 AC_PATH_PROGS(NPRINT,nprint,/usr/bin/nprint,$BSB)