pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gimp-devel gimp-devel: use upstream version o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2564c6bc30a4
branches:  trunk
changeset: 385094:2564c6bc30a4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 10 16:32:37 2022 +0000

description:
gimp-devel: use upstream version of patch

diffstat:

 graphics/gimp-devel/distinfo                  |   4 ++--
 graphics/gimp-devel/patches/patch-meson.build |  21 +++++++--------------
 2 files changed, 9 insertions(+), 16 deletions(-)

diffs (53 lines):

diff -r 02c34499aafd -r 2564c6bc30a4 graphics/gimp-devel/distinfo
--- a/graphics/gimp-devel/distinfo      Sat Sep 10 16:17:47 2022 +0000
+++ b/graphics/gimp-devel/distinfo      Sat Sep 10 16:32:37 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2022/09/10 13:47:01 wiz Exp $
+$NetBSD: distinfo,v 1.4 2022/09/10 16:32:37 wiz Exp $
 
 BLAKE2s (gimp-2.99.12.tar.xz) = 6ecf4138713bf0c514463a644a54a7a39c69c9d99931cf9af991ef78d4b6809a
 SHA512 (gimp-2.99.12.tar.xz) = 4b87dd40eccc39c560e69a90b4042b1b19506e9ae52e5079ace442325b54bf7c47477662197da8f7655c12aad16e08bae60d11cf269684b8aa291e978d246917
 Size (gimp-2.99.12.tar.xz) = 24282140 bytes
-SHA1 (patch-meson.build) = 40744c94dff37f190539992f80b2c9597fe1cd5f
+SHA1 (patch-meson.build) = 539b308e4cb5757180e3a19b1f92934f085fcbb9
 SHA1 (patch-plug-ins_common_file-heif.c) = cf4beb68136aefe460c7cabf53a2c40d602ec682
 SHA1 (patch-tools_extract-vector-icon.sh) = e460c42656bf2611a3735e2f7b4fe1d927a47044
diff -r 02c34499aafd -r 2564c6bc30a4 graphics/gimp-devel/patches/patch-meson.build
--- a/graphics/gimp-devel/patches/patch-meson.build     Sat Sep 10 16:17:47 2022 +0000
+++ b/graphics/gimp-devel/patches/patch-meson.build     Sat Sep 10 16:32:37 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-meson.build,v 1.2 2022/09/10 13:47:01 wiz Exp $
+$NetBSD: patch-meson.build,v 1.3 2022/09/10 16:32:37 wiz Exp $
 
 Avoid libdl dependency on NetBSD.
 https://gitlab.gnome.org/GNOME/gimp/-/issues/8604
@@ -8,23 +8,16 @@
 
 --- meson.build.orig   2022-08-21 19:21:38.000000000 +0000
 +++ meson.build
-@@ -127,6 +127,10 @@ platform_linux = (
-   host_os.contains('linux')
- )
- 
-+platform_netbsd = (
-+  host_os.contains('netbsd')
-+)
-+
- platform_windows = (
-   host_os.contains('mingw') or
-   host_os.contains('cygwin') or
-@@ -321,7 +325,7 @@ conf.set('ENABLE_RELOCATABLE_RESOURCES',
+@@ -321,7 +321,11 @@ conf.set('ENABLE_RELOCATABLE_RESOURCES',
  
  
  math              = cc.find_library('m')
 -dl                = platform_windows ? no_dep : cc.find_library('dl')
-+dl                = (platform_windows or platform_netbsd) ? no_dep : cc.find_library('dl')
++# libdl is only required on Linux. On Windows and some (all?) BSD, it
++# doesn't exist, but the API exists in libc by default (see #8604). On
++# macOS, it apparently exists but linking it explicitly is actually
++# unneeded as well.
++dl                = cc.find_library('dl', required: platform_linux)
  rpc               = platform_windows ? cc.find_library('rpcrt4') : no_dep
  dbghelp           = platform_windows ? cc.find_library('dbghelp') : no_dep
  winsock           = platform_windows ? cc.find_library('ws2_32') : no_dep



Home | Main Index | Thread Index | Old Index