Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Texinfo 4 still available in texinfo4 package.
- Loading branch information
1 parent
6fc4cbb
commit e23d28c
Showing
3 changed files
with
115 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
From becfe6a5d9bbf0041cc6f287bd0409f605987756 Mon Sep 17 00:00:00 2001 | ||
From: Jerome Duval <jerome.duval@gmail.com> | ||
Date: Tue, 22 Dec 2015 11:52:48 +0000 | ||
Subject: Haiku patch | ||
|
||
|
||
diff --git a/system.h b/system.h | ||
index 11cac6d..7ce87ab 100644 | ||
--- a/system.h | ||
+++ b/system.h | ||
@@ -204,6 +204,10 @@ extern int kill (pid_t, int); | ||
# define PIPE_USE_FORK 1 | ||
#endif /* not O_BINARY */ | ||
|
||
+#if defined(__HAIKU__) | ||
+# define DEFAULT_INFOPATH "/system/documentation/info:/system/non-packaged/documentation/info:/boot/home/config/documentation/info:/boot/home/config/non-packaged/documentation/info:." | ||
+#endif | ||
+ | ||
/* Everything but DJGPP. */ | ||
#ifndef ALSO_NULL_DEVICE | ||
# define ALSO_NULL_DEVICE "" | ||
-- | ||
2.7.0 | ||
|
||
|
||
From a53a2c5bd82c983db75433f6ada98bcceecb9f11 Mon Sep 17 00:00:00 2001 | ||
From: Adrien Destugues <pulkomandy@pulkomandy.tk> | ||
Date: Sat, 5 Mar 2016 08:51:25 +0100 | ||
Subject: Fix gcc2 build. | ||
|
||
|
||
diff --git a/tp/Texinfo/Convert/XSParagraph/xspara.c b/tp/Texinfo/Convert/XSParagraph/xspara.c | ||
index 47b2e4f..bc4fe12 100644 | ||
--- a/tp/Texinfo/Convert/XSParagraph/xspara.c | ||
+++ b/tp/Texinfo/Convert/XSParagraph/xspara.c | ||
@@ -389,6 +389,7 @@ xspara_get_state (HV *hash) | ||
/* Don't do anything. */ | ||
return; | ||
|
||
+{ | ||
dTHX; /* Perl boilerplate. */ | ||
|
||
val = newSViv (state.end_sentence); | ||
@@ -402,7 +403,7 @@ xspara_get_state (HV *hash) | ||
|
||
val = newSViv (state.lines_counter); | ||
STORE("lines_counter"); | ||
- | ||
+} | ||
return; | ||
|
||
|
||
-- | ||
2.7.0 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
SUMMARY="Standard GNU documentation format tool" | ||
DESCRIPTION=" | ||
Texinfo is the official documentation format of the GNU project." | ||
HOMEPAGE="http://www.gnu.org/software/texinfo/" | ||
COPYRIGHT="1992-2008 Free Software Foundation, Inc." | ||
LICENSE="GNU GPL v3" | ||
REVISION="1" | ||
SOURCE_URI="http://ftp.gnu.org/gnu/texinfo/texinfo-$portVersion.tar.gz" | ||
CHECKSUM_SHA256="02582b6d9b0552f1cb1312be6bd7023e9799603c3b2320fa68a36029e4cbafbb" | ||
PATCHES="texinfo-$portVersion.patchset" | ||
|
||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm" | ||
|
||
PROVIDES=" | ||
texinfo = $portVersion compat >= 4 | ||
cmd:info = $portVersion compat >= 4 | ||
cmd:makeinfo = $portVersion compat >= 4 | ||
cmd:install_info = $portVersion compat >= 4 | ||
cmd:texi2dvi = $portVersion compat >= 4 | ||
cmd:texi2pdf = $portVersion compat >= 4 | ||
cmd:texindex = $portVersion compat >= 4 | ||
cmd:infokey = $portVersion compat >= 4 | ||
cmd:pdftexi2dvi = $portVersion compat >= 4 | ||
cmd:pod2texi = $portVersion compat >= 6 | ||
cmd:texi2any = $portVersion compat >= 6 | ||
" | ||
REQUIRES=" | ||
haiku | ||
lib:libiconv | ||
lib:libintl | ||
lib:libncurses | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
haiku_devel | ||
devel:libncurses | ||
" | ||
BUILD_PREREQUIRES=" | ||
cmd:gcc | ||
cmd:ld | ||
cmd:make | ||
cmd:grep | ||
cmd:sed | ||
cmd:perl | ||
cmd:awk | ||
cmd:autoconf | ||
cmd:aclocal | ||
cmd:gettext | ||
" | ||
|
||
BUILD() | ||
{ | ||
AUTOPOINT=true runConfigure ./configure | ||
make $jobArgs | ||
} | ||
|
||
INSTALL() | ||
{ | ||
make install | ||
} |