patch-lib_Poppler_pm 695 B

123456789101112131415161718192021
  1. $OpenBSD: patch-lib_Poppler_pm,v 1.2 2016/01/12 16:34:12 sthen Exp $
  2. --- lib/Poppler.pm.orig Thu Jan 7 15:15:21 2016
  3. +++ lib/Poppler.pm Tue Jan 12 16:17:40 2016
  4. @@ -101,7 +101,6 @@ use warnings;
  5. use Carp qw/croak/;
  6. use Cwd qw/abs_path/;
  7. use Exporter;
  8. -use File::ShareDir;
  9. use Glib::Object::Introspection;
  10. use URI::file;
  11. use FindBin;
  12. @@ -202,7 +201,7 @@ my @_POPPLER_HANDLE_SENTINEL_BOOLEAN_FOR = qw/
  13. sub import {
  14. Glib::Object::Introspection->setup (
  15. - search_path => File::ShareDir::dist_dir('Poppler'),
  16. + search_path => '${LOCALBASE}/lib/girepository-1.0',
  17. basename => $_POPPLER_BASENAME,
  18. version => $_POPPLER_VERSION,
  19. package => $_POPPLER_PACKAGE,