[ pkg-hurd-Patches-301184 ] FTBFS - nas-1.7
Patches item #301184, was opened at 2005-02-13 11:54
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410472&aid=301184&group_id=30218
Category: several
Group: unreviewed
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry deFreese (bddebian-guest)
Assigned to: Nobody (None)
Summary: FTBFS - nas-1.7
Initial Comment:
Author: Barry deFreese <bddebian@comcast.net>
Source: nas
Status: ugly but builds
Categories: posix
Strip-Level: -p1
OK, I was able to build nas-1.7. Unfortunately I copied a soundcard.h directly from Debian GNU/Linux which allowed me to build. However, most likely, the ioctls are incorrect.
diff -urp nas-1.7.old/lib/audio/Alibnet.h nas-1.7/lib/audio/Alibnet.h
--- nas-1.7.old/lib/audio/Alibnet.h 2005-02-07 08:44:18.000000000 -0500
+++ nas-1.7/lib/audio/Alibnet.h 2005-02-07 08:42:21.000000000 -0500
@@ -43,6 +43,10 @@ without express or implied warranty.
* Xlibnet.h - Xlib networking include files for UNIX Systems.
*/
+#ifndef NOFILES_MAX
+# define NOFILES_MAX 255
+#endif
+
#ifndef _NCD_ALIBNET_H_
#define _NCD_ALIBNET_H_
diff -urp nas-1.7.old/server/Imakefile nas-1.7/server/Imakefile
--- nas-1.7.old/server/Imakefile 2005-02-07 08:44:41.000000000 -0500
+++ nas-1.7/server/Imakefile 2005-02-07 08:42:37.000000000 -0500
@@ -91,7 +91,7 @@ RCMANDIR = $(MANDIR)
#define BuildSGIServer
#endif
-#if defined(HPArchitecture) && !defined(LinuxArchitecture) && !defined(GNUArchitecture)
+#if defined(HPArchitecture) && !defined(LinuxArchitecture) && !defined(GNUArchitecture) && !defined(GNUMachArchitecture)
#define CanBuildAuServer YES
ALL1 = nasd
RCMANDIR = $(MANDIR)
@@ -99,10 +99,10 @@ RCMANDIR = $(MANDIR)
#endif
-#if defined(i386SVR4Architecture) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(i386BsdArchitecture) || defined(USLArchitecture) || defined(cygwinArchitecture)
+#if defined(i386SVR4Architecture) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(i386BsdArchitecture) || defined(USLArchitecture) || defined(cygwinArchitecture) || defined(GNUMachArchitecture)
# define CanBuildAuServer YES
-# if defined(LinuxArchitecture) || defined(GNUArchitecture)
+# if defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(GNUMachArchitecture)
RCMANDIR = $(FILEMANDIR)
RCMANSUFFIX = 5nas
# else
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410472&aid=301184&group_id=30218
Reply to: