ports/66212: comms/efax-gtk fails to build on RELENG_4
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Mon May 3 17:10:30 UTC 2004
>Number: 66212
>Category: ports
>Synopsis: comms/efax-gtk fails to build on RELENG_4
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 03 10:10:16 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: jbq
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD anyware12.anyware 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Mar 26 17:43:44 CET 2004 jbq at anyware12.anyware:/usr/obj/usr/src/sys/ANYWARE12 i386
>Description:
Kris Kennaway reported that this ports fails to build on RELENG_4 with the following error:
prog_defs.h:86: syntax error before `('
>How-To-Repeat:
On FreeBSD 4.10, try to build comms/efax-gtk. Thanks to Clement Laforet who
suggests to « fetch latest LiveFS snapshot on snapshots.jp.freebsd.org ».
>Fix:
Apply the following patch (removes files/patch-config and adds two new patches):
---------------------------------------8<-------------------------------
diff -ruN /usr/ports/comms/efax-gtk/files/patch-config ./files/patch-config
--- /usr/ports/comms/efax-gtk/files/patch-config Sat Apr 17 00:54:19 2004
+++ ./files/patch-config Thu Jan 1 01:00:00 1970
@@ -1,11 +0,0 @@
---- src/config.h.in.orig Sun Feb 29 15:30:29 2004
-+++ src/config.h.in Sun Feb 29 15:30:35 2004
-@@ -80,8 +80,5 @@
- /* Define to `unsigned' if <sys/types.h> does not define. */
- #undef size_t
-
--/* Define to `unsigned int' if <sys/types.h> does not define. */
--#undef socklen_t
--
- /* Define to `signed int' if <sys/types.h> does not define. */
- #undef ssize_t
diff -ruN /usr/ports/comms/efax-gtk/files/patch-src::config.h.in ./files/patch-src::config.h.in
--- /usr/ports/comms/efax-gtk/files/patch-src::config.h.in Thu Jan 1 01:00:00 1970
+++ ./files/patch-src::config.h.in Mon May 3 11:51:13 2004
@@ -0,0 +1,12 @@
+--- src/config.h.in.orig Thu Feb 5 21:37:17 2004
++++ src/config.h.in Mon May 3 11:09:39 2004
+@@ -79,9 +79,3 @@
+
+ /* Define to `unsigned' if <sys/types.h> does not define. */
+ #undef size_t
+-
+-/* Define to `unsigned int' if <sys/types.h> does not define. */
+-#undef socklen_t
+-
+-/* Define to `signed int' if <sys/types.h> does not define. */
+-#undef ssize_t
diff -ruN /usr/ports/comms/efax-gtk/files/patch-src::prog_defs.h ./files/patch-src::prog_defs.h
--- /usr/ports/comms/efax-gtk/files/patch-src::prog_defs.h Thu Jan 1 01:00:00 1970
+++ ./files/patch-src::prog_defs.h Mon May 3 19:00:05 2004
@@ -0,0 +1,11 @@
+--- src/prog_defs.h.orig Mon May 3 16:44:33 2004
++++ src/prog_defs.h Mon May 3 16:44:46 2004
+@@ -9,6 +9,8 @@
+ #ifndef PROG_DEFS_H
+ #define PROG_DEFS_H
+
++#include <unistd.h>
++
+ #include "config.h"
+
+ // deal with any configuration issues arising from config.h
---------------------------------------8<-------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list