pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chezscheme: fixed build on linux with new glibc.



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Wed Apr 4 13:40:45 2018 +0200
Changeset:	5c17b6ab707e6ba4f06c8defb29a2c95923b43ed

Added Files:
	chezscheme/patches/patch-c_expeditor.c

Log Message:
chezscheme: fixed build on linux with new glibc.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c17b6ab707e6ba4f06c8defb29a2c95923b43ed

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chezscheme/patches/patch-c_expeditor.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diffs:
diff --git a/chezscheme/patches/patch-c_expeditor.c b/chezscheme/patches/patch-c_expeditor.c
new file mode 100644
index 0000000000..3ee97c5d0e
--- /dev/null
+++ b/chezscheme/patches/patch-c_expeditor.c
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- c/expeditor.c.orig	2017-10-11 22:26:23.000000000 +0000
++++ c/expeditor.c
+@@ -546,7 +546,9 @@ static void s_ee_write_char(wchar_t c) {
+ #include <sys/ioctl.h>
+ #include <wchar.h>
+ #include <locale.h>
++#ifndef __GLIBC__
+ #include <xlocale.h>
++#endif
+ 
+ #if defined(TIOCGWINSZ) && defined(SIGWINCH) && defined(EINTR)
+ #define HANDLE_SIGWINCH


Home | Main Index | Thread Index | Old Index