ports/103790: irc/epic5: Fix build with WITH_PERL is defined.

Shaun Amott shaun at FreeBSD.org
Thu Sep 28 23:40:25 UTC 2006


>Number:         103790
>Category:       ports
>Synopsis:       irc/epic5: Fix build with WITH_PERL is defined.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 23:40:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:

>Description:

irc/epic5 fails to build when the WITH_PERL option is selected.

>How-To-Repeat:

>Fix:

--- epic5.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/irc/epic5/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- Makefile	28 Sep 2006 05:28:10 -0000	1.58
+++ Makefile	28 Sep 2006 23:28:52 -0000
@@ -11,6 +11,7 @@
 CATEGORIES=	irc ipv6
 MASTER_SITES=	ftp://ftp.epicsol.org/pub/epic/EPIC5-BETA/ \
 		http://www.tcbug.org/
+
 MAINTAINER=	josh at tcbug.org
 COMMENT=	The (E)nhanced (P)rogrammable (I)RC-II (C)lient
 
Index: files/patch-include_compat.h
===================================================================
RCS file: files/patch-include_compat.h
diff -N files/patch-include_compat.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-include_compat.h	28 Sep 2006 23:28:52 -0000
@@ -0,0 +1,12 @@
+--- include/compat.h.orig	Thu Oct 13 02:49:44 2005
++++ include/compat.h	Fri Sep 29 00:22:25 2006
+@@ -62,6 +62,9 @@
+ 
+ #define HN_GETSCALE             0x10
+ #define HN_AUTOSCALE            0x20
++
++#ifndef __FreeBSD__
+ int	humanize_number (char *, size_t, long, const char *, int, int);
++#endif
+ 
+ #endif
--- epic5.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list