From 6945128fc7d6e2704853d503968969e28d77c811 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jan 2006 21:46:13 +0000 Subject: No values.h on DragonFly and FreeBSD. Add explicit rpath for /usr/pkg/lib, for some reason it doesn't get picked up on DragonFly by default. --- finance/xinvest/distinfo | 6 ++++-- finance/xinvest/patches/patch-aa | 13 +++++++++++-- finance/xinvest/patches/patch-ab | 13 +++++++++++++ finance/xinvest/patches/patch-ac | 13 +++++++++++++ 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 finance/xinvest/patches/patch-ab create mode 100644 finance/xinvest/patches/patch-ac (limited to 'finance/xinvest') diff --git a/finance/xinvest/distinfo b/finance/xinvest/distinfo index c54b0bd9c31..c2e422b48bd 100644 --- a/finance/xinvest/distinfo +++ b/finance/xinvest/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.6 2005/02/22 21:11:48 agc Exp $ +$NetBSD: distinfo,v 1.7 2006/01/12 21:46:13 joerg Exp $ SHA1 (xinvest-2.6.9.tar.gz) = 1f87a257d89e68525348098ecf8fb88feb2d95f4 RMD160 (xinvest-2.6.9.tar.gz) = 2ece846070061ac25654b63bcd9a67f1e61bba42 Size (xinvest-2.6.9.tar.gz) = 282748 bytes -SHA1 (patch-aa) = ddab73c6eb20c2ae8883cf30b528187d40e09611 +SHA1 (patch-aa) = 040b78259210c6202243ff39043217c784529ef3 +SHA1 (patch-ab) = 93ff1e31d29673a71bf0cd312b14b6b7334a659c +SHA1 (patch-ac) = 2cb208eaa80d484188b82b52760a354bbc6e425d diff --git a/finance/xinvest/patches/patch-aa b/finance/xinvest/patches/patch-aa index d717f339971..f909636a946 100644 --- a/finance/xinvest/patches/patch-aa +++ b/finance/xinvest/patches/patch-aa @@ -1,7 +1,16 @@ -$NetBSD: patch-aa,v 1.2 2004/11/23 17:21:54 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2006/01/12 21:46:13 joerg Exp $ ---- Imakefile.orig 2004-05-01 20:57:42.000000000 +0200 +--- Imakefile.orig 2004-05-01 18:57:42.000000000 +0000 +++ Imakefile +@@ -15,7 +15,7 @@ XCOMM + + DEFINES = -DSHAPE + INCLUDES = -I$(INCROOT)/X11 +-SYS_LIBRARIES = -lXm -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm ++SYS_LIBRARIES = -Wl,-R${PREFIX}/lib -lXm -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm + DEPLIBS = + + SRCS = account.c askuser.c calendar.c color.c drawing.c \ @@ -29,5 +29,5 @@ OBJS = account.o askuser.o calendar.o co status.o tooltips.o trans.o util.o xinvest.o xutil.o diff --git a/finance/xinvest/patches/patch-ab b/finance/xinvest/patches/patch-ab new file mode 100644 index 00000000000..2d595147128 --- /dev/null +++ b/finance/xinvest/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/01/12 21:46:13 joerg Exp $ + +--- color.c.orig 2006-01-12 21:24:54.000000000 +0000 ++++ color.c +@@ -34,7 +34,7 @@ static char id[] = "$Header: /pack/anonc + + #include + +-#if !defined(__NetBSD__) ++#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__) + #include + #endif + diff --git a/finance/xinvest/patches/patch-ac b/finance/xinvest/patches/patch-ac new file mode 100644 index 00000000000..3aea74db115 --- /dev/null +++ b/finance/xinvest/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.3 2006/01/12 21:46:13 joerg Exp $ + +--- portfolio.c.orig 2006-01-12 21:35:18.000000000 +0000 ++++ portfolio.c +@@ -36,7 +36,7 @@ + #include + #include + +-#if !defined(NeXT) && !defined(__NetBSD__) ++#if !defined(NeXT) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__) + #include + #endif + -- cgit v1.2.3