pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wanderer: improve PKGNAME and fix some compilation warnings.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Feb 19 16:49:17 2016 +0100
Changeset:	d846b4a64d904a3d98e4b7f503b883928fe235ec

Modified Files:
	wanderer/Makefile
	wanderer/distinfo
Added Files:
	wanderer/patches/patch-wand__head.h

Log Message:
wanderer: improve PKGNAME and fix some compilation warnings.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d846b4a64d904a3d98e4b7f503b883928fe235ec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 wanderer/Makefile                   |  2 +-
 wanderer/distinfo                   |  1 +
 wanderer/patches/patch-wand__head.h | 14 ++++++++++++++
 3 files changed, 16 insertions(+), 1 deletion(-)

diffs:
diff --git a/wanderer/Makefile b/wanderer/Makefile
index 521ed02..e2d4ec2 100644
--- a/wanderer/Makefile
+++ b/wanderer/Makefile
@@ -2,7 +2,7 @@
 
 DISTNAME=	wanderer_dev-3.2.1
 PKGREVISION=    1
-PKGNAME=	wanderer_dev-3.2.1
+PKGNAME=	${DISTNAME:S/_dev//}
 DIST_SUBDIR=	${PKGVERSION_NOREV}
 CATEGORIES=	games
 MASTER_SITES=	http://e271.net/~marina/
diff --git a/wanderer/distinfo b/wanderer/distinfo
index 261fbbb..2bc9578 100644
--- a/wanderer/distinfo
+++ b/wanderer/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 SHA1 (3.2.1/wanderer_dev-3.2.1.tgz) = 5532fc9a8319159944f5168d0ebda8a5f36a9897
 RMD160 (3.2.1/wanderer_dev-3.2.1.tgz) = df17a2a13662d1b27380d2b2731727789a3b9b98
 Size (3.2.1/wanderer_dev-3.2.1.tgz) = 165019 bytes
+SHA1 (patch-wand__head.h) = ff9cb5c4d9c5591e15df5341ff94f29d0b6a28b2
diff --git a/wanderer/patches/patch-wand__head.h b/wanderer/patches/patch-wand__head.h
new file mode 100644
index 0000000..46f0fa6
--- /dev/null
+++ b/wanderer/patches/patch-wand__head.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Include header for exit(3).
+
+--- wand_head.h.orig	2016-01-12 23:04:53.000000000 +0000
++++ wand_head.h
+@@ -21,6 +21,7 @@
+ 
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <ncurses.h>
+ #include <string.h>
+ #include <fcntl.h>


Home | Main Index | Thread Index | Old Index