summaryrefslogtreecommitdiffstats
path: root/debian/patches/link-libuuid.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:16:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:16:35 +0000
commit0658a8b1efc58836eb6674a1b0aadfbdf0e54755 (patch)
treee1d58d026a886d854c9e01cb4a683ad81fcb6e59 /debian/patches/link-libuuid.patch
parentAdding upstream version 3.6. (diff)
downloadparted-0658a8b1efc58836eb6674a1b0aadfbdf0e54755.tar.xz
parted-0658a8b1efc58836eb6674a1b0aadfbdf0e54755.zip
Adding debian version 3.6-3.debian/3.6-3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/link-libuuid.patch')
-rw-r--r--debian/patches/link-libuuid.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/link-libuuid.patch b/debian/patches/link-libuuid.patch
new file mode 100644
index 0000000..3b6e9ca
--- /dev/null
+++ b/debian/patches/link-libuuid.patch
@@ -0,0 +1,32 @@
+From e7662734df72abed3e10dcb032d3fd7284e0e868 Mon Sep 17 00:00:00 2001
+From: Yegor Yefremov <yegorslists@googlemail.com>
+Date: Thu, 11 May 2023 10:03:59 +0200
+Subject: parted: link to libuuid
+
+parted.c uses libuuid since 61b3a9733c0e0a79ccc43096642d378c8706add6.
+Hence, add UUID_LIBS to PARTED_LIBS to avoid
+"DSO missing from command line" error.
+
+Signed-off-by: Brian C. Lane <bcl@redhat.com>
+
+Origin: upstream, https://git.savannah.gnu.org/cgit/parted.git/commit/?id=d22c2d01f62139e0d386d90584cac0705857a571
+Last-Update: 2023-06-13
+
+Patch-Name: link-libuuid.patch
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index d838c32c..ea614430 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -300,6 +300,8 @@ Note: originally, libuuid was part of the e2fsprogs package. Later, it
+ moved to util-linux-ng-2.16, and that package is now the preferred source.])])
+ AC_SUBST([UUID_LIBS])
+
++PARTED_LIBS="$PARTED_LIBS $UUID_LIBS"
++
+ dnl Check for libdevmapper
+ DM_LIBS=
+ if test $ENABLE_DEVICE_MAPPER = yes; then