svn commit: r362800 - in head/editors/gobby: . files
Sofian Brabez
sbz at FreeBSD.org
Thu Jul 24 14:41:00 UTC 2014
Author: sbz
Date: Thu Jul 24 14:40:59 2014
New Revision: 362800
URL: http://svnweb.freebsd.org/changeset/ports/362800
QAT: https://qat.redports.org/buildarchive/r362800/
Log:
- Fix build with clang
Reported by: pkg-fallout
Added:
head/editors/gobby/files/
head/editors/gobby/files/patch-inc__config.hpp (contents, props changed)
head/editors/gobby/files/patch-inc__preferencesdialog.hpp (contents, props changed)
Modified:
head/editors/gobby/Makefile
Modified: head/editors/gobby/Makefile
==============================================================================
--- head/editors/gobby/Makefile Thu Jul 24 14:38:01 2014 (r362799)
+++ head/editors/gobby/Makefile Thu Jul 24 14:40:59 2014 (r362800)
@@ -2,6 +2,7 @@
PORTNAME= gobby
PORTVERSION= 0.4.13
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://releases.0x539.de/gobby/ \
LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
@@ -19,8 +20,8 @@ LIB_DEPENDS= libobby.so:${PORTSDIR}/deve
OPTIONS_DEFINE= GTKSPELL NLS
GTKSPELL_DESC= Enable GtkSpell support
-USE_GNOME= gnomehack gtksourceview2 intltool
-USES= gmake pkgconfig
+USE_GNOME= gtksourceview2 intltool
+USES= gmake pkgconfig pathfix
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
Added: head/editors/gobby/files/patch-inc__config.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/gobby/files/patch-inc__config.hpp Thu Jul 24 14:40:59 2014 (r362800)
@@ -0,0 +1,38 @@
+--- ./inc/config.hpp.orig 2012-01-30 01:27:51.000000000 +0100
++++ ./inc/config.hpp 2014-07-24 13:11:27.000000000 +0200
+@@ -31,6 +31,19 @@
+ #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;
++};
++}
++
+ namespace Gobby
+ {
+
+@@ -460,15 +473,6 @@
+ };
+
+ 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>
+ {
Added: head/editors/gobby/files/patch-inc__preferencesdialog.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/gobby/files/patch-inc__preferencesdialog.hpp Thu Jul 24 14:40:59 2014 (r362800)
@@ -0,0 +1,11 @@
+--- ./inc/preferencesdialog.hpp.orig 2012-01-30 01:27:51.000000000 +0100
++++ ./inc/preferencesdialog.hpp 2014-07-24 13:12:17.000000000 +0200
+@@ -198,7 +198,7 @@
+ protected:
+ struct LangCompare
+ {
+- bool operator()(GtkSourceLanguage* first, GtkSourceLanguage* second)
++ bool operator()(const GtkSourceLanguage* first, const GtkSourceLanguage* second) const
+ {
+ return first < second;
+ }
More information about the svn-ports-all
mailing list