ports/183116: [PATCH] sysutils/dtpstree: fix build with clang, use USES=gmake, support STAGEDIR
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Oct 20 07:00:01 UTC 2013
>Number: 183116
>Category: ports
>Synopsis: [PATCH] sysutils/dtpstree: fix build with clang, use USES=gmake, support STAGEDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 20 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 10.0-BETA1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST
>Description:
- Fix build with clang
- Use USES=gmake
- Support STAGEDIR
Port maintainer (douglas at douglasthrift.net) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- dtpstree-1.0.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 330983)
+++ Makefile (working copy)
@@ -13,11 +13,12 @@
LICENSE= AL2
USE_XZ= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
+USES= gmake
+
MAN1= dtpstree.1
-PLIST_FILES= bin/dtpstree
+PLIST_FILES= bin/dtpstree \
+ man/man1/dtpstree.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
Index: files/patch-dtpstree.cpp
===================================================================
--- files/patch-dtpstree.cpp (revision 0)
+++ files/patch-dtpstree.cpp (working copy)
@@ -0,0 +1,10 @@
+--- dtpstree.cpp.orig 2010-08-05 16:01:47.000000000 +0800
++++ dtpstree.cpp 2013-10-19 19:48:34.750149337 +0800
+@@ -21,6 +21,7 @@
+
+ #include <cerrno>
+ #include <climits>
++#include <clocale>
+ #include <cstdarg>
+ #include <cstdio>
+ #include <cstdlib>
--- dtpstree-1.0.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list