diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/xbiso/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/xbiso/files')
-rw-r--r-- | app-cdr/xbiso/files/xbiso-0.6.1-libs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch b/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch new file mode 100644 index 000000000000..5b48ba674230 --- /dev/null +++ b/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch @@ -0,0 +1,21 @@ +--- configure.in.orig 2014-12-02 18:56:23.000000000 +0300 ++++ configure.in 2014-12-02 19:09:46.724190436 +0300 +@@ -6,13 +6,13 @@ + + dnl Checks for libraries. + dnl Replace `main' with a function in -lftp: +-AC_CHECK_LIB(ftp, main,[LIBS="-DUSE_FTP -lftp"],AC_MSG_WARN([Warning libftp not found ftp features disabled])) + AC_CHECK_LIB(m, ceil,[LIBS="$LIBS -lm"],AC_MSG_ERROR([Error mlib is required])) +-AC_ARG_ENABLE(ftp, +-[ ++AC_ARG_ENABLE([ftp], ++ AS_HELP_STRING([--disable-ftp],[Disables all ftp features and libftp dependencies])) + +- --disable-ftp Disables all ftp features and libftp dependencies +-],[LIBS=""]) ++AS_IF([test "x$enable_ftp" != "xno"], [ ++ AC_SEARCH_LIBS([FtpInit],[ftp],[CPPFLAGS+="-DUSE_FTP"],AC_MSG_ERROR([libftp not found])) ++]) + + dnl Checks for header files. + AC_CONFIG_HEADERS([config.h:config.h.in]) |