master hovercats/oakiss / repo / libelf / patches / 0001-fix-checks-for-argp_parse-and-fts_close.patch
 1From 5e0bb692001081f20487972c1fdd6c548ec504a2 Mon Sep 17 00:00:00 2001
 2From: hovercats <hovercatswithlasereyes@protonmail.com>
 3Date: Sat, 4 May 2024 19:30:17 +0200
 4Subject: [PATCH] fix checks for argp_parse and fts_close
 5
 6---
 7 configure       | 6 +++---
 8 lib/Makefile.in | 6 +++---
 9 2 files changed, 6 insertions(+), 6 deletions(-)
10
11diff --git a/configure b/configure
12index b8cc5fd..9776163 100755
13--- a/configure
14+++ b/configure
15@@ -9681,7 +9681,7 @@ LIBS="$saved_LIBS"
16 case "$ac_cv_search_argp_parse" in
17         no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
18 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19-as_fn_error $? "failed to find argp_parse
20+: $? "failed to find argp_parse
21 See 'config.log' for more details" "$LINENO" 5; } ;;
22         -l*) argp_LDADD="$ac_cv_search_argp_parse" ;;
23         *) argp_LDADD= ;;
24@@ -9760,7 +9760,7 @@ LIBS="$saved_LIBS"
25 case "$ac_cv_search_fts_close" in
26         no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
28-as_fn_error $? "failed to find fts_close
29+: $? "failed to find fts_close
30 See 'config.log' for more details" "$LINENO" 5; } ;;
31         -l*) fts_LIBS="$ac_cv_search_fts_close" ;;
32         *) fts_LIBS= ;;
33@@ -9839,7 +9839,7 @@ LIBS="$saved_LIBS"
34 case "$ac_cv_search__obstack_free" in
35         no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
36 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
37-as_fn_error $? "failed to find _obstack_free
38+: $? "failed to find _obstack_free
39 See 'config.log' for more details" "$LINENO" 5; } ;;
40         -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;;
41         *) obstack_LIBS= ;;
42diff --git a/lib/Makefile.in b/lib/Makefile.in
43index d015ff8..248ff90 100644
44--- a/lib/Makefile.in
45+++ b/lib/Makefile.in
46@@ -121,7 +121,7 @@ libeu_a_LIBADD =
47 am_libeu_a_OBJECTS = xasprintf.$(OBJEXT) xstrdup.$(OBJEXT) \
48 	xstrndup.$(OBJEXT) xmalloc.$(OBJEXT) next_prime.$(OBJEXT) \
49 	crc32.$(OBJEXT) crc32_file.$(OBJEXT) eu-search.$(OBJEXT) \
50-	color.$(OBJEXT) error.$(OBJEXT) printversion.$(OBJEXT)
51+	error.$(OBJEXT)
52 libeu_a_OBJECTS = $(am_libeu_a_OBJECTS)
53 AM_V_P = $(am__v_P_@AM_V@)
54 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
55@@ -427,10 +427,10 @@ textrel_check = if $(READELF) -d $@ | grep -F -q TEXTREL; then $(textrel_found);
56 noinst_LIBRARIES = libeu.a
57 libeu_a_SOURCES = xasprintf.c xstrdup.c xstrndup.c xmalloc.c next_prime.c \
58 		  crc32.c crc32_file.c eu-search.c \
59-		  color.c error.c printversion.c
60+		  error.c
61 
62 noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \
63-		 eu-config.h color.h printversion.h bpf.h \
64+		 eu-config.h bpf.h \
65 		 dynamicsizehash_concurrent.h \
66 		 eu-search.h locks.h
67 
68-- 
692.49.0
70