aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/bibcard/Makefile2
-rw-r--r--print/bibcard/files/patch-0412
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); \