From xemacs-m  Fri Sep 19 10:30:18 1997
Received: from fronsac.ensg.u-nancy.fr (fronsac.ensg.u-nancy.fr [192.93.48.17])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA10157
	for <xemacs-beta@xemacs.org>; Fri, 19 Sep 1997 10:29:43 -0500 (CDT)
Message-Id: <199709191529.KAA10157@xemacs.org>
Received: by fronsac.ensg.u-nancy.fr
	(8.7.1/16.2) id LAA08788; Fri, 19 Sep 1997 11:29:17 -0400 (EDT)
Date: Fri, 19 Sep 1997 11:29:17 -0400 (EDT)
From: Richard Cognot <cognot@ensg.u-nancy.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: [PATCH] 19.16 "Brooklyn" Success on hpux 9.05.
X-Mailer: VM 6.33 under 20.3 "Vienna" XEmacs  Lucid (beta14)
Reply-to: cognot@ensg.u-nancy.fr
X-Face:  .|{6#t`YCBNfg_E.8;@IFK9kd'Ol7>~2S7U!o3+g)+\`hV5&I]k,UwC%g%Y\,-KV+[eEgZm
 i(NgMB@L_n/A!jk;}@!?$<t5Aw`B$R=xJSv[F$2&sz*cwxF!|B3)MH,6YBDNU!$9;91N_p*>}</%ZO
 +EYRSc{a_#KXB)sJlPpxQq,/:}\*noO!;(5PY~MTnspl;&XA$JccP;N~;v5E>Yh.



./configure  '--site-libraries=/home/cognot/APPS/lib/hp700'
        '--site-includes=/home/cognot/APPS/include' '--debug=no'
        '--compiler=cc -Ae' '--cflags=-O -D_HPUX_SOURCES'
        '--error-checking=none' '--dynamic' '--x-libraries=/usr/lib/X11R5
        -L/usr/lib/Motif1.2'

Xpm, xface, X11R5, Motif1.2, PNG, jpeg, gif, dbm, native sound.

All is well, except for one tiny little thing...:
the following patch is needed to make the 9.05 binary run well on
10.01, 10.10 and 10.20. That way a single binary can be provided to
the net community.

(Actually, the problem appears only for 10.10 onward, and I think it
does not exist in 10.20).

*** src/s/hpux9-shr.h.orig      Wed Dec 18 04:57:21 1996
--- src/s/hpux9-shr.h   Fri Sep 19 10:57:50 1997
***************
*** 28,33 ****
--- 28,41 ----
  
  #include "hpux9.h"
  
+ /* The curses library seems to have a badly broken version of select(2)
+    that makes "poll: interrupted system call" messages to appear and
+    Emacs suprocesses to hang (e.g. TeX compilation w/ AUCTeX).
+    Althought this is only for hpux 10, linking termcap instead of curses
+    on 9.X ensures a 9.X binary will still run properly on 10.X. */
+ #undef LIBS_TERMCAP
+ #define LIBS_TERMCAP -ltermcap
+ 
  #if 0 /* No longer needed, since in current GCC -g no longer does that.  */
  /* We must turn off -g since it forces -static.  */
  #ifdef __GNUC__

I'll try an SGI 6.X n32 build soon. This should work on all 6.2, 6.3
and 6.4 machines without patch #1918 installed. If that patch is
installed, then another binary is needed. I cannot provide it though,
I have no machine with this patch installed.

Richard.

-- 
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |
| <cognot@ensg.u-nancy.fr> |             `'                   |
|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

