Bug 186649 - [PATCH] net-im/licq: net-im/licq-icq fails to build
Summary: [PATCH] net-im/licq: net-im/licq-icq fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 13:30 UTC by Vsevolod Volkov
Modified: 2014-02-13 20:50 UTC (History)
0 users

See Also:


Attachments
file.txt (197 bytes, text/plain)
2014-02-11 13:30 UTC, Vsevolod Volkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Volkov 2014-02-11 13:30:00 UTC
Can't build net-im/licq-icq with clang due to missing include <time.h> in /usr/local/include/licq/icq/filetransfer.h.
Related pr: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185067

Fix: Put the attached patch to /usr/ports/net-im/licq/files.
Rebuild net-im/licq.
Then build net-im/licq-icq.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/net-im/licq-icq && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-11 13:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2014-02-13 20:36:55 UTC
State Changed
From-To: open->closed

committed, thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-13 20:43:02 UTC
Author: dinoex
Date: Thu Feb 13 20:42:54 2014
New Revision: 344141
URL: http://svnweb.freebsd.org/changeset/ports/344141
QAT: https://qat.redports.org/buildarchive/r344141/

Log:
  - fix build with clang
  PR:		186649
  Submitted by:	Vsevolod Volkov

Added:
  head/net-im/licq-icq/files/
  head/net-im/licq-icq/files/patch-filetransfer.h   (contents, props changed)

Added: head/net-im/licq-icq/files/patch-filetransfer.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/licq-icq/files/patch-filetransfer.h	Thu Feb 13 20:42:54 2014	(r344141)
@@ -0,0 +1,10 @@
+--- ../../include/licq/icq/filetransfer.h.orig	2013-08-25 11:45:17.000000000 +0200
++++ ../../include/licq/icq/filetransfer.h	2014-02-13 21:38:18.000000000 +0100
+@@ -76,6 +76,7 @@
+ #include <cstring>
+ #include <list>
+ #include <string>
++#include <time.h>
+ 
+ #include <licq/userid.h>
+ 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"