diff -x '*~' -urN libmaxminddb-1.3.2_org/t/external_symbols_t.pl libmaxminddb-1.3.2/t/external_symbols_t.pl
--- libmaxminddb-1.3.2_org/t/external_symbols_t.pl	2018-01-17 22:34:19.000000000 +0100
+++ libmaxminddb-1.3.2/t/external_symbols_t.pl	2018-04-08 18:35:54.000000000 +0200
@@ -1,5 +1,10 @@
 #!/usr/bin/env perl
 
+# fink distribution patched version
+# use nm -version instead of nm -V
+# look for .dylib libraries instead of .so
+# check for _MMDB_ instead of MMDB_
+
 use strict;
 use warnings;
 
@@ -27,7 +32,7 @@
 
 sub _skip_tests_if_nm_is_not_present {
     run3(
-        [ 'nm', '-V' ],
+        [ 'nm', '-version' ],
         \undef,
         \undef,
         \undef,
@@ -59,7 +64,7 @@
     opendir my $dh, $lib_dir
         or die "Failed to open the lib dir at $lib_dir for reading: $!\n";
     my @libs = map { $lib_dir . q{/} . $_ }
-        grep { $_ =~ m/\.so$/ } readdir $dh;
+        grep { $_ =~ m/\.dylib$/ } readdir $dh;
     closedir $dh;
 
     return @libs;
@@ -83,9 +88,9 @@
 
     my @external_symbols = _extract_external_symbols($stdout);
     is_deeply(
-        [ grep { $_ !~ m/^MMDB_/ } @external_symbols ],
+        [ grep { $_ !~ m/^_MMDB_/ } @external_symbols ],
         [],
-        "$lib exports only MMDB_ symbols"
+        "$lib exports only _MMDB_ symbols"
     );
 }