aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-14 09:07:44 +0800
committerkris <kris@FreeBSD.org>2002-10-14 09:07:44 +0800
commit03f19a1d1c73695625bdee489d51190410c7afb3 (patch)
treeb0e77d4f43f0e506d412ddc0a35ce3999c15c8d6 /print
parentb489bc144b659f41dadb58302cb9a22e967bdd2a (diff)
downloadfreebsd-ports-gnome-03f19a1d1c73695625bdee489d51190410c7afb3.tar.gz
freebsd-ports-gnome-03f19a1d1c73695625bdee489d51190410c7afb3.tar.zst
freebsd-ports-gnome-03f19a1d1c73695625bdee489d51190410c7afb3.zip
Fix build.
Submitted by: Adam Weinberger <adam@vectors.cx> PR: ports/42452
Diffstat (limited to 'print')
-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); \