🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Robert Keller Tue, 22 Oct 1996 00:00
small patch to INN 1.5b1 for SGI Irix
#11831
Author: Robert Keller
Date: Tue, 22 Oct 1996 00:00
60 lines
2359 bytes
I've gotten a few email messages asking about INN 1.5b1 on IRIX.  
The below patch when applied to 1.5b1 when using a proper config
.data (as is mostly available from my "INN on IRIX" web page) 
results in a running INN 1.5b1 server.

I've forwarded both items to james, so the problems should no 
longer be an issue in the final version of INN 1.5 .  

I have yet to do any really heavy testing of 1.5b1 so I really
don't know if there are other gotchas or not at this point.

...robert


diff -rc ../inn-1.5b1-orig/lib/Makefile ./lib/Makefile
*** ../inn-1.5b1-orig/lib/Makefile	Sat Sep 28 10:39:12 1996
--- ./lib/Makefile	Tue Oct 22 11:49:44 1996
***************
*** 127,133 ****
  dbz.c:			$(DBZDIR)/dbz.c dbz.pch
  	@rm -f dbz.c
  	cat $(DBZDIR)/dbz.c >dbz.c
! 	patch -b .orig -s <dbz.pch
  	$(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
  	$(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
  	rm -f dbz.c.orig
--- 127,133 ----
  dbz.c:			$(DBZDIR)/dbz.c dbz.pch
  	@rm -f dbz.c
  	cat $(DBZDIR)/dbz.c >dbz.c
! 	patch -s <dbz.pch
  	$(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
  	$(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
  	rm -f dbz.c.orig
diff -rc ../inn-1.5b1-orig/lib/inndcomm.c ./lib/inndcomm.c
*** ../inn-1.5b1-orig/lib/inndcomm.c	Sat Sep 28 10:39:12 1996
--- ./lib/inndcomm.c	Wed Oct 16 20:55:04 1996
***************
*** 234,239 ****
--- 234,240 ----
      /* Send message. */
      ICCfailure = NULL;
      len = p - buff + HEADER_SIZE ;
+     rlen = htons (len) ;
  
      /* now stick in the protocol version and the length. */
      buff -= HEADER_SIZE;
***************
*** 242,248 ****
      memcpy (buff,&protocol,sizeof (protocol)) ;
      buff += sizeof (protocol) ;
  
-     rlen = htons (len) ;
      memcpy (buff,&rlen,sizeof (rlen)) ;
      buff += sizeof (rlen) ;
  
--- 243,248 ----

Re: small patch to INN 1.5b1 for SGI Irix
#12059
Author: Matthew Ward
Date: Mon, 04 Nov 1996 00:00
69 lines
3025 bytes
Robert Keller wrote:
> 
> I've gotten a few email messages asking about INN 1.5b1 on IRIX.

Ah, but what version of IRIX is this?  Most folks are running 5.x, 
but we're up to the 6.2 version.  Does it matter?

> The below patch when applied to 1.5b1 when using a proper config
> .data (as is mostly available from my "INN on IRIX" web page)
> results in a running INN 1.5b1 server.
> 
> I've forwarded both items to james, so the problems should no
> longer be an issue in the final version of INN 1.5 .
> 
> I have yet to do any really heavy testing of 1.5b1 so I really
> don't know if there are other gotchas or not at this point.
> 
> ...robert
> 
> diff -rc ../inn-1.5b1-orig/lib/Makefile ./lib/Makefile
> *** ../inn-1.5b1-orig/lib/Makefile      Sat Sep 28 10:39:12 1996
> --- ./lib/Makefile      Tue Oct 22 11:49:44 1996
> ***************
> *** 127,133 ****
>   dbz.c:                        $(DBZDIR)/dbz.c dbz.pch
>         @rm -f dbz.c
>         cat $(DBZDIR)/dbz.c >dbz.c
> !       patch -b .orig -s <dbz.pch
>         $(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
>         $(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
>         rm -f dbz.c.orig
> --- 127,133 ----
>   dbz.c:                        $(DBZDIR)/dbz.c dbz.pch
>         @rm -f dbz.c
>         cat $(DBZDIR)/dbz.c >dbz.c
> !       patch -s <dbz.pch
>         $(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
>         $(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
>         rm -f dbz.c.orig
> diff -rc ../inn-1.5b1-orig/lib/inndcomm.c ./lib/inndcomm.c
> *** ../inn-1.5b1-orig/lib/inndcomm.c    Sat Sep 28 10:39:12 1996
> --- ./lib/inndcomm.c    Wed Oct 16 20:55:04 1996
> ***************
> *** 234,239 ****
> --- 234,240 ----
>       /* Send message. */
>       ICCfailure = NULL;
>       len = p - buff + HEADER_SIZE ;
> +     rlen = htons (len) ;
> 
>       /* now stick in the protocol version and the length. */
>       buff -= HEADER_SIZE;
> ***************
> *** 242,248 ****
>       memcpy (buff,&protocol,sizeof (protocol)) ;
>       buff += sizeof (protocol) ;
> 
> -     rlen = htons (len) ;
>       memcpy (buff,&rlen,sizeof (rlen)) ;
>       buff += sizeof (rlen) ;
> 
> --- 243,248 ----

--
"My people are the people of the dessert," said T.E. Lawrence, 
picking up his fork.      /\/\ a tt == Matthew.Ward@gte.net

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads