diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-14 01:07:44 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-14 01:07:44 +0000 |
commit | a726826cac24f20173822a1f0ed944212bd16d40 (patch) | |
tree | 9e4e56f56d0f33d3cd92ac80c8568487146aab01 /print/bibcard/files/patch-04 | |
parent | Fix build. (diff) |
Fix build.
Submitted by: Adam Weinberger <adam@vectors.cx>
PR: ports/42452
Notes
Notes:
svn path=/head/; revision=67997
Diffstat (limited to 'print/bibcard/files/patch-04')
-rw-r--r-- | print/bibcard/files/patch-04 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/print/bibcard/files/patch-04 b/print/bibcard/files/patch-04 new file mode 100644 index 000000000000..fec30383195f --- /dev/null +++ b/print/bibcard/files/patch-04 @@ -0,0 +1,12 @@ +--- bt.h.orig Thu Sep 5 10:21:18 2002 ++++ bt.h Thu Sep 5 10:22:45 2002 +@@ -47,7 +47,9 @@ + #define LD_ERROR 98 + + extern char * strdup(); ++#if !defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(_bsdi__) + extern char * realloc(); ++#endif + #define set_str(x, new)\ + if (x) free(x); \ + if (new) x = strdup(new); \ |