head 1.2; access; symbols pkgsrc-2024Q4:1.1.0.14 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.12 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.10 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.8 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.6 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.4 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2025.02.09.13.58.21; author wiz; state dead; branches; next 1.1; commitid O3tSOQTXzBmuENIF; 1.1 date 2023.04.21.09.09.31; author wiz; state Exp; branches; next ; commitid vPz6VUTGzQaKgXlE; desc @@ 1.2 log @gmic-qt-digikam: remove, replaced by digikam-gmic-qt @ text @$NetBSD: patch-gmic_src_gmic.cpp,v 1.1 2023/04/21 09:09:31 wiz Exp $ * Support NetBSD. https://github.com/GreycLab/gmic/pull/449 --- gmic/src/gmic.cpp.orig 2023-04-17 02:59:18.000000000 +0000 +++ gmic/src/gmic.cpp @@@@ -2204,7 +2204,11 @@@@ inline void* get_tid() { #if defined(__MACOSX__) || defined(__APPLE__) void* tid = (void*)(cimg_ulong)getpid(); #elif cimg_OS==1 +#if defined(__NetBSD__) + void* tid = (void*)(cimg_ulong)pthread_self(); +#else void* tid = (void*)(cimg_ulong)syscall(SYS_gettid); +#endif #elif cimg_OS==2 void* tid = (void*)(cimg_ulong)GetCurrentThreadId(); #else @ 1.1 log @graphics/gmic-qt-digikam: import gmic-qt-digikam-3.2.2.20230417 G'MIC is an open and full-featured framework for image processing, providing several different user interfaces to convert/manipulate/filter/visualize generic image datasets, from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images. The package contains the digiKam plugin based on G'MIC. @ text @d1 1 a1 1 $NetBSD$ @