aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-10-16 23:47:02 +0800
committerbland <bland@FreeBSD.org>2004-10-16 23:47:02 +0800
commit44e4d98816230e03d58acbef160567a0740b81b1 (patch)
treeb881079ad46a84761c527c14a3efb643c9a6cc9b /x11-toolkits
parent20e732b8ab7204f987e92737dd3d91a1d34d5cc5 (diff)
downloadfreebsd-ports-gnome-44e4d98816230e03d58acbef160567a0740b81b1.tar.gz
freebsd-ports-gnome-44e4d98816230e03d58acbef160567a0740b81b1.tar.zst
freebsd-ports-gnome-44e4d98816230e03d58acbef160567a0740b81b1.zip
Always add explicit namespace in generated Wrap<> traits specialization.
This is required when gtkmmproc used for gnome-- code generation. The last one defines classes in its own namespace. Reported by: pointyhat via kris
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk--/Makefile2
-rw-r--r--x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m42
-rw-r--r--x11-toolkits/gtkmm12/Makefile2
-rw-r--r--x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m42
4 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/gtk--/Makefile b/x11-toolkits/gtk--/Makefile
index b279afe27357..8d6e34506d30 100644
--- a/x11-toolkits/gtk--/Makefile
+++ b/x11-toolkits/gtk--/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtkmm
PORTVERSION= 1.2.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gtkmm/1.2
diff --git a/x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m4 b/x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m4
index 0000d4380d5f..a735e9378d47 100644
--- a/x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m4
+++ b/x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m4
@@ -5,7 +5,7 @@
class __CPPNAME__`'_Class;
}
-namespace Gtk { __NAMESPACE__::__CPPNAME__ *wrap (__CNAME__ *o); }
-+namespace Gtk { template<> struct Wrap<__CNAME__> { typedef __CPPNAME__ CppType; }; }
++namespace Gtk { template<> struct Wrap<__CNAME__> { typedef __NAMESPACE__::__CPPNAME__ CppType; }; }
dnl
dnl
GTKMM_SECTION(PRIVATE)
diff --git a/x11-toolkits/gtkmm12/Makefile b/x11-toolkits/gtkmm12/Makefile
index b279afe27357..8d6e34506d30 100644
--- a/x11-toolkits/gtkmm12/Makefile
+++ b/x11-toolkits/gtkmm12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtkmm
PORTVERSION= 1.2.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gtkmm/1.2
diff --git a/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 b/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4
index 0000d4380d5f..a735e9378d47 100644
--- a/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4
+++ b/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4
@@ -5,7 +5,7 @@
class __CPPNAME__`'_Class;
}
-namespace Gtk { __NAMESPACE__::__CPPNAME__ *wrap (__CNAME__ *o); }
-+namespace Gtk { template<> struct Wrap<__CNAME__> { typedef __CPPNAME__ CppType; }; }
++namespace Gtk { template<> struct Wrap<__CNAME__> { typedef __NAMESPACE__::__CPPNAME__ CppType; }; }
dnl
dnl
GTKMM_SECTION(PRIVATE)