head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.1.0.10 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.8 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.6 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.4 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.2 pkgsrc-2011Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2013.01.21.05.19.47; author dholland; state dead; branches; next 1.1; 1.1 date 2011.12.20.16.18.16; author dholland; state Exp; branches; next ; desc @@ 1.2 log @Roll the existing patches into a distfile patch. In the course of doing so: Fix the fix previously in patch-ah (for platforms where char is unsigned by default) to not generate spurious EOF indications. Improve the fixes previously in patch-a[bcdef] to put the game's state file in $HOME/.craft instead of the current directory. Use a consistent method to set $PREFIX instead of a mixture of compiler flags, patching, and SUBST. Use pkg-config to find libX11, and clean up some pkglint. @ text @$NetBSD: patch-masks_hc,v 1.1 2011/12/20 16:18:16 dholland Exp $ - const correctness demanded by recent gcc --- masks.hc~ 2011-12-20 15:13:53.000000000 +0000 +++ masks.hc @@@@ -67,11 +67,11 @@@@ void frame (win *w, int x1, int y1, int w->line (x1, y2, x1, y1); } -bool yes (char question []) +bool yes (const char question []) {return yes ("", question); } -bool yes (char host [], char question []) +bool yes (const char host [], const char question []) {win *w; button *ok; button *no; @@@@ -125,7 +125,7 @@@@ bool yes (char host [], char question [] } -bool yes (win *parent, char host [], char question []) +bool yes (win *parent, const char host [], const char question []) {win *w; button *ok; button *no; @@@@ -179,11 +179,11 @@@@ bool yes (win *parent, char host [], cha } -void ack (char message []) +void ack (const char message []) {ack ("", message); } -void ack (char host [], char message []) +void ack (const char host [], const char message []) {win *w; button *ok; int dx; @@@@ -262,11 +262,11 @@@@ void ack (char host [], char message []) } -void tell (win *&w, char message []) +void tell (win *&w, const char message []) {tell ("", w, message); } -void tell (char host [], win *&w, char message []) +void tell (const char host [], win *&w, const char message []) {open_mask; tell_message; @@@@ -295,7 +295,7 @@@@ void tell (char host [], win *&w, char m } -void tell (char host [], win *parent, win *&w, char message []) +void tell (const char host [], win *parent, win *&w, const char message []) {open_mask; tell_message; @@@@ -365,7 +365,7 @@@@ bool get_line (char s [], } -int select (char menu_string [], char *name) +int select (const char menu_string [], char *name) {menu *m; char *m_string; char m_name [512]; @ 1.1 log @Assorted fixes and cleanup. - if we're going to supply the build makefile, it shouldn't require gmake. - don't install executable html or gif files - add patch comments - const correctness for string constants, as demanded by gcc 4.5 - avoid needing -lcompat - fix a y2038 issue PKGREVISION -> 2 @ text @d1 1 a1 1 $NetBSD$ @