From 08ed86bf70a86fb9c3bbdf3aae56896187c844c8 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 23 Jan 2014 18:56:16 -0600 Subject: cygwin-pixman 0.32.4 --- cygwin-pixman.spec | 7 ++++++- pixman-0.20.0-gcc4-visibility.patch | 11 +++++++++++ sources | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 pixman-0.20.0-gcc4-visibility.patch diff --git a/cygwin-pixman.spec b/cygwin-pixman.spec index 403f9e0..0be0cf1 100644 --- a/cygwin-pixman.spec +++ b/cygwin-pixman.spec @@ -1,7 +1,7 @@ %{?cygwin_package_header} Name: cygwin-pixman -Version: 0.28.2 +Version: 0.32.4 Release: 1 Summary: Cygwin pixel manipulation library @@ -11,6 +11,7 @@ URL: http://cgit.freedesktop.org/pixman/ BuildArch: noarch Source0: http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.bz2 +Patch0: pixman-0.20.0-gcc4-visibility.patch BuildRequires: automake autoconf libtool @@ -49,6 +50,7 @@ Pixel manipulation library for Cygwin x86_64 toolchain. %prep %setup -q -n pixman-%{version} +%patch0 -p2 autoreconf -fiv @@ -78,6 +80,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %changelog +* Thu Jan 23 2014 Yaakov Selkowitz - 0.32.4-1 +- Version bump. + * Tue Jul 02 2013 Yaakov Selkowitz - 0.28.2-1 - Version bump. - Adapt to new Cygwin packaging scheme. diff --git a/pixman-0.20.0-gcc4-visibility.patch b/pixman-0.20.0-gcc4-visibility.patch new file mode 100644 index 0000000..b49ce11 --- /dev/null +++ b/pixman-0.20.0-gcc4-visibility.patch @@ -0,0 +1,11 @@ +--- origsrc/pixman-0.20.0/pixman/pixman-compiler.h 2010-10-27 15:43:03.000000000 -0500 ++++ src/pixman-0.20.0/pixman/pixman-compiler.h 2010-10-31 02:53:28.801702100 -0500 +@@ -65,7 +65,7 @@ + #endif + + /* GCC visibility */ +-#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) ++#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) && !defined(__CYGWIN__) + # define PIXMAN_EXPORT __attribute__ ((visibility("default"))) + /* Sun Studio 8 visibility */ + #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) diff --git a/sources b/sources index aa2c028..6d6096c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f6e3294c4edb7b6bca8459e604286348 pixman-0.28.2.tar.bz2 +cdb566504fe9daf6728c7b03cc7ea228 pixman-0.32.4.tar.bz2 -- cgit