Source: xemacs21 Version: 21.4.24-7 Severity: normal Tags: patch Dear Maintainer,
The xemacs21 package fails to build. See: https://buildd.debian.org/status/fetch.php?pkg=xemacs21&arch=hppa&ver=21.4.24-7&stamp=1545681703&raw=0 The symbols are missing because hpplay.o is not built and included in the emacs command. Further, hpplay.c would not build as it depends on HP's audio library package that was only available on hpux. Support for this library appears to have been dropped after HP-UX 11.11 and I think it only worked on certain workstations. With the attached change, xemacs21 builds successfully on hppa. See: https://buildd.debian.org/status/fetch.php?pkg=xemacs21&arch=hppa&ver=21.4.24-7&stamp=1545839146&raw=0 The "&& 0" in the patch could be changed to "&& defined(__hpux__)" but I tend to think the hpplay and sunplay code should be removed as obsolete. Regards, Dave Anglin -- System Information: Debian Release: buster/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable') Architecture: hppa (parisc64) Kernel: Linux 4.14.90+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
Index: xemacs21-21.4.24/src/emacs.c =================================================================== --- xemacs21-21.4.24.orig/src/emacs.c +++ xemacs21-21.4.24/src/emacs.c @@ -2368,7 +2368,7 @@ main_1 (int argc, char **argv, char **en #if defined (WIN32_NATIVE) || defined (CYGWIN) init_win32 (); #endif -#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800) +#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800) && 0 init_hpplay (); #endif #ifdef HAVE_TTY Index: xemacs21-21.4.24/src/sound.c =================================================================== --- xemacs21-21.4.24.orig/src/sound.c +++ xemacs21-21.4.24/src/sound.c @@ -653,7 +653,7 @@ This variable only applies to native sou */ ); Vnative_sound_only_on_console = Qt; -#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800) +#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800) && 0 { void vars_of_hpplay (void); vars_of_hpplay ();