summaryrefslogtreecommitdiff
path: root/news/nn
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-10-11 01:26:32 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-10-11 01:26:32 +0000
commite1ad6f4416c49fe525b7fb8b9409c10f9e2b4a55 (patch)
treeaa748ffb876bbe85b11d82cb6ae905b5f46d2dc4 /news/nn
parentcc61ece0c63c8821cd2caa5737e736ab58b17b95 (diff)
downloadpkgsrc-e1ad6f4416c49fe525b7fb8b9409c10f9e2b4a55.tar.gz
add missing mipsel machine config file.
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/files/patch-sum3
-rw-r--r--news/nn/patches/patch-bb101
2 files changed, 103 insertions, 1 deletions
diff --git a/news/nn/files/patch-sum b/news/nn/files/patch-sum
index 4901039621b..13c6310f41e 100644
--- a/news/nn/files/patch-sum
+++ b/news/nn/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.6 1999/09/20 21:43:33 kim Exp $
+$NetBSD: patch-sum,v 1.7 2000/10/11 01:26:32 dmcmahill Exp $
MD5 (patch-aa) = 484c0c2ee06c7e507a09ba11dcedc7aa
MD5 (patch-ab) = bb054068ebdbe26eb6f9d3928881a040
@@ -27,3 +27,4 @@ MD5 (patch-ax) = aecfc01f35e687d567ff813d3f13f734
MD5 (patch-ay) = b7bfb52b31aa3440749252a29ce4391c
MD5 (patch-az) = 9539751382afdcc1154ecc2af121ede4
MD5 (patch-ba) = 47a13339ffce7c9a8352569ac7c02efd
+MD5 (patch-bb) = abcdad2f88ef1dee0d4a38ab8e5b538f
diff --git a/news/nn/patches/patch-bb b/news/nn/patches/patch-bb
new file mode 100644
index 00000000000..b7c574556a1
--- /dev/null
+++ b/news/nn/patches/patch-bb
@@ -0,0 +1,101 @@
+$NetBSD: patch-bb,v 1.1 2000/10/11 01:26:33 dmcmahill Exp $
+
+add machine config file for mipsel machines
+
+--- /dev/null Tue Oct 10 21:01:06 2000
++++ conf/m-mipsel.h Tue Oct 10 21:21:12 2000
+@@ -0,0 +1,94 @@
++
++/************** Machine (and compiler) dependent definitions. **************
++ *
++ * Define appropriate types for the following ranges of integer
++ * variables. These are processor & compiler dependent, but the
++ * distributed definitions will probably work on most systems.
++ */
++
++
++
++/* MACHINE TYPE DEFINED TYPE VALUE RANGE */
++
++typedef unsigned char int8; /* 0 .. 255 */
++typedef short int16; /* -10,000 .. 10,000 */
++typedef int int32; /* -100,000 .. 100,000 */
++typedef unsigned int uint32; /* 0 .. 2^31-1 */
++
++
++/*
++ * Define NO_VARARGS if the varargs feature is not available.
++ *
++ * Also define NO_VARARGS if the vprintf/vsprintf routines are not
++ * available (however, this will only by safe on some machines, like
++ * the VAX).
++ *
++ * Defining NO_VARARGS in the m- file should only be done for
++ * architectures which does not support it in general, or where
++ * a majority of the systems available on that architecture
++ * doesn't have it. Otherwise, it should be defined in the
++ * s- file, because this is primarily OS dependent.
++ *
++ * NO_VARARGS can be overruled by defining HAVE_VARARGS in the s-
++ * file.
++ */
++
++/* #define NO_VARARGS /* unless HAVE_VARARGS */
++
++/*
++ * Define STRCSPN if the strcspn() function is not available.
++ */
++
++/* #define STRCSPN /* */
++
++/*
++ * Define NO_SIGINTERRUPT on BSD based systems which don't have
++ * a siginterrupt() function, but provides an SV_INTERRUPT flag
++ * in <signal.h>.
++ */
++
++/* #define NO_SIGINTERRUPT /* */
++
++
++#ifdef NETWORK_DATABASE
++
++/*
++ * Define NETWORK_BYTE_ORDER if the machine's int32's are
++ * already in network byte order, i.e. m68k based.
++ */
++#include <sys/types.h>
++#include <machine/endian.h>
++
++#if BYTE_ORDER == BIG_ENDIAN
++#define NETWORK_BYTE_ORDER /* */
++#endif
++
++/*
++ * OTHERWISE provide the functions/macros ntohl/htonl to
++ * convert longs from and to network byte order
++ */
++
++#ifndef NETWORK_BYTE_ORDER
++
++/*
++ * Include appropriate files or define macroes or functions (include them
++ * in data.c) to convert longs and shorts to and from network byte order.
++ */
++
++/*
++ * This will work on most BSD based systems...
++ */
++
++#include <netinet/in.h>
++
++/*
++ * Otherwise, define something appropriate below
++ */
++
++/* NetBSD has these in <netinet/in.h>
++/*#define htonl(l) ... *//* host long to network long */
++/*#define ntohl(l) ... *//* network long to host long */
++
++#endif /* not NETWORK BYTE ORDER */
++
++#endif /* NETWORK DATABASE */