From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/xaos/PKGBUILD | 14 ++++++++++++++ extra/xaos/xaos.patch | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 extra/xaos/PKGBUILD create mode 100644 extra/xaos/xaos.patch (limited to 'extra/xaos') diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD new file mode 100644 index 00000000..15dd3e6c --- /dev/null +++ b/extra/xaos/PKGBUILD @@ -0,0 +1,14 @@ +source+=('xaos.patch') +sha256sums+=('b07cdc88be38a30a40bccc2f999bff50ae8a25fc10ed4f2f7c7e2ff117f085e5') + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i patch -p1 -N -i "$srcdir/xaos.patch" -d "$srcdir/$pkgname-$pkgver" \ + gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \\\ + --categories='"'"'Application;Graphics'"'"' + ' +)" diff --git a/extra/xaos/xaos.patch b/extra/xaos/xaos.patch new file mode 100644 index 00000000..7f29f57a --- /dev/null +++ b/extra/xaos/xaos.patch @@ -0,0 +1,22 @@ +diff --unified --recursive --text xaos-3.6.orig/src/engine/zoom.c xaos-3.6.new/src/engine/zoom.c +--- xaos-3.6.orig/src/engine/zoom.c 2013-11-01 08:54:21.000000000 +0100 ++++ xaos-3.6.new/src/engine/zoom.c 2019-11-03 12:19:31.569988390 +0100 +@@ -933,6 +933,7 @@ + } + + #ifndef USE_i386ASM ++REGISTERS(0) + static /*INLINE */ void + moveoldpoints(void /*@unused@ */ *data1, + struct taskinfo /*@unused@ */ *task, +diff --unified --recursive --text xaos-3.6.orig/src/engine/zoomd.c xaos-3.6.new/src/engine/zoomd.c +--- xaos-3.6.orig/src/engine/zoomd.c 2013-11-01 08:54:21.000000000 +0100 ++++ xaos-3.6.new/src/engine/zoomd.c 2019-11-03 12:19:39.910033088 +0100 +@@ -280,6 +280,7 @@ + #endif + #undef bpp1 + ++REGISTERS(0) + static INLINE void fillline(int line) + { + register unsigned char *RESTRICT vbuff = cimage.currlines[line]; -- cgit v1.2.3-70-g09d2