Author: lfarkas

Update of /cvs/pkgs/rpms/mingw32-pthreads/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15852/EL-5

Modified Files:
        mingw32-pthreads.spec 
Added Files:
        mingw32-pthreads-2.8.0-w32.patch 
Log Message:
add mingw32-pthreads-2.8.0-w32.patch for all braches


mingw32-pthreads-2.8.0-w32.patch:
 sched.h |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE mingw32-pthreads-2.8.0-w32.patch ---
--- ./sched.h   2009-05-18 15:15:33.893366500 -0700
+++ ./sched.h   2009-01-29 19:17:29.010338200 -0800
@@ -119,6 +119,8 @@
 #  include <sys/types.h>
 /* Required by Unix 98 */
 #  include <time.h>
+#else
+typedef int pid_t;
 #endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
 #else
 typedef int pid_t;


Index: mingw32-pthreads.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-pthreads/EL-5/mingw32-pthreads.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- mingw32-pthreads.spec       14 Jan 2009 09:50:43 -0000      1.1
+++ mingw32-pthreads.spec       15 Nov 2009 12:11:15 -0000      1.2
@@ -9,7 +9,7 @@
 
 Name:           mingw32-pthreads
 Version:        2.8.0
-Release:        4%{?dist}
+Release:        10%{?dist}
 Summary:        MinGW pthread library
 
 %define crazy_version %(echo %{version}|tr . -)
@@ -25,8 +25,9 @@ BuildArch:      noarch
 Patch0:         mingw32-pthreads-2.8.0-use-wine-for-tests.patch
 Patch1:         mingw32-pthreads-2.8.0-no-failing-tests.patch
 Patch2:                mingw32-pthreads-flags.patch
+Patch3:                mingw32-pthreads-2.8.0-w32.patch
 
-BuildRequires:  mingw32-filesystem >= 40
+BuildRequires:  mingw32-filesystem >= 49
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-gcc-c++
 BuildRequires:  mingw32-binutils
@@ -57,6 +58,7 @@ high-quality solution to this problem.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 
 %build
@@ -84,12 +86,15 @@ rm -rf $RPM_BUILD_ROOT
 
 mkdir -p $RPM_BUILD_ROOT%{_mingw32_bindir}
 mkdir -p $RPM_BUILD_ROOT%{_mingw32_libdir}
-mkdir -p $RPM_BUILD_ROOT%{_mingw32_includedir}/pthread
+mkdir -p $RPM_BUILD_ROOT%{_mingw32_includedir}
 
 install -m 0755 *.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
 install -m 0644 *.def $RPM_BUILD_ROOT%{_mingw32_bindir}
 install -m 0644 *.a $RPM_BUILD_ROOT%{_mingw32_libdir}
-install -m 0644 *.h $RPM_BUILD_ROOT%{_mingw32_includedir}/pthread
+install -m 0644 *.h $RPM_BUILD_ROOT%{_mingw32_includedir}
+
+# Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616
+ln -s libpthreadGC2.a $RPM_BUILD_ROOT%{_mingw32_libdir}/libpthread.a
 
 
 %clean
@@ -103,12 +108,31 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_bindir}/pthreadGC2.dll
 %{_mingw32_bindir}/pthreadGCE2.dll
 %{_mingw32_bindir}/pthread.def
+%{_mingw32_libdir}/libpthread.a
 %{_mingw32_libdir}/libpthreadGC2.a
 %{_mingw32_libdir}/libpthreadGCE2.a
-%{_mingw32_includedir}/pthread
+%{_mingw32_includedir}/*.h
 
 
 %changelog
+* Sun Nov 15 2009 Levente Farkas <[email protected]> - 2.8.0-10
+- added mingw32-pthreads-2.8.0-w32.patch
+
+* Sat Jul 25 2009 Fedora Release Engineering <[email protected]> 
- 2.8.0-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri May 22 2009 Erik van Pienbroek <[email protected]> - 2.8.0-8
+- Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616
+
+* Fri Mar 13 2009 Richard W.M. Jones <[email protected]> - 2.8.0-7
+- Move header files to system include directory.
+
+* Wed Feb 25 2009 Fedora Release Engineering <[email protected]> 
- 2.8.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Feb 20 2009 Richard W.M. Jones <[email protected]> - 2.8.0-5
+- Rebuild for mingw32-gcc 4.4
+
 * Tue Jan 13 2009 Richard W.M. Jones <[email protected]> - 2.8.0-4
 - Cleanup to the spec file, no functional changes.
 

_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to