Subject: Re: Is there a pr for gtk2 not building in current?
To: None <tech-pkg@NetBSD.org>
From: Christoph Lohmann <20h@r-36.net>
List: tech-pkg
Date: 06/27/2004 18:56:25
hi.

The problem there seems to be, that gdk-pixbuf-csource receives a duplicated
argv[]-list, and so does process the pictures twice, into gtkstockpixbufs.h.

Here's a patch, for gdk-pixbuf-csource, after which gtk2 build successfull on
my Laptop:

--- gdk-pixbuf-csource.patch

--- /usr/pkgsrc/x11/gtk2/work/gtk+-2.4.3/gdk-pixbuf/gdk-pixbuf-csource.c.old    2004-06-27 18:45:21.000000000 +0200
+++ /usr/pkgsrc/x11/gtk2/work/gtk+-2.4.3/gdk-pixbuf/gdk-pixbuf-csource.c        2004-06-27 18:19:43.000000000 +0200
@@ -202,6 +202,8 @@
        }
       else if (strcmp ("--build-list", argv[i]) == 0)
        {
+         if(build_list == TRUE)
+               argc = i;
          build_list = TRUE;
          argv[i] = NULL;
        }
--- gdk-pixbuf-csource.patch

20h