Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
From:      Erik Greenwald <erik@smluc.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/43482: net/gnomeicu2 has a header ordering problem in src/gnomeicu-client.c
Message-ID:  <200209292005.g8TK5Nkj004983@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         43482
>Category:       ports
>Synopsis:       net/gnomeicu2 has a header ordering problem in src/gnomeicu-client.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 13:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        -current
>Organization:
>Environment:
FreeBSD fenris 5.0-CURRENT FreeBSD 5.0-CURRENT #23: Fri Sep 27 20:51:18 CDT 2002
     root@fenris:/usr/src/sys/i386/compile/FENRIS  i386
>Description:
      src/gnomeicu-client.c includes sys/socket.h before sys/types.h, causes breakage during compile. Included is a patch to create files/patch-src::gnomeicu-client.c, which merely moves sys/types above sys/socket.h
>How-To-Repeat:
      cd ...ports/net/gnomeicu2 ; make clean build
>Fix:
      --- gnomeicu2.orig/files/patch-src::gnomeicu-client.c   Wed Dec 31 18:00:00 1969

+++ gnomeicu2/files/patch-src::gnomeicu-client.c        Sun Sep 29 15:00:52 2002

@@ -0,0 +1,13 @@
+--- src/gnomeicu-client.c.orig Sun Sep 29 14:59:15 2002
++++ src/gnomeicu-client.c      Sun Sep 29 14:59:25 2002
+@@ -17,9 +17,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+-#include <sys/types.h>
+ #include <sys/un.h>
+ #include <unistd.h>
+
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209292005.g8TK5Nkj004983>