Accepting request 70376 from devel:libraries:c_c++
Add gcc46_build_fix.patch. Fixes https://build.opensuse.org/package/show?package=libplist&project=openSUSE%3AFactory%3AStaging%3AGcc46 (forwarded request 70366 from cgiboudeaux) OBS-URL: https://build.opensuse.org/request/show/70376 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=11
This commit is contained in:
parent
627006c2eb
commit
ff612ed477
10
gcc46_build_fix.patch
Normal file
10
gcc46_build_fix.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- swig/plist.i.orig 2011-05-17 00:10:03.034330863 +0200
|
||||||
|
+++ swig/plist.i 2011-05-17 00:12:14.190736151 +0200
|
||||||
|
@@ -4,6 +4,7 @@
|
||||||
|
%{
|
||||||
|
/* Includes the header in the wrapper code */
|
||||||
|
#include <plist/plist++.h>
|
||||||
|
+ #include <cstddef>
|
||||||
|
%}
|
||||||
|
|
||||||
|
%include "std_string.i"
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 16 22:18:07 UTC 2011 - cgiboudeaux@gmx.com
|
||||||
|
|
||||||
|
- Add gcc46_build_fix.patch. Fixes build with GCC4.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 20 18:17:36 CEST 2011 - opensuse@sukimashita.com
|
Sun Mar 20 18:17:36 CEST 2011 - opensuse@sukimashita.com
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ BuildRequires: swig
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#remove when pkgconfig is fixed to handle Requires.private correctly
|
#remove when pkgconfig is fixed to handle Requires.private correctly
|
||||||
Patch0: libplist-1.4-pkgconfig.patch
|
Patch0: libplist-1.4-pkgconfig.patch
|
||||||
|
Patch1: gcc46_build_fix.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
@ -110,6 +111,7 @@ This package contains the python bindings.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
Loading…
Reference in New Issue
Block a user