Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 1996 14:30:53 -0700
From:      Tim Kientzle <kientzle@netcom.com>
To:        ports@FreeBSD.ORG
Subject:   NAS patch
Message-ID:  <31F9390D.167EB0E7@netcom.com>

next in thread | raw e-mail | index | archive | help
This patch fixes a bug in the NAS port included with 2.1R.

The symptom:  NAS client applications cannot properly locate the
  server.  Specifically, server specifications such as `:0' are
  not properly linked.

The cause: A compiler define for BSD 4.4 Sockets was incorrectly
  set in the makefile.

The patch:

*** work/nas-1.2p1/lib/audio/Imakefile  Tue Feb 13 12:18:13 1996
--- work.tim/nas-1.2p1/lib/audio/Imakefile      Tue Feb 13 10:21:19 1996
***************
*** 66,73 ****
  #endif /* ProjectX < 5 */
  
       EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
  
          DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
!    CONN_DEFINES = ConnectionFlags
     INSTALLFLAGS += $(INSTINCFLAGS)
  
--- 66,78 ----
  #endif /* ProjectX < 5 */
  
+ #if HasBSD44Sockets
+    SOCK_DEFINES = -DBSD44SOCKETS
+ #endif
+ 
+ 
       EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
  
          DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
!    CONN_DEFINES = ConnectionFlags $(SOCK_DEFINES)
     INSTALLFLAGS += $(INSTINCFLAGS)
*** End of patch ***

				- Tim Kientzle



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31F9390D.167EB0E7>