Index | Thread | Search

From:
George Koehler <kernigh@gmail.com>
Subject:
Re: UPDATE: fox-1.6.59
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
ports@openbsd.org, Marc Espie <espie@openbsd.org>
Date:
Thu, 29 May 2025 22:45:11 -0400

Download raw body.

Thread
  • Rafael Sadowski:

    UPDATE: fox-1.6.59

    • George Koehler:

      UPDATE: fox-1.6.59

On Tue, 27 May 2025 11:53:59 +0200
Rafael Sadowski <rafael@sizeofvoid.org> wrote:

> +# XXX check  bump?
>  SHARED_LIBS +=	FOX-1.6              2.1      # .0.50
>  SHARED_LIBS +=	CHART-1.6            1.1      # .0.50
> -SITES =		http://ftp.fox-toolkit.org/pub/

I suggest a major bump for FOX-1.6.
Upstream changed these 2 function signatures,

--- fox-1.6.50/fox-1.6.50/include/FXApp.h	Wed May 14 00:32:40 2014
+++ fox-1.6.59/fox-1.6.59/include/FXApp.h	Tue Apr  3 23:42:41 2018
@@ -515,12 +515,12 @@
   * of the message handler. If a chore with the same target and message
   * already exists, it will be rescheduled.
   */
-  void addChore(FXObject* tgt,FXSelector sel,void *ptr=NULL);
+  void* addChore(FXObject* tgt,FXSelector sel,void *ptr=NULL);
 
   /**
   * Remove idle processing message identified by tgt and sel.
   */
-  void removeChore(FXObject* tgt,FXSelector sel);
+  void* removeChore(FXObject* tgt,FXSelector sel);
 
   /**
   * Return TRUE if given chore has been set

The return type changed from nothing to a pointer.  This might fail
 - with a new caller and old library, if the caller expected a
   pointer and the library gave nothing.
 - with an old caller and new library, if the ABI requires the
   caller to provide space for the return value.

With a bump, the update is ok gkoehler@