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-menu_hc,v 1.1 2011/12/20 16:18:16 dholland Exp $ - const correctness demanded by recent gcc --- menu.hc~ 2011-12-20 15:13:53.000000000 +0000 +++ menu.hc @@@@ -27,10 +27,10 @@@@ menu::menu () { } -menu::menu (char w_name [], +menu::menu (const char w_name [], int w_x, int w_y, - char w_cmds [], + const char w_cmds [], int w_mode, int menu_group) @@@@ -363,7 +363,7 @@@@ void menu::release (int no) is_pressed [no] = false; } -bool menu::get_cmd (char cmds [], int &p, char cmd []) +bool menu::get_cmd (const char cmds [], int &p, char cmd []) {if (eof) return false; else read_cmd; @ 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$ @