head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.30 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.28 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.26 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.24 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.22 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.20 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.18 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.16 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.14 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.12 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.10 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.8 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.6 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.4 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @// @; 1.1 date 2022.07.21.11.39.21; author wiz; state Exp; branches; next ; commitid hzy7z5F3uOecUKMD; desc @@ 1.1 log @x11/wxGTK32: import wxGTK32-3.2.0 Packaged with help from dbj@@ wxWidgets is a set of libraries that allows C++ applications to compile and run on several different types of computer, with minimal source code changes. There is one library per supported GUI (such as Windows, GTK+, Motif, and Mac). As well as providing a common API (Application Programming Interface) for GUI functionality, it provides functionality for accessing some commonly-used operating system facilities, from copying and deleting files to socket and thread support. wxWidgets is a 'framework' in the sense that it provides a lot of built-in functionality, which the application can use or replace as required, thus saving a great deal of coding effort. Basic data structures such as strings, arrays, linked lists and hash tables are also supported. Such a toolkit is not unique - there are others to choose from - but wxWidgets is free, well-established, well-documented, and very broad in its coverage of GUI functionality. It has some extras that make it stand out from the crowd, such as the many convenience dialogs, built-in HTML display and printing, virtual filesystems, easy-to-use OLE automation controller class, Open GL support, and many other features that make it easier to write modern and user-friendly applications. This package contains the 3.2 stable branch of the library. @ text @$NetBSD$ cmake: prefer statvfs (to statfs) https://github.com/wxWidgets/wxWidgets/pull/22643 --- src/unix/utilsunx.cpp.orig 2022-07-06 14:19:50.000000000 +0000 +++ src/unix/utilsunx.cpp @@@@ -85,7 +85,11 @@@@ // different platforms and even different versions of the same system (Solaris // 7 and 8): if you want to test for this, don't forget that the problems only // appear if the large files support is enabled -#ifdef HAVE_STATFS +#if defined(HAVE_STATVFS) + #include + + #define wxStatfs statvfs +#elif defined(HAVE_STATFS) #ifdef __BSD__ #include #include @@@@ -99,15 +103,9 @@@@ // some systems lack statfs() prototype in the system headers (AIX 4) extern "C" int statfs(const char *path, struct statfs *buf); #endif -#endif // HAVE_STATFS - -#ifdef HAVE_STATVFS - #include - - #define wxStatfs statvfs -#endif // HAVE_STATVFS +#endif // HAVE_STATVFS/HAVE_STATFS -#if defined(HAVE_STATFS) || defined(HAVE_STATVFS) +#if defined(HAVE_STATVFS) || defined(HAVE_STATFS) // WX_STATFS_T is detected by configure #define wxStatfs_t WX_STATFS_T #endif @