From e55219eb7ae5a883883bc562043e09bec8885e5a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 Oct 2018 22:59:07 +0200 Subject: extra/qt5-base: disable vulkan for i486 - does still not build --- extra/qt5-base/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index 4613e09b..13c635be 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -4,3 +4,12 @@ eval "$( s@./configure@./configure -no-sse2@g ' )" + +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s@./configure@./configure -no-feature-vulkan@g + ' + )" +fi -- cgit v1.2.3-70-g09d2 From 79ea66c11eb28078d7879822b7d783dad8c8eb7d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 14 Oct 2018 13:11:46 +0200 Subject: core/libaio: fix for failing tests (see FS#60283) --- core/libaio/PKGBUILD | 8 ++++++++ core/libaio/libaio-0.3.111-sizeof-template.patch | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 core/libaio/libaio-0.3.111-sizeof-template.patch diff --git a/core/libaio/PKGBUILD b/core/libaio/PKGBUILD index 92c69c31..a4cbd68f 100644 --- a/core/libaio/PKGBUILD +++ b/core/libaio/PKGBUILD @@ -7,3 +7,11 @@ eval "$( s@make$@CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fno-stack-protector" make@ ' )" + +# see also FS#60283 +source+=('libaio-0.3.111-sizeof-template.patch') +md5sums+=('8c240ea721460fa2d34f9e134b57544d') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ../libaio-0.3.111-sizeof-template.patch +} diff --git a/core/libaio/libaio-0.3.111-sizeof-template.patch b/core/libaio/libaio-0.3.111-sizeof-template.patch new file mode 100644 index 00000000..5eee8958 --- /dev/null +++ b/core/libaio/libaio-0.3.111-sizeof-template.patch @@ -0,0 +1,24 @@ +diff -rauN libaio-0.3.111/harness/cases/19.t libaio-0.3.111-sizeof-template-patch/harness/cases/19.t +--- libaio-0.3.111/harness/cases/19.t 2018-03-06 23:24:47.000000000 +0100 ++++ libaio-0.3.111-sizeof-template-patch/harness/cases/19.t 2018-10-14 10:02:19.004873314 +0200 +@@ -41,7 +41,7 @@ + int fd; + char template[sizeof(TEMPLATE)]; + +- strncpy(template, TEMPLATE, sizeof(TEMPLATE)); ++ strncpy(template, TEMPLATE, sizeof(template)); + fd = mkostemp(template, O_DIRECT); + if (fd < 0) { + perror("mkstemp"); +diff -rauN libaio-0.3.111/harness/cases/21.t libaio-0.3.111-sizeof-template-patch/harness/cases/21.t +--- libaio-0.3.111/harness/cases/21.t 2018-03-06 23:24:47.000000000 +0100 ++++ libaio-0.3.111-sizeof-template-patch/harness/cases/21.t 2018-10-14 10:02:34.901333421 +0200 +@@ -43,7 +43,7 @@ + int fd; + char temp_file[sizeof(TEMPLATE)]; + +- strncpy(temp_file, TEMPLATE, sizeof(TEMPLATE)); ++ strncpy(temp_file, TEMPLATE, sizeof(temp_file)); + fd = mkstemp(temp_file); + if (fd < 0) { + perror("mkstemp"); -- cgit v1.2.3-70-g09d2 From 6060dc47f4c13fc3d94e9c8d481524e03b371be7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 14 Oct 2018 14:22:51 +0200 Subject: core/syslinux: fix for too big MBR (FS#60405) --- core/syslinux/PKGBUILD | 12 ++++++++++++ core/syslinux/syslinux-strip-gnu-property.patch | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 core/syslinux/syslinux-strip-gnu-property.patch diff --git a/core/syslinux/PKGBUILD b/core/syslinux/PKGBUILD index 410b180a..16d4f937 100644 --- a/core/syslinux/PKGBUILD +++ b/core/syslinux/PKGBUILD @@ -11,3 +11,15 @@ eval "$( ' )" +# binutils adds a nore.gnu.proprerty ELF section, this makes the MBR slightly +# too big to fit on disk (see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414) + +source+=(syslinux-strip-gnu-property.patch) +sha1sums+=('fb8e96b559516038e628ad55e0331e4c668205a8') + +eval "$( + declare -f prepare | \ + sed ' + /patch.*efi_no_kbd/a patch -p1 < ../syslinux-strip-gnu-property.patch + ' +)" diff --git a/core/syslinux/syslinux-strip-gnu-property.patch b/core/syslinux/syslinux-strip-gnu-property.patch new file mode 100644 index 00000000..363a1ee2 --- /dev/null +++ b/core/syslinux/syslinux-strip-gnu-property.patch @@ -0,0 +1,18 @@ +diff -rauN syslinux/mbr/i386/mbr.ld syslinux-strip-gnu-property-patch/mbr/i386/mbr.ld +--- syslinux/mbr/i386/mbr.ld 2018-10-14 13:54:59.532050409 +0200 ++++ syslinux-strip-gnu-property-patch/mbr/i386/mbr.ld 2018-10-14 14:06:48.788976484 +0200 +@@ -70,4 +70,5 @@ + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + /DISCARD/ : { *(.note.GNU-stack) } ++ /DISCARD/ : { *(.note.gnu.property) } + } +diff -rauN syslinux/mbr/x86_64/mbr.ld syslinux-strip-gnu-property-patch/mbr/x86_64/mbr.ld +--- syslinux/mbr/x86_64/mbr.ld 2018-10-14 13:54:59.533050375 +0200 ++++ syslinux-strip-gnu-property-patch/mbr/x86_64/mbr.ld 2018-10-14 14:06:40.133269711 +0200 +@@ -69,4 +69,5 @@ + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + /DISCARD/ : { *(.note.GNU-stack) } ++ /DISCARD/ : { *(.note.gnu.property) } + } -- cgit v1.2.3-70-g09d2 From cd0a4874798be8f061e9287949a1d6c7729bf201 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 14 Oct 2018 14:42:17 +0200 Subject: core/libsecret: disabled testing for now on i486 --- core/libsecret/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/libsecret/PKGBUILD b/core/libsecret/PKGBUILD index d6231f62..d2a68fe8 100644 --- a/core/libsecret/PKGBUILD +++ b/core/libsecret/PKGBUILD @@ -2,5 +2,8 @@ if [ "${CARCH}" = "i486" ]; then # no Vala makedepends=(${makedepends[@]//vala/}) + + # no Gnome (gjs), no dbus-glib + unset check fi -- cgit v1.2.3-70-g09d2 From adffaee348c8be2d261eaa65437c89b438e14dcc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 14 Oct 2018 19:19:59 +0200 Subject: extra/qt5-base: remove vulkan-headers makedepends for i486 --- extra/qt5-base/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index 13c635be..5459bf68 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -5,6 +5,8 @@ eval "$( ' )" +makedepends=(${makedepends[@]/vulkan-headers/}) +makedepends_i686=(vulkan-headers) if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ -- cgit v1.2.3-70-g09d2 From 6d7fd11017d125970175ea85882920cc413e835e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Oct 2018 08:25:46 +0200 Subject: extra/numactl: upstream changed(?) checksum type --- extra/numactl/PKGBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extra/numactl/PKGBUILD b/extra/numactl/PKGBUILD index 54510d20..7364ef5d 100644 --- a/extra/numactl/PKGBUILD +++ b/extra/numactl/PKGBUILD @@ -1,6 +1,5 @@ source+=('numactl-2.0.11-minor-major.patch') -md5sums+=('ef6533742f4392431bccf935626281e5') -sha1sums+=('791e2fc154bd3d3fa644f00775bef941943a6e59') +sha256sums+=('952973eb92921a8510d75589c8e69eaace797750f8f011cc2117d482ce0c6367') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2