> Module Name:  xsrc
> Committed By: mrg
> Date:         Fri Jul 15 04:10:54 UTC 2022
> 
> Modified Files:
>       xsrc/external/mit/xorg-server/include: dix-config.h version-config.h
>           xorg-config.h xorg-server.h
> Removed Files:
>       xsrc/external/mit/xorg-server/include: xf86Build.h
> 
> Log Message:
> update these for xorg-server 21.1.3.

>> --- dix-config.h     23 Aug 2021 22:34:58 -0000      1.44
>> +++ dix-config.h     15 Jul 2022 04:10:54 -0000      1.45
>>  :
>> 
>>  /* Define to 1 if you have the `reallocarray' function. */
>> -/* #define HAVE_REALLOCARRAY 1 */
>> +#define HAVE_REALLOCARRAY 1
>> 
>>  :
>>  
>>  /* Don't let Xdefs.h define 'pointer' */
>> -#define _XTYPEDEF_POINTER
>> +#define _XTYPEDEF_POINTER       1
 
These changes cause build errors on at least sun3 servers:
 https://releng.netbsd.org/builds/HEAD/202207150750Z/sun3.build.failed

---
/home/source/ab/HEAD/xsrc/external/mit/xorg-server/dist/hw/vfb/InitOutput.c: In 
function 'ddxProcessArgument':
/home/source/ab/HEAD/xsrc/external/mit/xorg-server/dist/hw/vfb/InitOutput.c:293:17:
 warning: implicit declaration of function 'reallocarray'; did you mean 
'reallocarr'? [-Wimplicit-function-declaration]
  293 |                 reallocarray(vfbScreens, screenNum + 1, 
sizeof(*vfbScreens));
      |                 ^~~~~~~~~~~~
      |                 reallocarr

/home/source/ab/HEAD/xsrc/external/mit/xorg-server/dist/../include/dix-config.h:471:
 error: "_XTYPEDEF_POINTER" redefined [-Werror]
  471 | #define _XTYPEDEF_POINTER       1

---
Izumi Tsutsui

Reply via email to