1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/ports/libxkbcommon/libxkbcommon.patch
Jonas 'Sortie' Termansen 9588b0d3db Add ports to the Sortix repository.
This change imports the ports collection from the former porttix and srctix
repositories and converts them to port(5) files with metadata pointing to
the upstream release tarballs with patches checked into this repository.
Ports are now developed and versioned along with the operating system and
are automatically built per the PACKAGES environment variable. The patches
are licensed under the same license as the relevant ports.

Tix has gained support for the new port(5) format. tix-port(8) is the new
high level ports build even point that handles downloading pstream releases
into the new mirror cache directory, applying the patches, building the port
with the lower-level tix-build(8), and finally installing the binary
package. The new tix-vars(8) program parses port(5) files and the new
tix-rmdiff(8) program produces input for tix-rmpatch(8).

The old doc/ directory is discontinued in favor of manual pages documenting
the new ports system.

The obsolete porttix-create(8) and srctix-create(8) programs are removed.
2022-06-13 22:29:53 +02:00

40 lines
1.5 KiB
Diff

diff -Paur --no-dereference -- libxkbcommon.upstream/config.sub libxkbcommon/config.sub
--- libxkbcommon.upstream/config.sub
+++ libxkbcommon/config.sub
@@ -1356,7 +1356,7 @@
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* | -aros* \
+ | -aos* | -aros* | -sortix* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
diff -Paur --no-dereference -- libxkbcommon.upstream/src/xkbcomp/include.c libxkbcommon/src/xkbcomp/include.c
--- libxkbcommon.upstream/src/xkbcomp/include.c
+++ libxkbcommon/src/xkbcomp/include.c
@@ -54,6 +54,10 @@
#include "xkbcomp-priv.h"
#include "include.h"
+#if defined(__sortix__) && !defined(PATH_MAX)
+#define PATH_MAX 32678
+#endif
+
/**
* Parse an include statement. Each call returns a file name, along with
* (possibly) a specific map in the file, an explicit group designator, and
diff -Paur --no-dereference -- libxkbcommon.upstream/test/common.c libxkbcommon/test/common.c
--- libxkbcommon.upstream/test/common.c
+++ libxkbcommon/test/common.c
@@ -38,6 +38,10 @@
#include "test.h"
+#if defined(__sortix__) && !defined(PATH_MAX)
+#define PATH_MAX 32678
+#endif
+
/*
* Test a sequence of keysyms, resulting from a sequence of key presses,
* against the keysyms they're supposed to generate.