pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mkcmd Make this build on FreeBSD (stop fussing a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/254703374c02
branches:  trunk
changeset: 483320:254703374c02
user:      epg <epg%pkgsrc.org@localhost>
date:      Wed Nov 10 16:43:50 2004 +0000

description:
Make this build on FreeBSD (stop fussing about with malloc.h).

diffstat:

 devel/mkcmd/distinfo         |  15 ++++++++++++---
 devel/mkcmd/patches/patch-aa |  17 ++++++++++++++++-
 devel/mkcmd/patches/patch-ab |  17 ++++++++++++++++-
 devel/mkcmd/patches/patch-ac |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ad |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ae |  20 ++++++++++++++++++++
 devel/mkcmd/patches/patch-af |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ag |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ah |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ai |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-aj |  19 +++++++++++++++++++
 devel/mkcmd/patches/patch-ak |  19 +++++++++++++++++++
 12 files changed, 216 insertions(+), 5 deletions(-)

diffs (286 lines):

diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/distinfo
--- a/devel/mkcmd/distinfo      Wed Nov 10 16:42:40 2004 +0000
+++ b/devel/mkcmd/distinfo      Wed Nov 10 16:43:50 2004 +0000
@@ -1,6 +1,15 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/11/10 00:46:04 epg Exp $
+$NetBSD: distinfo,v 1.2 2004/11/10 16:43:50 epg Exp $
 
 SHA1 (mkcmd-8.14.tgz) = 33342afc845db84a040f116202b880d37b9f626f
 Size (mkcmd-8.14.tgz) = 295120 bytes
-SHA1 (patch-aa) = f9d297a7d3cf807163a53ba9d69d81e9dd83cd72
-SHA1 (patch-ab) = 72c1a8800491c967f402a1fa9038bab7a5cd3b11
+SHA1 (patch-aa) = f453a4abaaa4a0e4527e507249eb427f1c9ac22c
+SHA1 (patch-ab) = ff30b9b4818fcd105d433e0b2c943d27d698f18c
+SHA1 (patch-ac) = 6ee5e497e09157fbcf4d158966af8ee86e768bcb
+SHA1 (patch-ad) = cf3acdaf22930d577f13d28f2627515d78b8075b
+SHA1 (patch-ae) = 8610cbecca38033386bb2427647f18c80120591e
+SHA1 (patch-af) = 03f13f98dc52c467c8ae60dddcbcf7d9818adf33
+SHA1 (patch-ag) = 99e4ede7f0784bd343e181754de0608d65023b9f
+SHA1 (patch-ah) = 1738f8042db33232455d8cea0b033883312800df
+SHA1 (patch-ai) = 0ce87f6636e545c5a27c3a165de32b7b39bbd664
+SHA1 (patch-aj) = 1c0a9f177a8735f02cdec9f08f7311b03152c9f3
+SHA1 (patch-ak) = ed44815d12931845ab675ded6b32bda159d57af6
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-aa
--- a/devel/mkcmd/patches/patch-aa      Wed Nov 10 16:42:40 2004 +0000
+++ b/devel/mkcmd/patches/patch-aa      Wed Nov 10 16:43:50 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/11/10 00:46:04 epg Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/10 16:43:50 epg Exp $
 
 --- bin/mkcmd/main.c.orig      2000-07-30 17:56:23.000000000 -0400
 +++ bin/mkcmd/main.c
@@ -13,3 +13,18 @@
  
  
  #if USE_STRINGS
+@@ -47,14 +45,6 @@ extern int errno;
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ /* from std_version.m */
+ /* from std_help.m */
+ /* from scan.m */
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ab
--- a/devel/mkcmd/patches/patch-ab      Wed Nov 10 16:42:40 2004 +0000
+++ b/devel/mkcmd/patches/patch-ab      Wed Nov 10 16:43:50 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/11/10 00:46:04 epg Exp $
+$NetBSD: patch-ab,v 1.2 2004/11/10 16:43:50 epg Exp $
 
 --- bin/mkcmd/parser.c.orig    2000-07-30 17:56:23.000000000 -0400
 +++ bin/mkcmd/parser.c
@@ -10,3 +10,18 @@
  
  #include "machine.h"
  #include "type.h"
+@@ -26,14 +27,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ #if TILDEDIR
+ #include <pwd.h>
+ #endif
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ac      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/emit.c.orig      2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/emit.c
+@@ -27,14 +27,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ 
+ ATTR
+       wEmitMask = EMIT_AUTO_IND;      /* implicit emit options        */
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ad      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/check.c.orig     2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/check.c
+@@ -24,14 +24,6 @@ extern int compwidth(/* pOR */);
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ /* find a buffer [declared as <type> variable "ident" in mkcmd]               (ksb)
+  * in the list of buffer (usually pORDecl)
+  */
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ae      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/list.c.orig      2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/list.c
+@@ -16,15 +16,6 @@
+ #include <sys/param.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-extern void free();
+-#endif
+-#endif
+-
+ #if USE_STRINGS
+ #include <strings.h>
+ #else
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-af      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/mkcmd.c.orig     2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/mkcmd.c
+@@ -26,14 +26,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ LIST
+       LIComm,                 /* header comments                      */
+       aLIExits[11],           /* user hooks jusr before exit          */
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ag      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/mkman.c.orig     2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/mkman.c
+@@ -28,14 +28,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ 
+ /* this code should output a man page template                                (ksb)
+  * find out the ``common'' name for this page, default ``prog''
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ah      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/mkusage.c.orig   2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/mkusage.c
+@@ -26,14 +26,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ #if ADD_MULTI_BITS
+ int fMultiBases = 0;          /* do we need clues on mkuvec's strings */
+ #endif
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ai      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/option.c.orig    2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/option.c
+@@ -26,14 +26,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ OPTION
+       *pORActn = nilOR,       /* special actions in program           */
+       *pORDecl = nilOR,       /* globals we are to declare            */
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-aj      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aj,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/stracc.c.orig    2000-07-30 17:56:24.000000000 -0400
++++ bin/mkcmd/stracc.c
+@@ -12,14 +12,6 @@
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ static char *pchBuf = (char *)0;
+ static unsigned long int lBufLen = 0, lCurBuf = 0;
+ 
diff -r b3c241580ccd -r 254703374c02 devel/mkcmd/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mkcmd/patches/patch-ak      Wed Nov 10 16:43:50 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ak,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/type.c.orig      2000-07-30 17:56:24.000000000 -0400
++++ bin/mkcmd/type.c
+@@ -23,14 +23,6 @@ extern char *progname;
+ #include <string.h>
+ #endif
+ 
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+ 
+ char
+       sbEmpty[] = "",



Home | Main Index | Thread Index | Old Index