File: Build-without-bundled-neon.patch

package info (click to toggle)
cadaver 0.28%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,116 kB
  • sloc: ansic: 6,867; sh: 3,852; makefile: 103; sed: 27
file content (59 lines) | stat: -rw-r--r-- 1,736 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From: Arnaud Rebillout <arnaudr@kali.org>
Date: Thu, 19 Dec 2024 16:51:58 +0700
Subject: Build without bundled neon

Forwarded: not-needed, Debian-specific
---
 Makefile.in  | 2 +-
 autogen.sh   | 2 +-
 configure.ac | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 03330bb..1ef87b8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,7 +38,7 @@ LIBS = @LIBS@ @NEON_LIBS@ @LIBICONV@
 
 TARGET = $(PACKAGE)
 TARGET_DEPS = @TARGET_DEPS@
-SUBDIRS = neon/src
+SUBDIRS =
 OBJECTS = src/cadaver.o src/common.o src/commands.o src/ls.o	\
 	 src/cmdline.o src/options.o src/utils.o src/edit.o \
 	src/version.o src/search.o 
diff --git a/autogen.sh b/autogen.sh
index da9ce8c..aeef205 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -ex
 rm -rf config.cache autom4te*.cache aclocal.m4
-${ACLOCAL:-aclocal} -I m4 -I neon/macros
+${ACLOCAL:-aclocal} -I m4
 ${AUTOHEADER:-autoheader}
 ${AUTOCONF:-autoconf}
 ${LIBTOOLIZE:-libtoolize} --copy --force >/dev/null
diff --git a/configure.ac b/configure.ac
index 3fa8dc7..5a74a13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_INIT([cadaver],[0.28],,,[https://github.com/notroj/cadaver])
 
 AC_CONFIG_SRCDIR(src/cadaver.c)
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIRS([m4 neon/macros])
+AC_CONFIG_MACRO_DIRS([m4])
 
 AC_USE_SYSTEM_EXTENSIONS
 
@@ -127,7 +127,7 @@ NEON_WARNINGS
 # Pick up config.h etc; and before any other paths.
 CPPFLAGS="-I\$(top_builddir) -I\$(top_srcdir)/lib $CPPFLAGS"
 
-AC_CONFIG_FILES([Makefile po/Makefile.in neon/src/Makefile])
+AC_CONFIG_FILES([Makefile po/Makefile.in])
 AC_CONFIG_COMMANDS([source-directories],
   [for f in lib src; do test -d $f || mkdir $f; done])