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 | |
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')
-rw-r--r-- | print/bibcard/Makefile | 2 | ||||
-rw-r--r-- | print/bibcard/files/patch-04 | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/print/bibcard/Makefile b/print/bibcard/Makefile index 90798082c61b..6f7822b9bc87 100644 --- a/print/bibcard/Makefile +++ b/print/bibcard/Makefile @@ -15,8 +15,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@NUXI.com -BROKEN= "Does not compile" - LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview NO_WRKSUBDIR= yes 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); \ |