Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 14:32:00 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311847 - in head/misc/xd: . files
Message-ID:  <201302071432.r17EW0Wh083072@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@kiri.toba-cmt.ac.jp>
-#
+# Created by: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
 # $FreeBSD$
-#
 
 PORTNAME=	xd
 PORTVERSION=	2.3
@@ -14,6 +10,8 @@ DISTNAME=	xd-8087
 MAINTAINER=	ports@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071432.r17EW0Wh083072>