Skip to content

Commit 6f0028f

Browse files
committed
gegl: Update to 0.4.66
1 parent ea8aaeb commit 6f0028f

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
--- gegl-0.4.66/gegl/gegl-config.c.orig 2025-12-11 21:43:07.000000000 +0100
2+
+++ gegl-0.4.66/gegl/gegl-config.c 2025-12-12 08:42:25.497588900 +0100
3+
@@ -331,7 +331,7 @@
4+
if (default_tile_cache_size < mem_min)
5+
default_tile_cache_size = mem_min;
6+
7+
-#ifndef _WIN64
8+
+#if defined(__MINGW32__) && !defined(_UCRT)
9+
env = getenv ("GEGL_BUILD");
10+
#else
11+
_dupenv_s (&env, NULL, "GEGL_BUILD");
12+
@@ -385,7 +385,7 @@
13+
_gegl_threads = g_get_num_processors ();
14+
_gegl_threads = MIN (_gegl_threads, GEGL_MAX_THREADS);
15+
16+
-#ifndef _WIN64
17+
+#if defined(__MINGW32__) && !defined(_UCRT)
18+
env = getenv ("GEGL_BUILD");
19+
#else
20+
_dupenv_s (&env, NULL, "GEGL_BUILD");

mingw-w64-gegl/PKGBUILD

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ _realname=gegl
55
pkgbase="mingw-w64-${_realname}"
66
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
77
"${MINGW_PACKAGE_PREFIX}-${_realname}-docs")
8-
pkgver=0.4.64
9-
pkgrel=2
8+
pkgver=0.4.66
9+
pkgrel=1
1010
pkgdesc="Generic Graphics Library (mingw-w64)"
1111
arch=('any')
1212
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -53,12 +53,17 @@ depends=("${MINGW_PACKAGE_PREFIX}-babl"
5353
"${MINGW_PACKAGE_PREFIX}-SDL2"
5454
$([[ ${CARCH} == i686 ]] || echo "${MINGW_PACKAGE_PREFIX}-suitesparse"))
5555
noextract=("${_realname}-${pkgver}.tar.xz")
56-
source=(https://download.gimp.org/pub/gegl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz)
57-
sha256sums=('0de1c9dd22c160d5e4bdfc388d292f03447cca6258541b9a12fed783d0cf7c60')
56+
source=(https://download.gimp.org/pub/gegl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz
57+
"0001-fix-msvcrt-build.patch")
58+
sha256sums=('92b05855e2190868949d70cea6e9a50b163a6a441242e740a6263975379f993b'
59+
'5522f615183996d30a5b1a96e593a43d33f1d067e19b85b9265955813b04e252')
5860

5961
prepare() {
6062
tar -xf "${_realname}-${pkgver}.tar.xz" || true
6163
tar -xf "${_realname}-${pkgver}.tar.xz" || true
64+
65+
cd "${_realname}-${pkgver}"
66+
patch -p1 < ../0001-fix-msvcrt-build.patch
6267
}
6368

6469
build() {

0 commit comments

Comments
 (0)