From 63147c6d884d4c17d58e9224855ec2d3fba6f616 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 13 May 2013 02:50:42 +0200 Subject: Slight patch to win32-pthreads... --- compilation | 3 +++ pthreads-w32.patch | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pthreads-w32.patch diff --git a/compilation b/compilation index 0690f3d..0ed064c 100755 --- a/compilation +++ b/compilation @@ -119,6 +119,9 @@ tar xvfz ftgl-win32-precomp.tar.gz tar xvfz freetype-win32-precomp.tar.gz tar xvfz mysql-5.0.51b-win32-precomp.tar.gz tar xvfz pthreads-w32-2-8-0-release-win32-precomp.tar.gz +cd pthreads-w32-2-8-0-release +patch < ../pthreads-w32.patch +cd .. tar xvfz gnuwin32-digested.tar.gz gunzip libreadline-static.a.gz diff --git a/pthreads-w32.patch b/pthreads-w32.patch new file mode 100644 index 0000000..17db0e3 --- /dev/null +++ b/pthreads-w32.patch @@ -0,0 +1,17 @@ +--- pthread-orig.h 2013-05-13 02:48:34.000000000 +0200 ++++ pthread.h 2013-05-13 02:48:43.000000000 +0200 +@@ -304,10 +304,10 @@ + + #ifndef HAVE_STRUCT_TIMESPEC + #define HAVE_STRUCT_TIMESPEC 1 +-struct timespec { +- long tv_sec; +- long tv_nsec; +-}; ++//struct timespec { ++// long tv_sec; ++// long tv_nsec; ++//}; + #endif /* HAVE_STRUCT_TIMESPEC */ + + #ifndef SIG_BLOCK -- cgit v1.2.3