File: 0002-Don-t-autodetect-libbsd.patch

package info (click to toggle)
darkstat 3.0.721-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 828 kB
  • sloc: ansic: 6,801; sh: 737; javascript: 213; makefile: 154; php: 15
file content (29 lines) | stat: -rw-r--r-- 830 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
From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Sun, 20 Oct 2024 15:05:10 +0200
Subject: Don't autodetect libbsd

---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index d11f886..b388f4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,13 +191,13 @@ END_MSG
 fi
 
 # If not in libc, we might find these in libbsd.
-AC_SEARCH_LIBS(setproctitle, [bsd],
+AC_SEARCH_LIBS(setproctitle, [c],
  AC_DEFINE(HAVE_SETPROCTITLE, 1,
   [Define to 1 if you have setproctitle().]))
-AC_SEARCH_LIBS(strlcpy, [bsd],
+AC_SEARCH_LIBS(strlcpy, [c],
  AC_DEFINE(HAVE_STRLCPY, 1,
   [Define to 1 if you have strlcpy().]))
-AC_SEARCH_LIBS(strlcat, [bsd],
+AC_SEARCH_LIBS(strlcat, [c],
  AC_DEFINE(HAVE_STRLCAT, 1,
   [Define to 1 if you have strlcat().]))