make this build with gcc 14 on netbsd.
it was only including unistd.h if "unix" was defined, but netbsd and
several others only define __unix__ these days.
bumped pkg version because this may fix some weird stuff because it
didn't include headers and got default int etc.
make sure prototypes are present.
pgp_getopt() is always the name used, so make it's prototype always there.
also include <sys/ioctl.h> on netbsd to get ioctl() prototype.
fixes GCC 14 build.
fix some issues with the netbsd port to make GCC 14 happier.
- include <util.h> and <sys/wait.h> for openpty() and ioctl().
- set MAINTYPE=int for netbsd targets.
fix a wctype(3) usage problem found while looking at GCC 14 issues.
this doesn't fix the build for GCC 14, but does remove a warning about
calling iswctype() with swapped arguments.
plasma6-plasma-desktop: add version 6.5.2
Plasma for the desktop form factor. This package contains code for many
of the widgets, KCMs, and other parts of the Plasma Desktop.
on netbsd define _NETBSD_SOURCE.
this package sets _POSIX_C_SOURCE=200809L which our unistd.h hides
symlink(2) with.
fixes GCC 14 build, as well as consumer that may have had a pointer
passed to symlink() with more than 32 bits set.
not sure if this is a netbsd bug or a package bug, i can't quite
find what _POSIX_C_SOURCE=200809L should enable, but this would be
fixed with eg, _XOPEN_SOURCE=500 where netbsd does enable it.
plasma6-plasma-workspace: add version 6.5.2
lasma Workspace is used as the base for Plasma Desktop, Mobile, and Bigscreen.
It contains shared KCMs, applets as well as multiple libraries.
The Task Manager provides various QAbstractListModel-based model for listing
Windows, Startup tasks and Launcher Job.
libkworkspace provides functions to allow you to interact with the
KDE session manager.
libnotificationmanager is responsible for listing notifications, closing them
and interacting with them in Plasma. This class provides a Qt model for jobs.
As well as a Qt model for notifications and jobs.