[Clfs-support] Current Patches and Updates pt2

Gary Greene greeneg at tolharadys.net
Tue Jan 17 19:41:16 PST 2017


IIRC, Debian and Mageia have patches to deal with the UTF stuff for
nCurses....

On 16 January 2017 at 08:37, Martin Ward <macros_the_black at ntlworld.com>
wrote:

> Here is my current build  run through
>
> I only do pure 64, but the specs patch should be good for a multi-lib build
>
> Cross Compile tools
>
> For got to put needed gperf in the cross compile section as eudev now
> needs this to build
>
> Also I remove all .la files from the build
>
> Tools Build
>
> 6.3 updated to gmp-6.1.2 added --disable-static
> 6.4 updated to mpfr-3.15 with patch level 5 added --disable-static
> 6.5 mpc-1.03 is the latest added --disable-static
> 6.6 updated to isl 0.18 added --disable-static
> used this sed from gentoo to stop .pc files being polluted
> sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure
> see https://groups.google.com/group/isl-development/t/37ad876557e50f2c
> probably not necessary but ..
> 6.7 updated to zlib-1.2.10
> 6.8 updated to binutils-2.27
> added --enable-build-warnings=no  --with-system-zlib
> 6.9 updated to gcc-6.3, specs patch in previous e-mail
> this doesn't seem to hurt
> cat gcc/limitx.h gcc/glimits.h gcc/limity.h > `dirname $($CLFS_TARGET-gcc
> -print-libgcc-file-name)`/include-fixed/limits.h
>
> command line for build
> ../gcc-6.3.0/configure --prefix=/tools --build=${CLFS_HOST}
> --host=${CLFS_TARGET} --target=${CLFS_TARGET} --libexecdir=/tools/lib
> --with-local-prefix=/tools --disable-nls --enable-languages=c,c++
> --with-native-system-header-dir=/tools/include --disable-multilib
> --with-gmp=/tools --with-mpfr=/tools --with-mpc=/tools --with-isl=/tools
> --with-system-zlib --enable-checking=release --enable-libstdcxx-time
> --enable-install-libiberty --disable-libssp
>
> 6.10 updated to latest ncurses patch level
> 6.11 updated to bash-4.4 plus latest upstream patches
> 6.12 added a cve patch bzip2recover-CVE-2016-3189.patch plus
> bzip2-1.0.4-bzip2recover.patch/arch/red-hat and -fPIC flag
> 6.13 check added --disable-static
> 6.14 updated to core utils 8.26
> used a noman patch to stop it generating man files for the single call
> binary
> plus
> set -- man/*.x
> touch ${@/%x/1} this stops help2man  regenerating the man files for the
> separate utils
> and this sed
> sed -i Makefile -e 's;^\(cu_install_program =\).*;\1 install;'
> which basically stops a recursive definition happening as it can't find a
> proper install program when configuring
>
> 6.15 updated to diffutils 3.5
> 6.16 updated to file 5.29
> 6.17 updated to findutils 4.60
> 6.18 updated to gawk 4.14
> 6.19 updated to gettext-0.19.8.1
> 6.20 updated to grep 2.27
> 6.21 updated to gzip 1.8
> 6.22 updated to make 4.2.1
> 6.23 patch no change
> 6.24 updated to sed 4.3
> stop man files from being generated
> sed -i 's/MANS = $(dist_man_MANS)/#MANS = $(dist_man_MANS)/' Makefile
> make
> then fake it for the install
> set -- doc/*.x
> touch ${@/%x/1}
> 6.25 updated to tar 1.29 plus upstream patch to skip .. extraction
> 6.26 updated to texinfo 6.3 added --disable-static to make sure the perl
> libs are shared
> 6.27 updated to util-linux-2.29 used the following sed's  as the configure
> process looks for the wide version and gets confused in places in detecting
> stuff
> sed -i 's/-lncursesw/-lncurses/' Makefile
> sed -i 's/#define HAVE_LIBNCURSESW 1/#define HAVE_LIBNCURSES 1/' config.h
>
> tried the wide version of ncurses in 6.10, but then had bash complain
> about it couldn't find ncurses properly in 6.11, this seemed the easy way
> out
>
> 6.28 don't cross compile vim, use e3 (requires nasm)
> 6.29 updated to xz-5.2.3
>
> I also remove all .la files
>
> hope this helps somewhat
> boot file updates to follow
>
> Martin
>
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.clfs.org
> http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20170117/72424723/attachment-0001.htm>


More information about the Clfs-support mailing list