- remove libraw-gcc27.patch, it is upstreamed yet
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=61
This commit is contained in:
parent
bddc343606
commit
5f35ba2b30
@ -1,12 +0,0 @@
|
|||||||
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>
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 12 10:22:06 UTC 2013 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- remove libraw-gcc27.patch, it is upstreamed yet
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 11 12:47:51 UTC 2013 - jengelh@inai.de
|
Tue Jun 11 12:47:51 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -30,8 +30,6 @@ Url: http://www.libraw.org/
|
|||||||
#Freecode-URL: http://freecode.com/projects/libraw
|
#Freecode-URL: http://freecode.com/projects/libraw
|
||||||
#Git-Clone: git://github.com/LibRaw/LibRaw
|
#Git-Clone: git://github.com/LibRaw/LibRaw
|
||||||
Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
|
Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM libraw-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7.
|
|
||||||
Patch1: libraw-gcc47.patch
|
|
||||||
Patch2: 0001-build-fix-return-of-random-data.patch
|
Patch2: 0001-build-fix-return-of-random-data.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -99,7 +97,7 @@ against LibRaw. LibRaw does not provide dynamic libraries.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{tar_name}-%{version}
|
%setup -q -n %{tar_name}-%{version}
|
||||||
%patch -P 1 -P 2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CXXFLAGS="%{optflags} -fPIC" \
|
CXXFLAGS="%{optflags} -fPIC" \
|
||||||
|
Loading…
Reference in New Issue
Block a user