svn commit: r311847 - in head/misc/xd: . files

Martin Wilke miwi at FreeBSD.org
Thu Feb 7 14:32:01 UTC 2013


Author: miwi
Date: Thu Feb  7 14:32:00 2013
New Revision: 311847
URL: http://svnweb.freebsd.org/changeset/ports/311847

Log:
  - Fix build with clang
  
  PR:		175044
  Submitted by:	ports fury

Added:
  head/misc/xd/files/
  head/misc/xd/files/patch-xd.c   (contents, props changed)
Modified:
  head/misc/xd/Makefile   (contents, props changed)

Modified: head/misc/xd/Makefile
==============================================================================
--- head/misc/xd/Makefile	Thu Feb  7 14:30:48 2013	(r311846)
+++ head/misc/xd/Makefile	Thu Feb  7 14:32:00 2013	(r311847)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	xd
-# Date created:		17 October 1997
-# Whom:			KIRIYAMA Kazuhiko <kiri at kiri.toba-cmt.ac.jp>
-#
+# Created by: KIRIYAMA Kazuhiko <kiri at kiri.toba-cmt.ac.jp>
 # $FreeBSD$
-#
 
 PORTNAME=	xd
 PORTVERSION=	2.3
@@ -14,6 +10,8 @@ DISTNAME=	xd-8087
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Yet another dump utility
 
+LICENSE=	BSD
+
 MAKE_ARGS=	CC="${CC}" BINDIR="${PREFIX}/bin" \
 		MANDIR="${MAN1PREFIX}/man/man"
 

Added: head/misc/xd/files/patch-xd.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/xd/files/patch-xd.c	Thu Feb  7 14:32:00 2013	(r311847)
@@ -0,0 +1,11 @@
+--- xd.c.orig	1996-08-27 02:23:22.000000000 +0900
++++ xd.c	2012-10-24 05:56:31.000000000 +0900
+@@ -392,7 +392,7 @@
+  *
+  */
+ #define ISFILE(str) (*(str) != '-' || *((str) + 1) == '\0')
+-void
++int
+ main(int argc, char *argv[])
+ {
+ 	int i, nf = 0, show_usage = FALSE, result;


More information about the svn-ports-head mailing list