Ticket #2462: command-updates.patch
File command-updates.patch, 4.3 KB (added by , 15 years ago) |
---|
-
trunk/BOOK/chapter05/glibc.xml
48 48 <para>Fix an error in the constants that get passed to the futex system 49 49 call in some cases, causing certain pthread_mutex operations to fail:</para> 50 50 51 <screen><userinput remap="pre">cp nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S{,.orig}51 <screen><userinput remap="pre">cp -v nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S{,.orig} 52 52 sed -e 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \ 53 53 <nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S.orig \ 54 54 >nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S</userinput></screen> -
trunk/BOOK/chapter06/texinfo.xml
85 85 recreated, the following optional commands will accomplish the task:</para> 86 86 87 87 <screen role="nodump"><userinput>cd /usr/share/info 88 rm dir88 rm -v dir 89 89 for f in * 90 90 do install-info $f dir 2>/dev/null 91 91 done</userinput></screen> -
trunk/BOOK/chapter06/mpfr.xml
65 65 <para>Install the documentation:</para> 66 66 67 67 <screen><userinput remap="install">make html 68 mkdir -p /usr/share/doc/mpfr-&mpfr-version;68 mkdir -pv /usr/share/doc/mpfr-&mpfr-version; 69 69 find . -name \*.html -type f -exec cp -v \{} /usr/share/doc/mpfr-&mpfr-version; \;</userinput></screen> 70 70 71 71 </sect2> -
trunk/BOOK/chapter06/binutils.xml
62 62 on in the Autoconf instructions:</para> 63 63 64 64 <screen><userinput remap="pre">rm -fv etc/standards.info 65 sed -i .bak'/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>65 sed -i '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen> 66 66 67 67 <para>Fix an issue that causes one of the tests to fail to compile against 68 68 Glibc-&glibc-version;:</para> 69 69 70 <screen><userinput remap="pre">sed -i -e's/getline/get_line/' libiberty/testsuite/test-demangle.c</userinput></screen>70 <screen><userinput remap="pre">sed -i 's/getline/get_line/' libiberty/testsuite/test-demangle.c</userinput></screen> 71 71 72 72 <para>The Binutils documentation recommends building Binutils outside of the 73 73 source directory in a dedicated build directory:</para> -
trunk/BOOK/chapter06/glibc.xml
68 68 Unpack the tarball from within the Glibc source directory:</para> 69 69 70 70 <screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2 71 mv glibc-libidn-&glibc-version; libidn</userinput></screen>71 mv -v glibc-libidn-&glibc-version; libidn</userinput></screen> 72 72 73 73 <!-- 74 74 This should have been fixed a long time ago. … … 115 115 116 116 <!-- Format below is for proper pdf generation --> 117 117 <screen><userinput remap="pre">sed -i \ 118 -e's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \118 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \ 119 119 nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S</userinput></screen> 120 120 121 121 <para>The Glibc documentation recommends building Glibc outside of the source -
trunk/BOOK/chapter06/e2fsprogs.xml
47 47 <para>Make sure the version date is in a format compatible with 48 48 <command>configure</command>:</para> 49 49 50 <screen><userinput remap="pre">sed -i -e"s/July/Jul/" version.h</userinput></screen>50 <screen><userinput remap="pre">sed -i "s/July/Jul/" version.h</userinput></screen> 51 51 52 52 <para>The E2fsprogs documentation recommends that the package be built in 53 53 a subdirectory of the source tree: </para>