Date: Tue, 14 Jan 2014 19:50:58 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339710 - in head/net/sobby: . files Message-ID: <201401141950.s0EJowuh025219@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Tue Jan 14 19:50:57 2014 New Revision: 339710 URL: http://svnweb.freebsd.org/changeset/ports/339710 QAT: https://qat.redports.org/buildarchive/r339710/ Log: - Fix build with clang - Stage support PR: ports/185691 Submitted by: KATO Tsuguru Added: head/net/sobby/files/ head/net/sobby/files/patch-inc__config.hpp (contents, props changed) Modified: head/net/sobby/Makefile Modified: head/net/sobby/Makefile ============================================================================== --- head/net/sobby/Makefile Tue Jan 14 19:00:09 2014 (r339709) +++ head/net/sobby/Makefile Tue Jan 14 19:50:57 2014 (r339710) @@ -7,30 +7,23 @@ CATEGORIES= net MASTER_SITES= http://releases.0x539.de/sobby/ MAINTAINER= ports@FreeBSD.org -COMMENT= A standalone obby server +COMMENT= Standalone obby server LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \ - obby-0.4.1:${PORTSDIR}/devel/obby \ - net6-1.3.0:${PORTSDIR}/net/net6 \ - xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \ - glibmm-2.4.1:${PORTSDIR}/devel/glibmm +LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ + libobby-0.4.so:${PORTSDIR}/devel/obby \ + libnet6-1.3.so:${PORTSDIR}/net/net6 \ + libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 USES= pkgconfig +USE_GNOME= glibmm GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-zeroconf -MAN1= ${PORTNAME}.1 -PLIST_FILES= bin/${PORTNAME} - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz .include <bsd.port.mk> Added: head/net/sobby/files/patch-inc__config.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sobby/files/patch-inc__config.hpp Tue Jan 14 19:50:57 2014 (r339710) @@ -0,0 +1,62 @@ +--- inc/config.hpp.orig ++++ inc/config.hpp +@@ -30,6 +30,30 @@ + #include <libxml++/nodes/element.h> + #include <libxml++/nodes/textnode.h> + ++namespace serialise ++{ ++ ++template<> ++class default_context_to<Glib::ustring>: public context_base_to<Glib::ustring> ++{ ++public: ++ typedef Glib::ustring data_type; ++ ++ virtual std::string to_string(const data_type& from) const; ++}; ++ ++template<> ++class default_context_from<Glib::ustring>: ++ public context_base_from<Glib::ustring> ++{ ++public: ++ typedef Glib::ustring data_type; ++ ++ virtual data_type from_string(const std::string& from) const; ++}; ++ ++} // namespace serialise ++ + namespace Sobby + { + +@@ -434,28 +458,4 @@ + + } // namespace Sobby + +-namespace serialise +-{ +- +-template<> +-class default_context_to<Glib::ustring>: public context_base_to<Glib::ustring> +-{ +-public: +- typedef Glib::ustring data_type; +- +- virtual std::string to_string(const data_type& from) const; +-}; +- +-template<> +-class default_context_from<Glib::ustring>: +- public context_base_from<Glib::ustring> +-{ +-public: +- typedef Glib::ustring data_type; +- +- virtual data_type from_string(const std::string& from) const; +-}; +- +-} // namespace serialise +- + #endif // _SOBBY_CONFIG_HPP_
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401141950.s0EJowuh025219>