Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=c10efc6d8d4122edecc8ed8ea15a909de09a4559
commit c10efc6d8d4122edecc8ed8ea15a909de09a4559 Author: crazy <[email protected]> Date: Sat Jan 27 16:23:10 2018 +0100 systemd-231-21-x86_64 * rebuild with tc ( r1 ) * added an patch to fix compile errors with newer glibc * I should stop wasting my time .. diff --git a/source/base/systemd/FrugalBuild b/source/base/systemd/FrugalBuild index 8251916..23d069a 100644 --- a/source/base/systemd/FrugalBuild +++ b/source/base/systemd/FrugalBuild @@ -9,7 +9,7 @@ USE_SYSV_COMPAT=${USE_SYSV_COMPAT:-"y"} pkgname=systemd pkgver=231 -pkgrel=20 +pkgrel=21 pkgdesc="A System and Service Manager" url="http://www.freedesktop.org/wiki/Software/systemd" depends=('kmod>=24-2' 'cryptsetup-luks>=2.0.1' 'lz4') @@ -36,7 +36,7 @@ source+=( frugalware_sysusers.patch \ frugalware_getty.patch \ c9f7b4d356a453a01aa77a6bb74ca7ef49732c08.diff \ - bug-#5644.patch) + bug-#5644.patch fix-compile-error.patch) ## some things need fixing first -- crazy -- #mount-proc-with-hidepid2-by-default.patch) @@ -56,7 +56,8 @@ sha1sums=('47768103290d2023c3452bc36bc77f7b1fd798ea' \ '5a955e19d11b1248e4da14fddd08a7b3a0e64ca9' \ 'a2f1c341894c4841a64a56138362817ae2c57905' \ '14ca4ae728757fb7ffaef35420e938fdcd252899' \ - 'a1b4510c1d1c06efc827e5202dc698ade411f00c') + 'a1b4510c1d1c06efc827e5202dc698ade411f00c' \ + '9e2aef0f64dd6b2150b94945376e36b449554489') rodepends=('hwdata' 'systemd-sysvinit') @@ -125,6 +126,7 @@ subconflicts+=('') subdepends+=('glibc>=2.25-5 libgcc>=6.2.1-8 lib32-libcap>=2.25-5 lib32-xz lib32-libgcrypt>=1.7.3-3 lib32-libgpg-error>=1.24-3 lib32-libblkid>=2.28.2-4 lib32-libuuid>=2.28.2-4') suboptions+=('force') +_F_cross32_combined=yes Finclude cross32 ## sysv taget seem to be always built no matter how one sets the values.... @@ -167,6 +169,7 @@ build() Fcd Fsed '$(datadir)/pkgconfig' '$(libdir)/pkgconfig' Makefile.{am,in} + Fsed '0.40.0' '0.51.0' configure.ac Fexec ./autogen.sh || Fdie ## --- 32bit ----- @@ -194,6 +197,7 @@ build() Fcd Fsed '$(datadir)/pkgconfig' '$(libdir)/pkgconfig' Makefile.{am,in} Fsed "liblz4 >= 125" "liblz4 >= 1.7" configure.ac + Fsed '0.40.0' '0.51.0' configure.ac Fexec ./autogen.sh || Fdie Fbuild $_Fconfopts diff --git a/source/base/systemd/fix-compile-error.patch b/source/base/systemd/fix-compile-error.patch new file mode 100644 index 0000000..38187c0 --- /dev/null +++ b/source/base/systemd/fix-compile-error.patch @@ -0,0 +1,33 @@ +diff -Naur systemd-231/configure.ac systemd-231-p/configure.ac +--- systemd-231/configure.ac 2016-07-25 21:49:47.000000000 +0200 ++++ systemd-231-p/configure.ac 2018-01-27 16:01:54.938669544 +0100 +@@ -310,6 +310,7 @@ + LO_FLAGS_PARTSCAN, + copy_file_range], + [], [], [[ ++#include <sys/mman.h> + #include <sys/types.h> + #include <unistd.h> + #include <sys/mount.h> +diff -Naur systemd-231/src/basic/fileio.c systemd-231-p/src/basic/fileio.c +--- systemd-231/src/basic/fileio.c 2016-07-25 21:49:47.000000000 +0200 ++++ systemd-231-p/src/basic/fileio.c 2018-01-27 15:51:25.863340242 +0100 +@@ -24,6 +24,7 @@ + #include <stdint.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/mman.h> + #include <sys/stat.h> + #include <sys/types.h> + #include <unistd.h> +diff -Naur systemd-231/src/basic/parse-util.c systemd-231-p/src/basic/parse-util.c +--- systemd-231/src/basic/parse-util.c 2016-07-25 21:49:47.000000000 +0200 ++++ systemd-231-p/src/basic/parse-util.c 2018-01-27 16:15:25.092072973 +0100 +@@ -23,7 +23,6 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <xlocale.h> + + #include "alloc-util.h" + #include "extract-word.h" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
