summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch')
-rw-r--r--meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch b/meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch
new file mode 100644
index 0000000000..4dc2ab259d
--- /dev/null
+++ b/meta/recipes-extended/parted/files/0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch
@@ -0,0 +1,26 @@
1From d60a8a86f6593738b5324ccd8fe3e6d84a1fe7bc Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 11 Dec 2019 14:18:36 +0100
4Subject: [PATCH] libparted/fs: add $sourcedir/lib to include paths
5
6Otherwise, getopt-pfx-core.h won't be found.
7
8Upstream-Status: Pending
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 libparted/fs/Makefile.am | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
15index 286bff6..65f45d3 100644
16--- a/libparted/fs/Makefile.am
17+++ b/libparted/fs/Makefile.am
18@@ -3,7 +3,7 @@
19 #
20 # This file may be modified and/or distributed without restriction.
21
22-partedincludedir = -I$(top_builddir)/include -I$(top_srcdir)/include
23+partedincludedir = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/lib
24
25 AM_CFLAGS = $(WARN_CFLAGS)
26