Jelajahi Sumber

Fix a header file in python, so that #include <python3.9/Python.h> works.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12153 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Pierre Labastie 3 tahun lalu
induk
melakukan
2772bb9c30
3 mengubah file dengan 18 tambahan dan 3 penghapusan
  1. 11 0
      chapter01/changelog.xml
  2. 4 0
      chapter08/python.xml
  3. 3 3
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -43,6 +43,17 @@
     appropriate for the entry or if needed the entire day's listitem.
     -->
 
+    <listitem>
+      <para>2021-03-02</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix a header file for python, so that
+          <command>#include &lt;python&python-minor;/Python.h&gt;</command>
+          works.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2021-03-01</para>
       <itemizedlist>

+ 4 - 0
chapter08/python.xml

@@ -42,6 +42,10 @@
   <sect2 role="installation">
     <title>Installation of Python 3</title>
 
+    <para>First, a header file needs to be fixed:</para>
+
+<screen><userinput remap="pre">sed 's|cpython/||' -i Include/cpython/pystate.h</userinput></screen>
+
     <para>Prepare Python for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20210301">
+<!ENTITY version         "SVN-20210302">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20210301-systemd">
+<!ENTITY versiond        "20210302-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "March 1st, 2021">
+<!ENTITY releasedate     "March 2nd, 2021">
 
 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->