[MacPorts] #60508: gimp2: error: variable has incomplete type, error: use of undeclared identifier

MacPorts noreply at macports.org
Mon Jul 27 11:23:42 UTC 2020


#60508: gimp2: error: variable has incomplete type, error: use of undeclared
identifier
---------------------+----------------------
  Reporter:  iEFdev  |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.2
Resolution:          |   Keywords:
      Port:  gimp2   |
---------------------+----------------------

Comment (by iEFdev):

 Replying to [comment:2 kencu]:
 > I pegged it
 <https://github.com/kencu/SnowLeopardPorts/tree/master/graphics/gimp2> at
 2.10.14_3 until someone gets around to fixing it. You can do that too, if
 2.10.14_3 meets your needs for now.

 Thanks Ken… I'll have a look at that one. It's the one I have now.

 {{{
 gimp2 @2.10.14_3+python27+quartz-universal (active) platform='darwin 11'
 archs='x86_64' date='2020-02-15T04:30:04+0100'
 }}}

 But, before I do that… I read your post last night about ''“how to install
 and use a newer libc++ on older systems 10.7 to 10.12”''

 Do you think that one could help?

 Gimp 2.10.20 is out (2.10.18 in port), and I really hope this is fixed for
 that one. It looks like a ''really'' good version.

 [[br]]

 -----

 // Here's the code by the way, the one with the errors…
 in: `gimp-2.10.18/app/widgets/gimpdashboard.c` //

 {{{
 #!cpp lineno=2399 marks=2410,2411,2413
 #ifdef HAVE_MEMORY_GROUP
 #ifdef PLATFORM_OSX
 static void
 gimp_dashboard_sample_memory_used (GimpDashboard *dashboard,
                                    Variable       variable)
 {
   GimpDashboardPrivate        *priv          = dashboard->priv;
   VariableData                *variable_data = &priv->variables[variable];

   variable_data->available = FALSE;
 #ifndef TASK_VM_INFO_REV0_COUNT /* phys_footprint added in REV1 */
   struct mach_task_basic_info info;
   mach_msg_type_number_t      infoCount      = MACH_TASK_BASIC_INFO_COUNT;

   if( task_info(mach_task_self (), MACH_TASK_BASIC_INFO,
                              (task_info_t)&info, &infoCount ) !=
 KERN_SUCCESS )
     return;      /* Can't access? */

   variable_data->available  = TRUE;
   variable_data->value.size = info.resident_size;
 #else

 // ... //
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60508#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list