Subject: Pine 3.95 patches for DG/UX (d-g)

From: "Horst.Hanak iiiiiiiiiiiiiiiiiiiiiiiii" <[email-masked]>
Date: Mon, 19 Aug 1996 10:00:27 +0200

To getting Pine 3.95 compiled on DG/UX 5.4R3.10 and R4.11MU02
I made this changes on Files:
            pine/makefile.d-g
            imap/ANSI/c-client/os_d-g.c
            imap/ANSI/c-client/Makefile

======== Changes DG/UX(m88k) Rev. 5.4R3.10 and R4.11MU02 =============
*** pine/makefile.d-g.orig	Fri Mar 15 08:14:55 1996
--- pine/makefile.d-g	Tue Aug 13 14:11:09 1996
***************
*** 54,60 ****
  IMAPDIR=     ../c-client
  PICODIR=     ../pico
  
! STDLIBES=    -lnsl_s -lgen -lcurses
  LOCLIBES=    $(PICODIR)/libpico.a $(IMAPDIR)/c-client.a
  LIBES=       $(EXTRALIBES) $(LOCLIBES) $(STDLIBES)
  
--- 54,61 ----
  IMAPDIR=     ../c-client
  PICODIR=     ../pico
  
! STDLIBES=    -l`case \`uname -r\` in 5.4R3.10) echo "nsl_s"\
!               ;; R4.11MU02) echo "nsl";;esac` -lgen -lcurses
  LOCLIBES=    $(PICODIR)/libpico.a $(IMAPDIR)/c-client.a
  LIBES=       $(EXTRALIBES) $(LOCLIBES) $(STDLIBES)
  
*** imap/ANSI/c-client/os_d-g.c.orig	Fri Jun 21 23:24:42 1996
--- imap/ANSI/c-client/os_d-g.c	Tue Aug 13 12:35:29 1996
***************
*** 35,42 ****
   
  #include "tcp_unix.h"		/* must be before osdep includes tcp.h */
  #include "mail.h"
! #define _USEC_UTIME_FLAVOR	/* break it for compatibility with
! #include <utime.h>		   the incompatible past */
  #include "osdep.h"
  #include <stdio.h>
  #include <sys/time.h>
--- 35,42 ----
   
  #include "tcp_unix.h"		/* must be before osdep includes tcp.h */
  #include "mail.h"
! #define _USEC_UTIME_FLAVOR	/* break it for compatibility with */
! #include <utime.h>		/* the incompatible past */
  #include "osdep.h"
  #include <stdio.h>
  #include <sys/time.h>
*** pine/osdep/os-sv4.h.orig	Wed Jun  5 19:13:42 1996
--- pine/osdep/os-sv4.h	Tue Aug 13 12:38:22 1996
***************
*** 232,237 ****
--- 232,242 ----

+ /*-------- For DG/UX systems, define setpgrp to be setpgrp2 -------------*/
+ #ifdef DGUX
+ #define setpgrp setpgrp2
+ #endif
+ 
  /*----------------- locale.h -------------------------------------------*/
  /* #include <locale.h>  /* To make matching and sorting work right */
  
*** imap/ANSI/c-client/Makefile.orig	Fri Jun 21 23:25:45 1996
--- imap/ANSI/c-client/Makefile	Tue Aug 13 15:43:35 1996
***************
*** 128,138 ****
  d-g:	# Data General
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/var/mail \
  		ACTIVEFILE=/local/news/active NEWSSPOOL=/var/spool/news \
  		RSH=remsh RSHPATH=/usr/bin/remsh \
! 		CFLAGS="-g -DNFSKLUDGE $(EXTRACFLAGS)" RANLIB=true
  
  dpx:	# Bull DPX/2
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/usr/spool/mail \
  		ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
--- 128,139 ----
  d-g:	# Data General
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/var/mail \
  		ACTIVEFILE=/local/news/active NEWSSPOOL=/var/spool/news \
  		RSH=remsh RSHPATH=/usr/bin/remsh \
! 		CFLAGS="-g `case \`uname -r\` in 5.4R3.10) echo '-Dconst= '\
!                   ;;esac` -DNFSKLUDGE $(EXTRACFLAGS)" RANLIB=true
  
  dpx:	# Bull DPX/2
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/usr/spool/mail \
  		ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
====== End of Changes DG/UX(m88k) Rev. 5.4R3.10 and R4.11MU02 =============

You can also get this patchfile '
 on FTP-Server 'infpav3.fzk.de':

          ftp://infpav3.fzk.de/pine/pine3.95.diff.dgux.m88k

   Horst Hanak
__________________________________________________________________
Forschungszentrum Karlsruhe        E-Mail: [email-masked]
Institut:INFP       Horst Hanak          -------------------------
Postfach 3640                            tel:     +49 7247/82-3353
D 76021 Karlsruhe     / Germany          fax:     +49 7247/82-4624
__________________________________________________________________