[mingw-pixman: 18/31] Update to 0.19.4
Kalev Lember
kalev at fedoraproject.org
Tue Mar 6 20:19:18 UTC 2012
commit 3588a869de542d5a4a7168bfcec8ba7c09472513
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Fri Sep 24 15:37:54 2010 +0200
Update to 0.19.4
- Update to 0.19.4
- Fixed Source URL
- Fixed a small rpmlint warning
.gitignore | 1 +
...n-dont-check-for-mprotect-and-getpagesize.patch | 35 ++++++++++++++++++++
mingw32-pixman.spec | 16 +++++++--
sources | 2 +-
4 files changed, 50 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fef984a..1e5bb4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
pixman-0.18.2.tar.bz2
/pixman-0.19.2.tar.bz2
+/pixman-0.19.4.tar.gz
diff --git a/mingw32-pixman-dont-check-for-mprotect-and-getpagesize.patch b/mingw32-pixman-dont-check-for-mprotect-and-getpagesize.patch
new file mode 100644
index 0000000..946b068
--- /dev/null
+++ b/mingw32-pixman-dont-check-for-mprotect-and-getpagesize.patch
@@ -0,0 +1,35 @@
+--- configure.orig 2010-09-24 15:34:21.764058125 +0200
++++ configure 2010-09-24 15:35:04.629551788 +0200
+@@ -12521,32 +12521,6 @@
+
+
+
+-ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect"
+-if test "x$ac_cv_func_mprotect" = x""yes; then :
+- have_mprotect=yes
+-else
+- have_mprotect=no
+-fi
+-
+-if test x$have_mprotect = xyes; then
+-
+-$as_echo "#define HAVE_MPROTECT 1" >>confdefs.h
+-
+-fi
+-
+-ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
+-if test "x$ac_cv_func_getpagesize" = x""yes; then :
+- have_getpagesize=yes
+-else
+- have_getpagesize=no
+-fi
+-
+-if test x$have_getpagesize = xyes; then
+-
+-$as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h
+-
+-fi
+-
+ ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
+ if test "x$ac_cv_func_gettimeofday" = x""yes; then :
+ have_gettimeofday=yes
diff --git a/mingw32-pixman.spec b/mingw32-pixman.spec
index f4d7d86..10e47b8 100644
--- a/mingw32-pixman.spec
+++ b/mingw32-pixman.spec
@@ -6,7 +6,7 @@
%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-pixman
-Version: 0.19.2
+Version: 0.19.4
Release: 1%{?dist}
Summary: MinGW Windows Pixman library
@@ -14,9 +14,13 @@ License: MIT
URL: http://cgit.freedesktop.org/pixman/
Group: Development/Libraries
-Source0: http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.bz2
+Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz
Source1: make-pixman-snapshot.sh
+# The configure script checks for the availability of the functions mprotect and getpagesize, but
+# these checks return an invalid result which results in a compile failure
+Patch0: mingw32-pixman-dont-check-for-mprotect-and-getpagesize.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -40,11 +44,12 @@ Group: Development/Libraries
Static version of the MinGW Windows Pixman library.
-%{_mingw32_debug_package}
+%{?_mingw32_debug_package}
%prep
%setup -q -n pixman-%{version}
+%patch0 -p0
%build
@@ -80,6 +85,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Sep 24 2010 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.19.4-1
+- Update to 0.19.4
+- Fixed Source URL
+- Fixed a small rpmlint warning
+
* Tue Sep 7 2010 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.19.2-1
- Update to 0.19.2
diff --git a/sources b/sources
index 478200b..cf552e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4ed74b6aa9139541718c0d61a581fd50 pixman-0.19.2.tar.bz2
+100a2d23f1d5683fdaa5d7ca71a0182b pixman-0.19.4.tar.gz
More information about the mingw
mailing list