mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Created a .bep file for texinfo-4.13a.
Regenerated the diff done by Ingo and added a default search path for info files.
This commit is contained in:
37
sys-apps/texinfo/patches/texinfo-4.13a.patch
Normal file
37
sys-apps/texinfo/patches/texinfo-4.13a.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
diff -up texinfo-4.13/gnulib/lib/config.charset.orig texinfo-4.13/gnulib/lib/config.charset
|
||||
--- texinfo-4.13/gnulib/lib/config.charset.orig 2009-12-29 21:12:13.000000000 -0700
|
||||
+++ texinfo-4.13/gnulib/lib/config.charset 2009-12-29 21:16:35.000000000 -0700
|
||||
@@ -478,8 +478,8 @@ case "$os" in
|
||||
# space nevertheless.
|
||||
echo "* UTF-8"
|
||||
;;
|
||||
- beos*)
|
||||
- # BeOS has a single locale, and it has UTF-8 encoding.
|
||||
+ beos*|haiku*)
|
||||
+ # BeOS has a single locale, and it has UTF-8 encoding. Same for Haiku.
|
||||
echo "* UTF-8"
|
||||
;;
|
||||
msdosdjgpp*)
|
||||
diff -up texinfo-4.13/system.h.orig texinfo-4.13/system.h
|
||||
--- texinfo-4.13/system.h.orig 2009-12-29 21:12:00.000000000 -0700
|
||||
+++ texinfo-4.13/system.h 2009-12-29 21:19:49.000000000 -0700
|
||||
@@ -151,7 +151,7 @@ extern int strcoll ();
|
||||
# define va_end(args)
|
||||
#endif
|
||||
|
||||
-#if O_BINARY
|
||||
+#if O_BINARY && !defined(__HAIKU__)
|
||||
# ifdef HAVE_IO_H
|
||||
# include <io.h>
|
||||
# endif
|
||||
@@ -220,6 +220,10 @@ extern int strcoll ();
|
||||
# define PIPE_USE_FORK 1
|
||||
#endif /* not O_BINARY */
|
||||
|
||||
+#if defined(__HAIKU__)
|
||||
+# define DEFAULT_INFOPATH "/boot/common/info;/boot/common/share/info;/boot/home/config/info;/boot/home/config/share/info;."
|
||||
+#endif
|
||||
+
|
||||
/* Everything but DJGPP. */
|
||||
#ifndef ALSO_NULL_DEVICE
|
||||
# define ALSO_NULL_DEVICE ""
|
||||
@@ -1,26 +0,0 @@
|
||||
diff -ur texinfo-4.13.orig/gnulib/lib/config.charset texinfo-4.13/gnulib/lib/config.charset
|
||||
--- texinfo-4.13.orig/gnulib/lib/config.charset 2007-12-25 23:57:18.000000000 +0000
|
||||
+++ texinfo-4.13/gnulib/lib/config.charset 2008-11-09 15:48:51.000000000 +0000
|
||||
@@ -478,8 +478,8 @@
|
||||
# space nevertheless.
|
||||
echo "* UTF-8"
|
||||
;;
|
||||
- beos*)
|
||||
- # BeOS has a single locale, and it has UTF-8 encoding.
|
||||
+ beos*|haiku*)
|
||||
+ # BeOS has a single locale, and it has UTF-8 encoding. Same for Haiku.
|
||||
echo "* UTF-8"
|
||||
;;
|
||||
msdosdjgpp*)
|
||||
diff -ur texinfo-4.13.orig/system.h texinfo-4.13/system.h
|
||||
--- texinfo-4.13.orig/system.h 2008-07-26 22:54:54.000000000 +0000
|
||||
+++ texinfo-4.13/system.h 2008-11-09 15:43:55.000000000 +0000
|
||||
@@ -151,7 +151,7 @@
|
||||
# define va_end(args)
|
||||
#endif
|
||||
|
||||
-#if O_BINARY
|
||||
+#if O_BINARY && !defined(__HAIKU__)
|
||||
# ifdef HAVE_IO_H
|
||||
# include <io.h>
|
||||
# endif
|
||||
18
sys-apps/texinfo/texinfo-4.13a.bep
Normal file
18
sys-apps/texinfo/texinfo-4.13a.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="Texinfo is the official documentation format of the GNU project."
|
||||
HOMEPAGE="http://www.gnu.org/software/texinfo/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz"
|
||||
CHECKSUM_MD5="71ba711519209b5fb583fed2b3d86fcb"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd texinfo-4.13
|
||||
libtoolize --force --copy --install
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd texinfo-4.13
|
||||
make install
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: Texinfo
|
||||
Version: 4.13
|
||||
Version: 4.13a
|
||||
Copyright: 1992-2008 Free Software Foundation, Inc.
|
||||
License: GNU GPL v3
|
||||
URL: http://www.gnu.org/software/texinfo/
|
||||
|
||||
Reference in New Issue
Block a user