Source: psychtoolbox-3
Version: 3.0.14.20170103+git6-g605ff5c.dfsg1-1
Severity: serious
Tags: patch upstream
Justification: FTBFS

Package psychtoolbox-3 is currently failing to build from source because file PsychSourceGL/Source/Common/Screen/SCREENDrawText.c includes xlocale.h, which has been removed from glibc >= 2.26.

The patch attached to this bug report fixes the problem. I will soon upload a fixed package to unstable, which will also fix Bug#890087.

Best,

Rafael Laboissière

-- System Information: Debian Release: buster/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (550, 'experimental'), (550, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Description: Do not include xlocale.h, deprecated in glibc >= 2.26
Author: Rafael Laboissiere <raf...@debian.org>
Forwarded: no
Last-Update: 2018-04-15

--- psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1.orig/PsychSourceGL/Source/Common/Screen/SCREENDrawText.c
+++ psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/PsychSourceGL/Source/Common/Screen/SCREENDrawText.c
@@ -1814,7 +1814,7 @@ const char* PsychGetUnicodeTextConversio
 
 // POSIX systems Linux and OS/X:
 #include <locale.h>
-#include <xlocale.h>
+// #include <xlocale.h>
 
 static locale_t    drawtext_locale = NULL;
 static char        drawtext_localestring[256] = { 0 };

Reply via email to