mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Fix build with clang
Reported by: pkg-fallout
This commit is contained in:
parent
d2c30c50cc
commit
10bba6a815
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362800
@ -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}/devel/obby \
|
||||
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
|
||||
|
||||
|
38
editors/gobby/files/patch-inc__config.hpp
Normal file
38
editors/gobby/files/patch-inc__config.hpp
Normal file
@ -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>
|
||||
{
|
11
editors/gobby/files/patch-inc__preferencesdialog.hpp
Normal file
11
editors/gobby/files/patch-inc__preferencesdialog.hpp
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user