diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-15 17:50:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-15 17:50:53 +0000 |
commit | 47c117f489ccc65623b4d5e0dd40ebc62b395906 (patch) | |
tree | 1de857b56281dcd7eb8cafdcae3d20b427521bff /devel | |
parent | f22e43ae7a0be2e23c407bfff59cbea6d0de7755 (diff) | |
download | pkgsrc-47c117f489ccc65623b4d5e0dd40ebc62b395906.tar.gz |
Fix errno. Add DragonFly.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mkcmd/distinfo | 4 | ||||
-rw-r--r-- | devel/mkcmd/files/makeme | 4 | ||||
-rw-r--r-- | devel/mkcmd/patches/patch-al | 14 | ||||
-rw-r--r-- | devel/mkcmd/patches/patch-am | 15 |
4 files changed, 34 insertions, 3 deletions
diff --git a/devel/mkcmd/distinfo b/devel/mkcmd/distinfo index b7fe6b5684c..6d1656ac0c9 100644 --- a/devel/mkcmd/distinfo +++ b/devel/mkcmd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 22:24:21 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/01/15 17:50:53 joerg Exp $ SHA1 (mkcmd-8.14.tgz) = 33342afc845db84a040f116202b880d37b9f626f RMD160 (mkcmd-8.14.tgz) = e7e17759c936c35a810d814cf3c442a2fc5271a2 @@ -14,3 +14,5 @@ SHA1 (patch-ah) = 1738f8042db33232455d8cea0b033883312800df SHA1 (patch-ai) = 0ce87f6636e545c5a27c3a165de32b7b39bbd664 SHA1 (patch-aj) = 1c0a9f177a8735f02cdec9f08f7311b03152c9f3 SHA1 (patch-ak) = ed44815d12931845ab675ded6b32bda159d57af6 +SHA1 (patch-al) = 27a7b986803e7392852eaa59ba7e28cf84df3be0 +SHA1 (patch-am) = 87f3debc0efd4393d8ad342f39a5e0b981147cad diff --git a/devel/mkcmd/files/makeme b/devel/mkcmd/files/makeme index 518653c12f5..92b8e9aacc9 100644 --- a/devel/mkcmd/files/makeme +++ b/devel/mkcmd/files/makeme @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: makeme,v 1.2 2005/04/06 15:48:17 epg Exp $ +# $Id: makeme,v 1.3 2006/01/15 17:50:53 joerg Exp $ # This hack won't work for every trick you can play with /usr/msrc. # If the Distfile sends different files to the various platforms, or # builds a file on the meta source machine with a special tool or @@ -39,7 +39,7 @@ if [ -z "$HOSTTYPE" ] ; then HOSTTYPE="NEXT2" ;; *Solaris*|*[Ss]un[Oo][Ss]*) HOSTTYPE="SUN5" ;; - Darwin*|*BSD*) + Darwin*|*BSD*|DragonFly*) HOSTTYPE="FREEBSD" ;; BSDI*) HOSTTYPE="BSDI" ;; diff --git a/devel/mkcmd/patches/patch-al b/devel/mkcmd/patches/patch-al new file mode 100644 index 00000000000..7823c322dd3 --- /dev/null +++ b/devel/mkcmd/patches/patch-al @@ -0,0 +1,14 @@ +$NetBSD: patch-al,v 1.1 2006/01/15 17:50:53 joerg Exp $ + +--- bin/mkcmd/mkcmd.m.orig 2006-01-15 17:46:17.000000000 +0000 ++++ bin/mkcmd/mkcmd.m +@@ -29,9 +29,6 @@ static char rcsid[] = + * do the hard work. mkcmd rembers how it was built and builds all + * subsequent parsers that way... + */ +-#if !defined(MSDOS) +-extern int errno; +-#endif + + + #if USE_STRINGS diff --git a/devel/mkcmd/patches/patch-am b/devel/mkcmd/patches/patch-am new file mode 100644 index 00000000000..c94d6e9a7da --- /dev/null +++ b/devel/mkcmd/patches/patch-am @@ -0,0 +1,15 @@ +$NetBSD: patch-am,v 1.1 2006/01/15 17:50:53 joerg Exp $ + +--- bin/mkcmd/machine.h.orig 2006-01-15 17:49:23.000000000 +0000 ++++ bin/mkcmd/machine.h +@@ -122,10 +122,6 @@ extern char *sys_errlist[]; + #define const /* broken -- removed */ + #endif + +-#if HAVE_SIMPLE_ERRNO +-extern int errno; +-#endif +- + #if NEED_OFFSET_TYPE + typedef long off_t; + #endif |