aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-10-09 07:41:21 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-10-09 07:41:21 +0000
commitba4b76d209bb5b6ce057b9a539705b50ee15c5a9 (patch)
treea17ff348b7493bcfaccd90b312915e0160f2ab2e /testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch
parentd7127deb857058ea9606dfd4903b3aa86746a497 (diff)
downloadaports-ba4b76d209bb5b6ce057b9a539705b50ee15c5a9.tar.bz2
aports-ba4b76d209bb5b6ce057b9a539705b50ee15c5a9.tar.xz
testing/fatresize: new aport
Diffstat (limited to 'testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch')
-rw-r--r--testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch b/testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch
new file mode 100644
index 0000000000..333d774831
--- /dev/null
+++ b/testing/fatresize/fatresize-1.0.2-libparted_ver_check.patch
@@ -0,0 +1,14 @@
+diff -up fatresize-1.0.2/configure.ac.orig fatresize-1.0.2/configure.ac
+--- fatresize-1.0.2/configure.ac.orig 2005-09-20 10:30:35.000000000 +0200
++++ fatresize-1.0.2/configure.ac 2012-12-17 23:33:06.238862845 +0100
+@@ -29,8 +29,8 @@ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac
+ dnl libparted
+ # hack
+ LIBS="$LIBS -ldl"
+-PARTED_CHECK_LIBPARTED(1.6.0, ,
+- [AC_MSG_ERROR([*** libparted >= 1.6.0 not installed - please install first ***])])
++AC_CHECK_LIB(parted, ped_malloc, [], AC_MSG_ERROR([*** libparted >= 3.1.0 not installed - please install first ***]))
++AC_CHECK_LIB(parted-fs-resize, ped_file_system_open, [], AC_MSG_ERROR([*** libparted-fs-resize >= 3.1.0 not installed - please install first ***]))
+
+ AC_SUBST(PARTED_LIBS)
+