Date: Thu, 13 Jun 2013 22:27:01 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320845 - in head/sysutils/xdu: . files Message-ID: <201306132227.r5DMR1UH038977@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Thu Jun 13 22:27:01 2013 New Revision: 320845 URL: http://svnweb.freebsd.org/changeset/ports/320845 Log: - Fix build with clang - Trim Makefile headers Added: head/sysutils/xdu/files/patch-xwin.c (contents, props changed) Modified: head/sysutils/xdu/Makefile (contents, props changed) Modified: head/sysutils/xdu/Makefile ============================================================================== --- head/sysutils/xdu/Makefile Thu Jun 13 22:10:35 2013 (r320844) +++ head/sysutils/xdu/Makefile Thu Jun 13 22:27:01 2013 (r320845) @@ -1,9 +1,5 @@ -# New ports collection makefile for: xdu -# Date created: 9 February 1995 -# Whom: asami -# +# Created by: asami # $FreeBSD$ -# PORTNAME= xdu PORTVERSION= 3.0 Added: head/sysutils/xdu/files/patch-xwin.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/xdu/files/patch-xwin.c Thu Jun 13 22:27:01 2013 (r320845) @@ -0,0 +1,18 @@ +--- xwin.c.orig 1994-06-05 21:29:24.000000000 +0200 ++++ xwin.c 2013-06-13 23:51:03.882547665 +0200 +@@ -400,12 +400,14 @@ + &ascent, &descent, &overall); + cheight = overall.ascent + overall.descent; + if (height < (cheight + 2)) +- return; ++ return 0; + + /* print label */ + textx = x + 4; + texty = y + height/2.0 + (overall.ascent - overall.descent)/2.0 + 1.5; + XDrawString(dpy, win, gc, textx, texty, name, strlen(name)); ++ ++ return 0; + } + + static Widget popup;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306132227.r5DMR1UH038977>