Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 02:51:34 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/184901: www/bookmarkbridge: Fix build with clang
Message-ID:  <20131217025134.8c5e07f32fa0f69e4c37cd83@yahoo.com>
Resent-Message-ID: <201312161810.rBGIATlB016654@freefall.freebsd.org>

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

>Number:         184901
>Category:       ports
>Synopsis:       www/bookmarkbridge: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 16 18:10:28 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add DESKTOP_ENTRIES
- Support shebangfix

New file:
files/patch-bookmarkbridge__bridgecfg.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/bookmarkbridge/Makefile www/bookmarkbridge/Makefile
--- /usr/ports/www/bookmarkbridge/Makefile	2013-11-06 21:58:17.000000000 +0900
+++ www/bookmarkbridge/Makefile	2013-12-17 00:00:00.000000000 +0900
@@ -3,24 +3,22 @@
 
 PORTNAME=	bookmarkbridge
 PORTVERSION=	0.76
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Synchronize bookmarks between multiple browsers
 
-LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2
-
-USE_PERL5=	build
+USES=		gmake perl5 pkgconfig shebangfix
+SHEBANG_FILES=	bookmarkbridge/docs/autodocs.pl
+USE_PERL5=	yes
 USE_XORG=	x11 ice xext
-USE_QT4=	corelib gui moc_build rcc_build uic_build qt3support
+USE_QT4=	corelib gui qt3support moc_build rcc_build uic_build
 USE_GNOME=	libxml2
-USE_GMAKE=	yes
-USES=		pkgconfig perl5
 USE_AUTOTOOLS=	aclocal automake autoconf
-ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
 AUTOMAKE_ARGS=	--add-missing
 
-NO_STAGE=	yes
+DESKTOP_ENTRIES="BookmarkBridge" "" "" "${PORTNAME}" "Qt;Network;" ""
+
 .include <bsd.port.mk>
diff -urN /usr/ports/www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h
--- /usr/ports/www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h	1970-01-01 09:00:00.000000000 +0900
+++ www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h	2013-12-17 00:00:00.000000000 +0900
@@ -0,0 +1,10 @@
+--- bookmarkbridge/bridgecfg.h.orig	2013-12-06 03:29:29.000000000 +0900
++++ bookmarkbridge/bridgecfg.h	2013-12-06 03:29:46.000000000 +0900
+@@ -31,6 +31,7 @@
+ #include "bknode.h"
+ #include "bkexcept.h"
+ 
++#include <cstdlib>
+ #include <vector>
+ #include <qstring.h>
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



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