diff options
author | bland <bland@FreeBSD.org> | 2004-10-16 23:47:02 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2004-10-16 23:47:02 +0800 |
commit | 44e4d98816230e03d58acbef160567a0740b81b1 (patch) | |
tree | b881079ad46a84761c527c14a3efb643c9a6cc9b /x11-toolkits | |
parent | 20e732b8ab7204f987e92737dd3d91a1d34d5cc5 (diff) | |
download | freebsd-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--/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk--/files/patch-src::gtkmmproc::stage1.m4 | 2 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 | 2 |
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) |