ports/57311: [patch] devel/distcc: Fix build on -STABLE
Clement Laforet
sheepkiller at cultdeadsheep.org
Sun Sep 28 11:50:22 UTC 2003
>Number: 57311
>Category: ports
>Synopsis: [patch] devel/distcc: Fix build on -STABLE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 28 04:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
#include <stdint.h> doesn't exist on -STABLE.
file added:
- files/patch-src::state.h
Reported by: Adriaan de Groot <adridg at cs.kun.nl>
>How-To-Repeat:
Build distcc on -STABLE.
>Fix:
--- distcc.diff begins here ---
Index: distcc/files/patch-src::state.h
===================================================================
RCS file: distcc/files/patch-src::state.h
diff -N distcc/files/patch-src::state.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ distcc/files/patch-src::state.h 28 Sep 2003 11:39:23 -0000
@@ -0,0 +1,13 @@
+--- src/state.h.orig Sun Sep 28 13:32:26 2003
++++ src/state.h Sun Sep 28 13:36:42 2003
+@@ -19,8 +19,9 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+-
++#if __FreeBSD_version >= 500035
+ #include <stdint.h>
++#endif
+
+ int dcc_get_state_dir (char **p);
+ int dcc_open_state_file (int *p_fd);
--- distcc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list