From 1798c4aeca70ac8d0a243684d6a798fbc65735f8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:57:42 +0100 Subject: gentoo resync : 14.07.2018 --- .../files/Filesys-SmbClient-3.200.0-close_fn.patch | 18 ----------- .../Filesys-SmbClient-3.200.0-pkg_config.patch | 36 ---------------------- 2 files changed, 54 deletions(-) delete mode 100644 dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-close_fn.patch delete mode 100644 dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-pkg_config.patch (limited to 'dev-perl/Filesys-SmbClient/files') diff --git a/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-close_fn.patch b/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-close_fn.patch deleted file mode 100644 index a923ae11a9b4..000000000000 --- a/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-close_fn.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/configure.in b/configure.in -index 9660e93..f1d2350 100644 ---- a/configure.in -+++ b/configure.in -@@ -48,8 +48,8 @@ fi - - dnl This is context->close_fn or context close ? - AC_TRY_COMPILE([#include ], -- [SMBCCTX *c; c->close_fn(c,0);], -- smbctxclosefn=yes, smbctxclosefn=no) -+ [SMBCCTX *c; c->close(c,0);], -+ smbctxclosefn=no, smbctxclosefn=yes) - if test "$smbctxclosefn" = yes; then - AC_DEFINE(HAVE_CLOSEFN,, [define if SMBCTXX->close_fn exist.]) - AC_MSG_RESULT([You use SMBCTXX->close_fn (release >= 3.0.20). ]) --- -2.7.3 - diff --git a/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-pkg_config.patch b/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-pkg_config.patch deleted file mode 100644 index 2a2b08089726..000000000000 --- a/dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-pkg_config.patch +++ /dev/null @@ -1,36 +0,0 @@ -From fa320a06147079458aa5f4834ae8b22cfe278481 Mon Sep 17 00:00:00 2001 -From: Dennis Lichtenthaeler -Date: Wed, 27 Apr 2016 10:57:17 +0200 -Subject: [PATCH 3/3] Use pkg-config instead of trickery to find samba-4 - libs/headers - ---- - Makefile.PL | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/Makefile.PL b/Makefile.PL -index 954df92..ed9d846 100755 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -110,6 +110,18 @@ sub find_path { - push(@path, $_."/$ext") if !$defaultsDir->{$_}; - } - foreach (keys %$defaultsDir) { push(@path, $_."/$ext"); } -+ -+ ## get default paths from pkg-config -+ my $pkgconfig; -+ if($_[0]=~m!\.h$!) { -+ $pkgconfig = qx/pkg-config --variable=includedir smbclient/; -+ } -+ else { -+ $pkgconfig = qx/pkg-config --variable=libdir smbclient/; -+ } -+ $pkgconfig =~ s/\n//g; -+ push(@path, $pkgconfig); -+ - print "I search in: ",(join "\n", @path),"\n"; - return @path; - } --- -2.7.3 - -- cgit v1.2.3