Accepting request 37195 from Virtualization:VMware

checked in (request 37195)

OBS-URL: https://build.opensuse.org/request/show/37195
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=158
This commit is contained in:
OBS User autobuild 2010-04-07 19:38:41 +00:00 committed by Git OBS Bridge
parent 1e84307ad8
commit e89f1f520a
3 changed files with 0 additions and 30 deletions

View File

@ -1,22 +0,0 @@
Index: open-vm-tools-2010.03.20-243334/lib/image/imageUtilPng.c
===================================================================
--- open-vm-tools-2010.03.20-243334.orig/lib/image/imageUtilPng.c
+++ open-vm-tools-2010.03.20-243334/lib/image/imageUtilPng.c
@@ -136,7 +136,7 @@ ImageUtil_ReadPNGBuffer(ImageInfo *image
goto exit;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
goto exit;
}
@@ -350,7 +350,7 @@ ImageUtil_ConstructPNGBuffer(const Image
goto error;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
png_destroy_write_struct(&png_ptr, &info_ptr);
goto error;
}

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Apr 7 10:44:31 UTC 2010 - dimstar@opensuse.org
- Add open-vm-tools-libpng14.patch to fix build with libpng 1.4.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 24 09:43:33 UTC 2010 - dimstar@opensuse.org Wed Mar 24 09:43:33 UTC 2010 - dimstar@opensuse.org

View File

@ -36,8 +36,6 @@ Source4: open-vm-tools.permissions
Source5: vmware-user-autostart-wrapper Source5: vmware-user-autostart-wrapper
Source6: open-vm-tools-modprobe.conf Source6: open-vm-tools-modprobe.conf
Source98: preamble Source98: preamble
# PATCH-FIX-UPSTREAM open-vm-tools-libpng14.patch sf#2983141 dimstar@opensuse.org -- Fix build with libpng 1.4
Patch0: open-vm-tools-libpng14.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: kernel-source BuildRequires: kernel-source
@ -149,7 +147,6 @@ if you intend to create own plugins for vmtoolsd.
%prep %prep
%setup -q -n %{name}-%{version}-%{svn_rev} %setup -q -n %{name}-%{version}-%{svn_rev}
%patch0 -p1
chmod -x AUTHORS COPYING ChangeLog NEWS README chmod -x AUTHORS COPYING ChangeLog NEWS README
# fix for an rpmlint warning regarding wrong line feeds # fix for an rpmlint warning regarding wrong line feeds
sed -i -e "s/\r//" README sed -i -e "s/\r//" README