cvs commit: ports/x11-clocks/xclock Makefile ports/x11-clocks/xclock/files patch-xclock.c

Christian Weisgerber naddy at FreeBSD.org
Sat Aug 7 14:10:01 UTC 2010


naddy       2010-08-07 14:10:01 UTC

  FreeBSD ports repository

  Modified files:
    x11-clocks/xclock    Makefile 
  Added files:
    x11-clocks/xclock/files patch-xclock.c 
  Log:
  Fix a crash on sparc64 (and other 64-bit strict alignment archs).
  
  The pid variable that is passed to XChangeProperty() is not a long.
  The libX11 code deferences the variable as a long and on a 64-bit
  sparc this must be aligned on a 8-byte boundary.
  
  Obtained from:  upstream
  
  Revision  Changes    Path
  1.7       +1 -0      ports/x11-clocks/xclock/Makefile
  1.1       +11 -0     ports/x11-clocks/xclock/files/patch-xclock.c (new)


More information about the cvs-all mailing list