ports/143747: [PATCH] ports-mgmt/portdowngrade Fix build with new GCC
Rob Farmer
rfarmer at predatorlabs.net
Thu Feb 11 01:41:39 UTC 2010
>Number: 143747
>Category: ports
>Synopsis: [PATCH] ports-mgmt/portdowngrade Fix build with new GCC
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 11 01:41:30 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203695: Tue Feb 9 03:02:13 PST 2010 rfarmer at coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64
>Description:
Add some missing includes to please newer versions of GCC
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: files/patch-portdowngrade.cpp
===================================================================
RCS file: files/patch-portdowngrade.cpp
diff -N files/patch-portdowngrade.cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-portdowngrade.cpp 10 Feb 2010 07:04:30 -0000
@@ -0,0 +1,11 @@
+--- portdowngrade/portdowngrade.cpp.orig 2004-12-28 00:34:52.000000000 -0800
++++ portdowngrade/portdowngrade.cpp 2010-02-09 23:04:21.480393138 -0800
+@@ -28,6 +28,8 @@
+ #include <dirent.h>
+ #include <termios.h>
+ #include <fcntl.h>
++#include <string.h>
++#include <limits.h>
+ #ifndef TIOCGWINSIZE
+ #include <sys/ioctl.h>
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list