freebsd-ports/graphics/py-ming
Po-Chuan Hsieh 9b6337dcf5
graphics/py-ming: Fix build with Clang 15 and remove the workaround
- Update WWW

./ming_wrap.c:2427:18: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:2497:13: error: incompatible integer to pointer conversion initializing 'PyObject *' (aka 'struct _object *') with an expression of type 'int' [-Wint-conversion]
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:2525:11: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:3886:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:3908:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:4302:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:4352:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:4404:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:4411:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg2 = PyFile_AsFile(obj1);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:7255:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:7398:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
./ming_wrap.c:8855:10: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
    arg1 = PyFile_AsFile(obj0);
         ^ ~~~~~~~~~~~~~~~~~~~
23 warnings and 12 errors generated.
2023-06-30 15:04:07 +08:00
..
files
distinfo
Makefile
pkg-descr