diff options
Diffstat (limited to 'source/x')
-rw-r--r-- | source/x/ibus-libpinyin/96042887815b4700c7cafa64cf88942af438ea98.patch | 57 | ||||
-rwxr-xr-x | source/x/ibus-libpinyin/ibus-libpinyin.SlackBuild | 4 | ||||
-rwxr-xr-x | source/x/mesa/mesa.SlackBuild | 2 |
3 files changed, 2 insertions, 61 deletions
diff --git a/source/x/ibus-libpinyin/96042887815b4700c7cafa64cf88942af438ea98.patch b/source/x/ibus-libpinyin/96042887815b4700c7cafa64cf88942af438ea98.patch deleted file mode 100644 index ee3f8b220..000000000 --- a/source/x/ibus-libpinyin/96042887815b4700c7cafa64cf88942af438ea98.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 96042887815b4700c7cafa64cf88942af438ea98 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger <dimstar@opensuse.org> -Date: Fri, 24 Feb 2023 13:38:56 +0100 -Subject: [PATCH] build: fix awk scripts to work properly when used againts - sqlite 3.41.0 - -The SQL standard requires double-quotes around identifiers and -single-quotes around string literals. For example: - - "this is a legal SQL column name" - 'this is an SQL string literal' - -With sqlite 3.41.0, this is being enforced on the CLI ---- - data/english.awk | 8 ++++---- - data/table.awk | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/data/english.awk b/data/english.awk -index c5dc0aa2..8b32f3f2 100644 ---- a/data/english.awk -+++ b/data/english.awk -@@ -5,9 +5,9 @@ BEGIN { - print "BEGIN TRANSACTION;" - - # Create english table -- print "CREATE TABLE IF NOT EXISTS \"english\" ( " \ -- "\"word\" TEXT NOT NULL PRIMARY KEY," \ -- "\"freq\" FLOAT NOT NULL DEFAULT(0)" \ -+ print "CREATE TABLE IF NOT EXISTS 'english' ( " \ -+ "'word' TEXT NOT NULL PRIMARY KEY," \ -+ "'freq' FLOAT NOT NULL DEFAULT(0)" \ - ");"; - - # Create desc table -@@ -16,7 +16,7 @@ BEGIN { - } - - # Insert data into english table -- { printf "INSERT INTO english (word, freq) VALUES (\"%s\", %f);\n", $1, $2} -+ { printf "INSERT INTO english (word, freq) VALUES ('%s', %f);\n", $1, $2} - - #quit sqlite3 - END { -diff --git a/data/table.awk b/data/table.awk -index 700529cf..c097ec26 100644 ---- a/data/table.awk -+++ b/data/table.awk -@@ -21,7 +21,7 @@ BEGIN { - - # Insert data into phrases table - NF == 4 { -- printf "INSERT INTO phrases (id, tabkeys, phrase) VALUES (%d, \"%s\", \"%s\");\n", id, $3, $1; -+ printf "INSERT INTO phrases (id, tabkeys, phrase) VALUES (%d, '%s', '%s');\n", id, $3, $1; - id++; - } - diff --git a/source/x/ibus-libpinyin/ibus-libpinyin.SlackBuild b/source/x/ibus-libpinyin/ibus-libpinyin.SlackBuild index bd0f8e45d..3465e8c90 100755 --- a/source/x/ibus-libpinyin/ibus-libpinyin.SlackBuild +++ b/source/x/ibus-libpinyin/ibus-libpinyin.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ibus-libpinyin VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -94,8 +94,6 @@ if [ ! -r configure ]; then fi fi -cat $CWD/96042887815b4700c7cafa64cf88942af438ea98.patch | patch -p1 --verbose || exit 1 - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild index eb8a61779..6f42f6607 100755 --- a/source/x/mesa/mesa.SlackBuild +++ b/source/x/mesa/mesa.SlackBuild @@ -26,7 +26,7 @@ PKGNAM=mesa VERSION=${VERSION:-$(echo $PKGNAM-[0-9]*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} AMBERVERS=${AMBERVERS:-21.3.9} DEMOVERS=${DEMOVERS:-8.5.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} BUILD_AMBER=${BUILD_AMBER:-YES} BUILD_DEMOS=${BUILD_DEMOS:-YES} CODECS=${CODECS:-h264dec,h264enc,h265dec,h265enc,vc1dec} |