diff options
author | Sam James <sam@gentoo.org> | 2023-07-30 18:46:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-30 18:47:11 +0100 |
commit | 524e97621def6c5c3ace5d8b8edb1d2f4fe6ff8d (patch) | |
tree | 3b0417d280862244af26b6444f0831edd09d34cc | |
parent | sys-apps/systemd: remove support for split-usr (diff) | |
download | gentoo-524e97621def6c5c3ace5d8b8edb1d2f4fe6ff8d.tar.gz gentoo-524e97621def6c5c3ace5d8b8edb1d2f4fe6ff8d.tar.bz2 gentoo-524e97621def6c5c3ace5d8b8edb1d2f4fe6ff8d.zip |
app-doc/gnu-c-intro-ref: restore autotools patch
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | app-doc/gnu-c-intro-ref/files/gnu-c-intro-ref-9999-autotools.patch | 31 | ||||
-rw-r--r-- | app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild | 4 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-doc/gnu-c-intro-ref/files/gnu-c-intro-ref-9999-autotools.patch b/app-doc/gnu-c-intro-ref/files/gnu-c-intro-ref-9999-autotools.patch new file mode 100644 index 000000000000..238bfcbf4ce0 --- /dev/null +++ b/app-doc/gnu-c-intro-ref/files/gnu-c-intro-ref-9999-autotools.patch @@ -0,0 +1,31 @@ +I don't know why, but this got reverted upstream by the original commit author. + +But it works fine for us, as we even patched this in before they did it, and +I've emailed them. +diff --git a/Makefile.am b/Makefile.am +new file mode 100644 +index 0000000..63d9994 +--- /dev/null ++++ b/Makefile.am +@@ -0,0 +1,3 @@ ++info_TEXINFOS = c.texi ++c_TEXINFOS = cpp.texi fp.texi fdl.texi gpl.texi ++dist_data_DATA = c.pdf +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..911616b +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,11 @@ ++# Process this file with autoconf to produce a configure script: ++# autoreconf -vi ++# Public domain. Originally written by Ineiev, 2023. ++AC_INIT([GNU C Intro And Reference], [0.0-rc3], [c-manual@gnu.org], ++ [c-intro-and-ref], [https://www.gnu.org/software/c-intro-and-ref/]) ++ ++AC_PREREQ([2.65]) ++AC_CONFIG_SRCDIR([c.texi]) ++AM_INIT_AUTOMAKE([1.11]) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild index 206a80678ffc..404c0db6bb5e 100644 --- a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild @@ -30,6 +30,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/gnu-c-intro-ref-9999-autotools.patch +) + src_prepare() { default |