From nobody@FreeBSD.org  Sun Sep 29 13:05:23 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9857D37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5900E43E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TK5N7R004984
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g8TK5Nkj004983;
	Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
Message-Id: <200209292005.g8TK5Nkj004983@www.freebsd.org>
Date: Sun, 29 Sep 2002 13:05:23 -0700 (PDT)
From: Erik Greenwald <erik@smluc.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/gnomeicu2 has a header ordering problem in src/gnomeicu-client.c
X-Send-Pr-Version: www-1.0

>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:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 13:10:02 PDT 2002
>Closed-Date:    Sat Oct 12 12:29:41 PDT 2002
>Last-Modified:  Sat Oct 12 12:29:41 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Fri Oct 11 19:12:00 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43482 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sat Oct 12 12:29:26 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43482 
>Unformatted:
