summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/k/kernel-configs/config-generic-4.19.8 (renamed from source/k/kernel-configs/config-generic-4.19.7)2
-rw-r--r--source/k/kernel-configs/config-generic-4.19.8.x64 (renamed from source/k/kernel-configs/config-generic-4.19.7.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-4.19.8-smp (renamed from source/k/kernel-configs/config-generic-smp-4.19.7-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-4.19.8 (renamed from source/k/kernel-configs/config-huge-4.19.7)2
-rw-r--r--source/k/kernel-configs/config-huge-4.19.8.x64 (renamed from source/k/kernel-configs/config-huge-4.19.7.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-4.19.8-smp (renamed from source/k/kernel-configs/config-huge-smp-4.19.7-smp)2
-rwxr-xr-xsource/l/SDL2/SDL2.SlackBuild3
-rw-r--r--source/l/SDL2/SDL2.periodic.magnitude.patch20
8 files changed, 28 insertions, 7 deletions
diff --git a/source/k/kernel-configs/config-generic-4.19.7 b/source/k/kernel-configs/config-generic-4.19.8
index 9330ef2a..a94aa5f4 100644
--- a/source/k/kernel-configs/config-generic-4.19.7
+++ b/source/k/kernel-configs/config-generic-4.19.8
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-4.19.7.x64 b/source/k/kernel-configs/config-generic-4.19.8.x64
index c4819eae..72f9b0c3 100644
--- a/source/k/kernel-configs/config-generic-4.19.7.x64
+++ b/source/k/kernel-configs/config-generic-4.19.8.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-smp-4.19.7-smp b/source/k/kernel-configs/config-generic-smp-4.19.8-smp
index f205d8e2..a25a44ca 100644
--- a/source/k/kernel-configs/config-generic-smp-4.19.7-smp
+++ b/source/k/kernel-configs/config-generic-smp-4.19.8-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-4.19.7 b/source/k/kernel-configs/config-huge-4.19.8
index aa0d2906..d6b60aa0 100644
--- a/source/k/kernel-configs/config-huge-4.19.7
+++ b/source/k/kernel-configs/config-huge-4.19.8
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-4.19.7.x64 b/source/k/kernel-configs/config-huge-4.19.8.x64
index 01f9b848..84430856 100644
--- a/source/k/kernel-configs/config-huge-4.19.7.x64
+++ b/source/k/kernel-configs/config-huge-4.19.8.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-smp-4.19.7-smp b/source/k/kernel-configs/config-huge-smp-4.19.8-smp
index 3af8aa00..0368a416 100644
--- a/source/k/kernel-configs/config-huge-smp-4.19.7-smp
+++ b/source/k/kernel-configs/config-huge-smp-4.19.8-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.7 Kernel Configuration
+# Linux/x86 4.19.8 Kernel Configuration
#
#
diff --git a/source/l/SDL2/SDL2.SlackBuild b/source/l/SDL2/SDL2.SlackBuild
index 5c57685a..6f576b85 100755
--- a/source/l/SDL2/SDL2.SlackBuild
+++ b/source/l/SDL2/SDL2.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=SDL2
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -79,6 +79,7 @@ tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
zcat $CWD/SDL2.SDL_syswm.h.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/SDL2.periodic.magnitude.patch.gz | patch -p1 --verbose || exit 1
chown -R root:root .
find . \
diff --git a/source/l/SDL2/SDL2.periodic.magnitude.patch b/source/l/SDL2/SDL2.periodic.magnitude.patch
new file mode 100644
index 00000000..2ac8756c
--- /dev/null
+++ b/source/l/SDL2/SDL2.periodic.magnitude.patch
@@ -0,0 +1,20 @@
+# HG changeset patch
+# User Ethan Lee <flibitijibibo@flibitijibibo.com>
+# Date 1544124378 18000
+# Node ID 1f8d0b1afe07d1cef54d05b46770ac2c5c8f0c09
+# Parent 99d8b18acf8a2a5f8344150ca55c3b3f382bab2f
+Linux Haptic: Fix periodic.magnitude value
+
+diff -r 99d8b18acf8a -r 1f8d0b1afe07 src/haptic/linux/SDL_syshaptic.c
+--- a/src/haptic/linux/SDL_syshaptic.c Sat Dec 08 11:22:50 2018 -0800
++++ b/src/haptic/linux/SDL_syshaptic.c Thu Dec 06 14:26:18 2018 -0500
+@@ -801,8 +801,7 @@
+ else if (periodic->type == SDL_HAPTIC_SAWTOOTHDOWN)
+ dest->u.periodic.waveform = FF_SAW_DOWN;
+ dest->u.periodic.period = CLAMP(periodic->period);
+- /* Linux expects 0-65535, so multiply by 2 */
+- dest->u.periodic.magnitude = CLAMP(periodic->magnitude) * 2;
++ dest->u.periodic.magnitude = periodic->magnitude;
+ dest->u.periodic.offset = periodic->offset;
+ /* Linux phase is defined in interval "[0x0000, 0x10000[", corresponds with "[0deg, 360deg[" phase shift. */
+ dest->u.periodic.phase = ((Uint32)periodic->phase * 0x10000U) / 36000;