Only in a: 20-userfaultfd-detection.patch
Only in a: 30-license.patch
Only in a: 40-fix-setup-py-cc.patch
Only in a/cmake/helpers: configure.cmake.orig
Only in a: gdal.cmake.orig
diff -ur a/swig/include/python/typemaps_python.i b/swig/include/python/typemaps_python.i
--- a/swig/include/python/typemaps_python.i	2024-02-08 14:16:25.000000000 -0500
+++ b/swig/include/python/typemaps_python.i	2025-11-16 21:17:37.820146789 -0500
@@ -92,11 +92,11 @@
   if ( !*$2 ) {
     Py_INCREF(Py_None);
     r = Py_None;
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
   else {
     r = PyFloat_FromDouble( *$1 );
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
 }
 
@@ -112,11 +112,11 @@
   if ( !*$2 ) {
     Py_INCREF(Py_None);
     r = Py_None;
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
   else {
     r = PyLong_FromLongLong( *$1 );
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
 }
 
@@ -132,11 +132,11 @@
   if ( !*$2 ) {
     Py_INCREF(Py_None);
     r = Py_None;
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
   else {
     r = PyLong_FromUnsignedLongLong( *$1 );
-    $result = t_output_helper($result,r);
+    $result = SWIG_AppendOutput($result,r);
   }
 }
 
@@ -162,7 +162,7 @@
   else {
     r = CreateTupleFromDoubleArray($1, num_values);
   }
-  $result = t_output_helper($result,r);
+  $result = SWIG_AppendOutput($result,r);
 }
 %enddef
 
@@ -255,11 +255,11 @@
   memset(argout, 0, sizeof(argout));
   $1 = argout;
 }
-%typemap(argout,fragment="t_output_helper,CreateTupleFromDoubleArray") ( double argout[ANY])
+%typemap(argout,fragment="CreateTupleFromDoubleArray") ( double argout[ANY])
 {
   /* %typemap(argout) (double argout[ANY]) */
   PyObject *out = CreateTupleFromDoubleArray( $1, $dim0 );
-  $result = t_output_helper($result,out);
+  $result = SWIG_AppendOutput($result,out);
 }
 
 %typemap(in,numinputs=0) ( double *argout[ANY]) (double *argout)
@@ -268,11 +268,11 @@
   argout = NULL;
   $1 = &argout;
 }
-%typemap(argout,fragment="t_output_helper,CreateTupleFromDoubleArray") ( double *argout[ANY])
+%typemap(argout,fragment="CreateTupleFromDoubleArray") ( double *argout[ANY])
 {
   /* %typemap(argout) (double *argout[ANY]) */
   PyObject *out = CreateTupleFromDoubleArray( *$1, $dim0 );
-  $result = t_output_helper($result,out);
+  $result = SWIG_AppendOutput($result,out);
 }
 %typemap(freearg) (double *argout[ANY])
 {
@@ -1387,7 +1387,7 @@
   /* %typemap(in,numinputs=0) (char **argout) */
   $1 = &argout;
 }
-%typemap(argout,fragment="t_output_helper") (char **argout)
+%typemap(argout) (char **argout)
 {
   /* %typemap(argout) (char **argout) */
   PyObject *o;
@@ -1398,7 +1398,7 @@
     o = Py_None;
     Py_INCREF( o );
   }
-  $result = t_output_helper($result, o);
+  $result = SWIG_AppendOutput($result, o);
 }
 %typemap(freearg) (char **argout)
 {
@@ -2515,7 +2515,7 @@
     PyTuple_SetItem( r, 0, PyLong_FromLong(*$1) );
     PyTuple_SetItem( r, 1, PyLong_FromLong(*$2) );
   }
-  $result = t_output_helper($result,r);
+  $result = SWIG_AppendOutput($result,r);
 }
 
 %typemap(in,numinputs=0) (OGRLayerShadow** ppoBelongingLayer, double* pdfProgressPct) ( OGRLayerShadow* poBelongingLayer = NULL, double dfProgressPct = 0 )
@@ -2546,10 +2546,10 @@
 
     if ( !*$1 ) {
         Py_INCREF(Py_None);
-        $result = SWIG_Python_AppendOutput($result, Py_None);
+        $result = SWIG_AppendOutput($result, Py_None);
     }
     else {
-        $result = SWIG_Python_AppendOutput($result,
+        $result = SWIG_AppendOutput($result,
             SWIG_NewPointerObj(SWIG_as_voidptr( *$1), SWIGTYPE_p_OGRLayerShadow, 0 ));
     }
   }
@@ -2561,7 +2561,7 @@
         $result = PyList_New(1);
         PyList_SetItem($result, 0, Py_None);
     }
-    $result = SWIG_Python_AppendOutput($result, PyFloat_FromDouble( *$2));
+    $result = SWIG_AppendOutput($result, PyFloat_FromDouble( *$2));
   }
 
 }
@@ -2929,7 +2929,7 @@
   PyTuple_SetItem( r, 2, PyFloat_FromDouble($1[2]));
   PyTuple_SetItem( r, 3, PyFloat_FromDouble($1[3]));
   PyTuple_SetItem( r, 4, PyLong_FromLong($2[0]));
-  $result = t_output_helper($result,r);
+  $result = SWIG_AppendOutput($result,r);
 }
 
 
Only in a/swig/python: setup.py.in.orig
