head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q2:1.1.0.10 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.8 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.6 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.4 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.2 pkgsrc-2009Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2010.09.10.20.00.45; author joerg; state dead; branches; next 1.1; 1.1 date 2009.04.17.01.07.30; author dsainty; state Exp; branches; next ; desc @@ 1.2 log @Update to xmore-1.0.2: Remove xprint support. @ text @$NetBSD: patch-aa,v 1.1 2009/04/17 01:07:30 dsainty Exp $ XawPrintDialogClosePrinterConnection isn't available if USE_XPRINT isn't defined. --- xmore.c.orig 2009-04-16 15:00:34.037637683 +1200 +++ xmore.c 2009-04-16 15:01:03.532901704 +1200 @@@@ -147,14 +147,14 @@@@ XtCallActionProc(w, "quit", NULL, NULL, 0); } +#ifdef USE_XPRINT + static void printshellDestroyXtProc(Widget w, XtPointer client_data, XtPointer callData) { XawPrintDialogClosePrinterConnection(printdialog, False); } -#ifdef USE_XPRINT - static void printOKXtProc(Widget w, XtPointer client_data, XtPointer callData) { @ 1.1 log @Fix build in some environments and some compilers. x11/libXaw provides "xaw7", (not "xaw8") which causes xmore to deselect the printer support. The straggling unused static function would cause link time failure if the compiler didn't optimise it out. Also, don't bother to buildlink in libXprintUtil, since it currently can't be used. Bump PKGREVISION for yucks. @ text @d1 1 a1 1 $NetBSD$ @