Changeset e8da83b3 for x


Ignore:
Timestamp:
04/30/2015 09:52:28 PM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
435f5619
Parents:
2c5dfc2d
Message:

fix sessreg for gcc5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15906 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7app.xml

    r2c5dfc2d re8da83b3  
    148148    implementations.</para>
    149149
    150     &lfs77_checked;
     150    &lfs77_checked; &gcc5_checked;
    151151
    152152    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    268268      line3="#  define _XOPEN_SOURCE 600"
    269269      line4="#endif"
    270  
     270
    271271      sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&amp;@" sys.c
    272272      unset line1 line2 line3 line4
     273    ;;
     274    sessreg-* )
     275      sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
    273276    ;;
    274277  esac
     
    283286
    284287<screen><userinput>exit</userinput></screen>
     288
     289  </sect2>
     290
     291  <sect2 role="commands">
     292    <title>Command Explanations</title>
     293
     294    <para>
     295      <parameter>sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i
     296      man/Makefile.in</parameter>: with <application>gcc-5</application> the
     297      behaviour of <command>cpp</command> was changed to emit line numbers.
     298      That breaks the content of <filename>filenames.sed</filename>. Adding
     299      <literal>-P</literal> restores the old behaviour.
     300    </para>
    285301
    286302  </sect2>
Note: See TracChangeset for help on using the changeset viewer.