ports/75169: [MAINTAINER] net/kf: fix build on the 4-stable

Andrey Slusar anray at inet.ua
Thu Dec 16 22:30:32 UTC 2004


>Number:         75169
>Category:       ports
>Synopsis:       [MAINTAINER] net/kf: fix build on the 4-stable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 16 22:30:32 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 30 13:06:39 EET 2004 anray at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	New file:
	files/patch-src-emoticons.c

	Fix build on the FreeBSD < 5
>How-To-Repeat:
	
>Fix:

--- kf.diff begins here ---
diff -ruN /usr/ports/net/kf/files/patch-src-emoticons.c kf/files/patch-src-emoticons.c
--- /usr/ports/net/kf/files/patch-src-emoticons.c	Thu Jan  1 03:00:00 1970
+++ kf/files/patch-src-emoticons.c	Thu Dec 16 22:53:36 2004
@@ -0,0 +1,13 @@
+--- src/emoticons.c.orig	Thu Dec 16 22:50:31 2004
++++ src/emoticons.c	Thu Dec 16 22:51:27 2004
+@@ -347,9 +347,9 @@
+ 	gchar *caption;	/* Should be enough... */
+ 
+ 	if (kf_preferences_get_int ("chatShowStamps")) {
++		gchar *sstamp;
+ 		struct tm *stime;
+ 		stime = localtime ((time_t *) &stamp);
+-		gchar *sstamp;
+ 
+ 		gtk_text_buffer_get_end_iter (buffer, &iter);
+ 		if (stamp < time (NULL) - 3600 * 24) {
--- kf.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list