From 156437a31d45c1fda42b65656267720983ac8c26 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 21 May 2014 08:25:54 -0400 Subject: [PATCH] Port patch from BSD maintainer. --- Makefile | 4 ++-- bluemoon.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1ee8e9d..daeb7a6 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ bluemoon-$(VERS).tar.gz: $(SOURCES) bluemoon.6 @(cd ..; rm bluemoon-$(VERS)) clean: - rm -f bluemoon *.tar.gz *.6 *.html *~ SHIPPER.* + rm -f bluemoon *.tar.gz *.6 *.html *~ install: bluemoon.6 uninstall cp bluemoon /usr/bin @@ -33,4 +33,4 @@ uninstall: dist: bluemoon-$(VERS).tar.gz release: bluemoon-$(VERS).tar.gz bluemoon.html - shipper -u -m -t; make clean + shipper version=$(VERS) | sh -e -x diff --git a/bluemoon.c b/bluemoon.c index 03d8a8b..d4c1141 100644 --- a/bluemoon.c +++ b/bluemoon.c @@ -376,7 +376,7 @@ static void game_finished(int deal) refresh(); } -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { (void) signal(SIGINT, die); initscr(); -- 2.43.0