From 6e319d92bba476a5d758cbfa6a72bfde4ed2e44b Mon Sep 17 00:00:00 2001 From: antoine 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 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 -# +# Created by: Matthew Hunt # $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