56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
From 6e83e938550563738f6d2adc24dccc3c209b3692 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 047d794..c9c6a0e 100644
|
|
--- a/system.h
|
|
+++ b/system.h
|
|
@@ -182,6 +182,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.24.0
|
|
|
|
|
|
From be44dc414443daf2275e18bbad12a2ecbdb21267 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/XS/xspara.c b/tp/Texinfo/XS/xspara.c
|
|
index ee666a1..64773f1 100644
|
|
--- a/tp/Texinfo/XS/xspara.c
|
|
+++ b/tp/Texinfo/XS/xspara.c
|
|
@@ -479,6 +479,7 @@ xspara_get_state (HV *hash)
|
|
/* Don't do anything. */
|
|
return;
|
|
|
|
+{
|
|
dTHX; /* Perl boilerplate. */
|
|
|
|
val = newSViv (state.end_sentence);
|
|
@@ -492,7 +493,7 @@ xspara_get_state (HV *hash)
|
|
|
|
val = newSViv (state.lines_counter);
|
|
STORE("lines_counter");
|
|
-
|
|
+}
|
|
return;
|
|
|
|
|
|
--
|
|
2.24.0
|
|
|