pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39798: libzvt doesnt compile with new glib
>Number: 39798
>Category: pkg
>Synopsis: libzvt doesnnt compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 25 11:35:00 +0000 2008
>Originator: charlie%tigress.com@localhost
>Release: NetBSD 4.99.73
>Organization:
>Environment:
System: NetBSD ramses 4.99.73 NetBSD 4.99.73 (GENERIC) #22: Wed Oct 22 15:53:08
UTC 2008
charlie@ramses:/home/charlie/netbsd-src/src/sys/arch/i386/compile/obj/GENERIC
i386
Architecture: i386
Machine: i386
>Description:
The deprecated macro calls in libzvt.h lead to syntax error when compiling.
>How-To-Repeat:
Try to compile libzvt from pkgsrc
>Fix:
Apply this patch, make makepatchsum, make etc:
$NetBSD$
--- libzvt/libzvt.h.orig 2008-10-25 12:04:28.000000000 +0000
+++ libzvt/libzvt.h
@@ -46,11 +46,11 @@ G_BEGIN_DECLS
/* #define ZVT_NO_TRANSPARENT 1 */
#define ZVT_TYPE_TERM (zvt_term_get_type ())
-#define ZVT_TERM(obj) (GTK_CHECK_CAST ((obj), ZVT_TYPE_TERM,
ZvtTerm))
-#define ZVT_TERM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass),
ZVT_TYPE_TERM, ZvtTermClass))
-#define ZVT_IS_TERM(obj) (GTK_CHECK_TYPE ((obj), ZVT_TYPE_TERM))
-#define ZVT_IS_TERM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass),
ZVT_TYPE_TERM))
-#define ZVT_TERM_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), ZVT_TYPE_TERM,
ZvtTermClass))
+#define ZVT_TERM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
ZVT_TYPE_TERM, ZvtTerm))
+#define ZVT_TERM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
ZVT_TYPE_TERM, ZvtTermClass))
+#define ZVT_IS_TERM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
ZVT_TYPE_TERM))
+#define ZVT_IS_TERM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
ZVT_TYPE_TERM))
+#define ZVT_TERM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
ZVT_TYPE_TERM, ZvtTermClass))
/* Capabilities
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index