Hello community, here is the log from the commit of package libraw for openSUSE:Factory checked in at 2012-03-20 17:49:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libraw (Old) and /work/SRC/openSUSE:Factory/.libraw.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libraw", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libraw/libraw.changes 2011-09-23 02:09:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes 2012-03-20 17:49:10.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Mar 14 19:29:33 UTC 2012 - [email protected] + +- Add libraw-gcc47.patch: Fix build with gcc 4.7. + +------------------------------------------------------------------- Old: ---- libraw-lcms2-build.patch New: ---- libraw-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libraw.spec ++++++ --- /var/tmp/diff_new_pack.YUrrXM/_old 2012-03-20 17:49:13.000000000 +0100 +++ /var/tmp/diff_new_pack.YUrrXM/_new 2012-03-20 17:49:13.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libraw # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +20,14 @@ Name: libraw Version: 0.13.5 -Release: 3 -License: CDDL-1.0 or LGPL-2.1 +Release: 0 Summary: Library for reading RAW files obtained from digital photo cameras -Url: http://www.libraw.org/ +License: CDDL-1.0 or LGPL-2.1 Group: System/Libraries +Url: http://www.libraw.org/ Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM libraw-gcc47.patch [email protected] -- Fix build with gcc 4.7. +Patch0: libraw-gcc47.patch BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel @@ -40,7 +42,6 @@ drawbacks have already been eliminated and part will be fixed in future. %package tools -License: CDDL-1.0 or LGPL-2.1 Summary: Library for reading RAW files obtained from digital photo cameras -- Tools Group: System/Libraries @@ -52,7 +53,6 @@ drawbacks have already been eliminated and part will be fixed in future. %package -n libraw2 -License: CDDL-1.0 or LGPL-2.1 Summary: Library for reading RAW files obtained from digital photo cameras Group: System/Libraries @@ -64,7 +64,6 @@ drawbacks have already been eliminated and part will be fixed in future. %package devel -License: CDDL-1.0 or LGPL-2.1 Summary: Development files for %{name} Group: Development/Libraries/Other Requires: libraw2 = %{version} @@ -77,7 +76,6 @@ drawbacks have already been eliminated and part will be fixed in future. %package devel-static -License: CDDL-1.0 or LGPL-2.1 Summary: Library for reading RAW files obtained from digital photo cameras Group: Development/Libraries/Other Requires: %{name}-devel = %{version} @@ -94,6 +92,7 @@ %prep %setup -q -n %{tar_name}-%{version} +%patch0 -p1 %build CXXFLAGS="%{optflags} -fPIC" \ ++++++ libraw-gcc47.patch ++++++ Index: LibRaw-0.13.5/samples/dcraw_emu.cpp =================================================================== --- LibRaw-0.13.5.orig/samples/dcraw_emu.cpp +++ LibRaw-0.13.5/samples/dcraw_emu.cpp @@ -27,6 +27,7 @@ it under the terms of the one of three l #endif #include <stdio.h> +#include <unistd.h> // For getpagesize, read and close #include <string.h> #include <stdlib.h> #include <math.h> -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
