HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to games-board/gnuchess/5.07

games-board/gnuchess/5.07: gnuchess-5.07.patch

File gnuchess-5.07.patch, 815 bytes (added by michaelvoliveira, 5 years ago)

Patch to include libroot pthread detection and remove unused input_thread function. Builds fine in GCC2 & GCC4

  • gnuchess-5.

    diff -Naur gnuchess-5.07/configure gnuchess-5.07-haiku/configure
    old new  
    64846484        ;; 
    64856485esac 
    64866486 
     6487case "${host_cpu}-${host_os}" in 
     6488        *haiku*) 
     6489 
     6490        acx_pthread_flags="-lroot -mt $acx_pthread_flags" 
     6491        ;; 
     6492esac 
     6493 
    64876494if test x"$acx_pthread_ok" = xno; then 
    64886495for flag in $acx_pthread_flags; do 
    64896496 
  • src/common.h

    diff -Naur gnuchess-5.07/src/common.h gnuchess-5.07-haiku/src/common.h
    old new  
    716716 
    717717/* Input thread and thread function */ 
    718718#include <pthread.h> 
    719 extern pthread_t input_thread; 
     719 
    720720void *input_func(void *); 
    721721 
    722722/* 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/