Changeset d10818d for BOOK


Ignore:
Timestamp:
Jun 28, 2008, 11:25:49 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
10de248
Parents:
973b8dd9
Message:

Add a patch to perl that prevents it from including asm/page.h. This resolves ticket 160 and future problems with kernel headers provided by 2.6.25 and forward.

Location:
BOOK
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/perl.xml

    r973b8dd9 rd10818d  
    3131
    3232<screen os="p2"><userinput>patch -Np1 -i ../&perl-gcc42_fix-patch;</userinput></screen>
     33
     34    <para os="p3">The following patch prevents perl from including asm/page.h
     35    which will no longer be available in headers provided by kernel 2.6.25 and
     36    forward:</para>
     37
     38<screen os="p4"><userinput>patch -Np1 -i ../&perl-no_page_h-patch;</userinput></screen>
    3339
    3440    <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
  • BOOK/final-system/common/temp-perl.xml

    r973b8dd9 rd10818d  
    3030    href="../common/perl.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/perl.xml"
     35    xpointer="xpointer(//*[@os='p3'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/perl.xml"
     39    xpointer="xpointer(//*[@os='p4'])"/>
    3240
    3341    <para os="a">First adapt some hard-wired paths to the C library by applying
  • BOOK/final-system/multilib/perl-64bit.xml

    r973b8dd9 rd10818d  
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3333    href="../common/perl.xml"
     34    xpointer="xpointer(//*[@os='p3'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/perl.xml"
     38    xpointer="xpointer(//*[@os='p4'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/perl.xml"
    3442    xpointer="xpointer(//*[@os='s1'])"/>
    3543
     
    3846    xpointer="xpointer(//*[@os='s2'])"/>
    3947
    40     <para os="p3">Perl does not, by default, know about library directories with names other
     48    <para os="mp1">Perl does not, by default, know about library directories with names other
    4149    than lib, The following patch will allow it to install to other directories:</para>
    4250
    43 <screen os="p4"><userinput>patch -Np1 -i ../&perl-multilib-patch;</userinput></screen>
     51<screen os="mp2"><userinput>patch -Np1 -i ../&perl-multilib-patch;</userinput></screen>
    4452
    4553    <para os="s1">There is a further (possibly cosmetic) anomaly - if we install perl and
  • BOOK/final-system/multilib/perl-n32.xml

    r973b8dd9 rd10818d  
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3434    href="../common/perl.xml"
     35    xpointer="xpointer(//*[@os='p3'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/perl.xml"
     39    xpointer="xpointer(//*[@os='p4'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/perl.xml"
    3543    xpointer="xpointer(//*[@os='s1'])"/>
    3644
     
    4149    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4250    href="perl-64bit.xml"
    43     xpointer="xpointer(//*[@os='p3'])"/>
     51    xpointer="xpointer(//*[@os='mp1'])"/>
    4452
    4553    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4654    href="perl-64bit.xml"
    47     xpointer="xpointer(//*[@os='p4'])"/>
     55    xpointer="xpointer(//*[@os='mp2'])"/>
    4856
    4957    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/perl.xml

    r973b8dd9 rd10818d  
    3030    href="../common/perl.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/perl.xml"
     35    xpointer="xpointer(//*[@os='p3'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/perl.xml"
     39    xpointer="xpointer(//*[@os='p4'])"/>
    3240
    3341    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/temp-perl.xml

    r973b8dd9 rd10818d  
    3030    href="../common/perl.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/perl.xml"
     35    xpointer="xpointer(//*[@os='p3'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/perl.xml"
     39    xpointer="xpointer(//*[@os='p4'])"/>
    3240
    3341    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/introduction/common/changelog.xml

    r973b8dd9 rd10818d  
    4040      <para>June 28, 2008</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Added a patch to perl so it wont include asm/page.h.</para>
     44        </listitem>
    4245        <listitem>
    4346          <para>[jciccone] - Updated the Vim Branch Update patch to -3.</para>
  • BOOK/materials/common/patches.xml

    r973b8dd9 rd10818d  
    209209
    210210    <varlistentry>
     211      <term>Perl No page.h Patch - <token>&perl-no_page_h-patch-size;</token>:</term>
     212      <listitem>
     213        <para>Download: <ulink
     214        url="&patches-root;&perl-no_page_h-patch;"/></para>
     215        <para>MD5 sum: <literal>&perl-no_page_h-patch-md5;</literal></para>
     216      </listitem>
     217    </varlistentry>
     218
     219    <varlistentry>
    211220      <term>Readline Fixes - <token>&readline-fixes-patch-size;</token>:</term>
    212221      <listitem>
  • BOOK/patches.ent

    r973b8dd9 rd10818d  
    8989<!ENTITY perl-libc-patch-size "4 KB">
    9090
     91<!ENTITY perl-no_page_h-patch "perl-&perl-version;-no_page_h-1.patch">
     92<!ENTITY perl-no_page_h-patch-md5 "fe49a8a539b14f53adfe24482c1fbe1f">
     93<!ENTITY perl-no_page_h-patch-size "4 KB">
     94
    9195<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-4.patch">
    9296<!ENTITY readline-fixes-patch-md5 "14ae1c3f3ff7223656f874bcf36e6f19">
Note: See TracChangeset for help on using the changeset viewer.