[packages/Xlt] - adjusted for motif 2.3.8-3 type fixes

qboosh qboosh at pld-linux.org
Sat Feb 7 08:12:26 CET 2026


commit ce93c6c6160c78a97ba0e6cef624e3f9f76df60e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 7 08:12:43 2026 +0100

    - adjusted for motif 2.3.8-3 type fixes

 Xlt-types.patch | 11 +++++++++++
 Xlt.spec        |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/Xlt.spec b/Xlt.spec
index bdf6bcc..8050dde 100644
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -13,7 +13,7 @@ URL:		https://xlt.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
-BuildRequires:	motif-devel >= 1.2
+BuildRequires:	motif-devel >= 2.3.8-3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,7 +31,7 @@ Summary:	Xlt header files and development documentation
 Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja Xlt
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	motif-devel >= 1.2
+Requires:	motif-devel >= 2.3.8-3
 
 %description devel
 Xlt header files and development documentation.
diff --git a/Xlt-types.patch b/Xlt-types.patch
index ebabbcd..d5fa90f 100644
--- a/Xlt-types.patch
+++ b/Xlt-types.patch
@@ -56,3 +56,14 @@
  #include <string.h>
  #include <math.h>
  
+--- Xlt-13.0.13/tests/SciPlot/example.c.orig	2001-04-28 18:24:29.000000000 +0200
++++ Xlt-13.0.13/tests/SciPlot/example.c	2026-02-07 08:08:41.908268131 +0100
+@@ -80,7 +80,7 @@ int main(int argc, char **argv)
+    XtError("can't register names\n");
+ 
+     if (MrmRegisterClass(MrmwcUnknown, "SciPlot" , "SciPlotCreate",
+-                            (Widget(*)())SciPlotCreate,
++                            (Widget(*)(Widget, String, ArgList, Cardinal))SciPlotCreate,
+                             (WidgetClass)&sciplotClassRec) != MrmSUCCESS)
+ 
+        XtError("Can't register Sciplot class\n");
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Xlt.git/commitdiff/ce93c6c6160c78a97ba0e6cef624e3f9f76df60e



More information about the pld-cvs-commit mailing list