From 46139ef306b4c3d10f07e9d41d16d02f845155eb Mon Sep 17 00:00:00 2001
From: Antoine Brodin <antoine@FreeBSD.org>
Date: Sun, 2 Jun 2013 19:11:07 +0000
Subject: - Trim Makefile header - Unbreak with clang

---
 x11/xprompt/Makefile              |  8 ++------
 x11/xprompt/files/patch-xprompt.c | 11 +++++++++++
 2 files changed, 13 insertions(+), 6 deletions(-)
 create mode 100644 x11/xprompt/files/patch-xprompt.c

(limited to 'x11')

diff --git a/x11/xprompt/Makefile b/x11/xprompt/Makefile
index 3eaefe217bce..ded1c4239601 100644
--- a/x11/xprompt/Makefile
+++ b/x11/xprompt/Makefile
@@ -1,15 +1,11 @@
-# New ports collection makefile for:   xprompt
-# Date created:        23 March 1997
-# Whom:                Matthew Hunt <mph@pobox.com>
-#
+# Created by: Matthew Hunt <mph@pobox.com>
 # $FreeBSD$
-#
 
 PORTNAME=	xprompt
 PORTVERSION=	1.4
 PORTREVISION=	2
 CATEGORIES=	x11
-MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITES=	LOCAL
 MASTER_SITE_SUBDIR=	mph
 
 MAINTAINER=	ports@FreeBSD.org
diff --git a/x11/xprompt/files/patch-xprompt.c b/x11/xprompt/files/patch-xprompt.c
new file mode 100644
index 000000000000..46494194d053
--- /dev/null
+++ b/x11/xprompt/files/patch-xprompt.c
@@ -0,0 +1,11 @@
+--- ./xprompt.c.orig	1995-08-07 18:25:13.000000000 +0000
++++ ./xprompt.c	2013-06-02 08:18:31.000000000 +0000
+@@ -387,7 +387,7 @@
+ void unparsegeometry();
+ 
+ main(argc, argv)
+-unsigned int argc;
++int argc;
+ char **argv;
+ {
+     register int i, j;
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0