Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 19:51:25 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143065: [PATCH] net-im/libpurple Fix build without utmp.h
Message-ID:  <201001211951.o0LJpPtJ003537@www.freebsd.org>
Resent-Message-ID: <201001212000.o0LK0BEh052280@freefall.freebsd.org>

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

>Number:         143065
>Category:       ports
>Synopsis:       [PATCH] net-im/libpurple Fix build without utmp.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 21 20:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD pentium4.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r202659: Tue Jan 19 16:02:39 PST 2010     rfarmer@pentium4.predatorlabs.net:/obj/usr/src/sys/PENTIUM4  i386
>Description:
Remove utmp.h include as it doesn't seem to be used by anything
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN libpurple.old/files/patch-libpurple-protocols-zephyr-Zinternal.c libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c
--- libpurple.old/files/patch-libpurple-protocols-zephyr-Zinternal.c	1969-12-31 16:00:00.000000000 -0800
+++ libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c	2010-01-21 11:33:26.000000000 -0800
@@ -0,0 +1,10 @@
+--- libpurple/protocols/zephyr/Zinternal.c.orig	2010-01-21 11:30:42.000000000 -0800
++++ libpurple/protocols/zephyr/Zinternal.c	2010-01-21 11:30:50.000000000 -0800
+@@ -30,7 +30,6 @@
+ #else
+ #include <arpa/inet.h>
+ #include <sys/socket.h>
+-#include <utmp.h>
+ #endif
+ 
+ int __Zephyr_fd = -1;


>Release-Note:
>Audit-Trail:
>Unformatted:



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