fix after XPrint removal
This commit is contained in:
parent
a625b3d19e
commit
33530c12a2
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2009/12/27 21:40:34 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2010/04/27 19:45:48 naddy Exp $
|
||||
|
||||
COMMENT= personal finance tracking and performance tool
|
||||
|
||||
DISTNAME= xinvest-2.6.9
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
PKGNAME= ${DISTNAME}p4
|
||||
CATEGORIES= productivity x11
|
||||
|
||||
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
||||
@ -14,7 +14,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xpm Xt c m pthread-stubs xcb
|
||||
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xpm Xt c m
|
||||
|
||||
MASTER_SITES= http://www.phil.uu.nl/~lievisse/distfiles/
|
||||
|
||||
|
19
productivity/xinvest/patches/patch-report_c
Normal file
19
productivity/xinvest/patches/patch-report_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-report_c,v 1.1 2010/04/27 19:45:49 naddy Exp $
|
||||
--- report.c.orig Tue Apr 27 21:37:28 2010
|
||||
+++ report.c Tue Apr 27 21:37:48 2010
|
||||
@@ -1534,6 +1534,7 @@ void reportDestroy(Widget w, Widget client_data, XtPoi
|
||||
reportDrawing = (Widget)NULL;
|
||||
}
|
||||
|
||||
+#ifdef XPRINT
|
||||
void reportPageCB(Widget w, Widget client, XtPointer call)
|
||||
{
|
||||
Widget drawing = (Widget)client;
|
||||
@@ -1566,6 +1567,7 @@ void reportPageCB(Widget w, Widget client, XtPointer c
|
||||
|
||||
per = &Global[0];
|
||||
}
|
||||
+#endif
|
||||
|
||||
void reportPrintOk(Widget w, Widget client, XtPointer call)
|
||||
{
|
19
productivity/xinvest/patches/patch-xinvest_c
Normal file
19
productivity/xinvest/patches/patch-xinvest_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-xinvest_c,v 1.1 2010/04/27 19:45:49 naddy Exp $
|
||||
--- xinvest.c.orig Tue Apr 27 21:38:38 2010
|
||||
+++ xinvest.c Tue Apr 27 21:39:01 2010
|
||||
@@ -1650,6 +1650,7 @@ int main (int argc, char **argv)
|
||||
return (0);
|
||||
}
|
||||
|
||||
+#ifdef XPRINT
|
||||
void PageCB(Widget w, XtPointer client, XtPointer call)
|
||||
{
|
||||
XmPrintShellCallbackStruct *cbp = (XmPrintShellCallbackStruct *)call;
|
||||
@@ -1660,6 +1661,7 @@ void PageCB(Widget w, XtPointer client, XtPointer call
|
||||
|
||||
cbp->last_page = True;
|
||||
}
|
||||
+#endif
|
||||
|
||||
void PrintCB(Widget w, XtPointer client, XtPointer call)
|
||||
{
|
13
productivity/xinvest/patches/patch-xinvest_h
Normal file
13
productivity/xinvest/patches/patch-xinvest_h
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-xinvest_h,v 1.1 2010/04/27 19:45:49 naddy Exp $
|
||||
--- xinvest.h.orig Tue Apr 27 21:35:22 2010
|
||||
+++ xinvest.h Tue Apr 27 21:35:48 2010
|
||||
@@ -34,7 +34,9 @@
|
||||
#define __XINVEST_H_
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
+#if XPRINT
|
||||
#include <X11/extensions/Print.h>
|
||||
+#endif
|
||||
#include "color.h"
|
||||
|
||||
/* Globals */
|
Loading…
Reference in New Issue
Block a user