Accepting request 519178 from home:Andreas_Schwab:Factory
- ppc-build.patch: Fix build for powerpc OBS-URL: https://build.opensuse.org/request/show/519178 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=203
This commit is contained in:
parent
fc76886d57
commit
83de91c70c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 16:15:30 UTC 2017 - schwab@suse.de
|
||||
|
||||
- ppc-build.patch: Fix build for powerpc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 10 11:08:46 UTC 2017 - pmonrealgonzalez@suse.com
|
||||
|
||||
|
@ -49,6 +49,8 @@ Patch2: curl-secure-getenv.patch
|
||||
Patch3: curl-disable-test1427-i586.patch
|
||||
# PATCH-FIX-UPSTREAM curl-man3.patch - Fix to build libcurl man3 pages
|
||||
Patch4: curl-man3.patch
|
||||
# PATCH-FIX-UPSTREAM ppc-build.patch - Fix build for powerpc
|
||||
Patch5: ppc-build.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
%if !0%{?bootstrap}
|
||||
@ -131,6 +133,7 @@ user interaction or any kind of interactivity.
|
||||
%patch2
|
||||
%patch3 -p1 -R
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
# curl complains if macro definition is contained in CFLAGS
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 16:15:30 UTC 2017 - schwab@suse.de
|
||||
|
||||
- ppc-build.patch: Fix build for powerpc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 10 11:08:46 UTC 2017 - pmonrealgonzalez@suse.com
|
||||
|
||||
|
@ -47,6 +47,8 @@ Patch2: curl-secure-getenv.patch
|
||||
Patch3: curl-disable-test1427-i586.patch
|
||||
# PATCH-FIX-UPSTREAM curl-man3.patch - Fix to build libcurl man3 pages
|
||||
Patch4: curl-man3.patch
|
||||
# PATCH-FIX-UPSTREAM ppc-build.patch - Fix build for powerpc
|
||||
Patch5: ppc-build.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
%if !0%{?bootstrap}
|
||||
@ -129,6 +131,7 @@ user interaction or any kind of interactivity.
|
||||
%patch2
|
||||
%patch3 -p1 -R
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
# curl complains if macro definition is contained in CFLAGS
|
||||
|
13
ppc-build.patch
Normal file
13
ppc-build.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: curl-7.55.0/include/curl/system.h
|
||||
===================================================================
|
||||
--- curl-7.55.0.orig/include/curl/system.h
|
||||
+++ curl-7.55.0/include/curl/system.h
|
||||
@@ -401,7 +401,7 @@
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# if !defined(__LP64__) && (defined(__ILP32__) || \
|
||||
- defined(__i386__) || defined(__ppc__) || defined(__arm__) || \
|
||||
+ defined(__i386__) || defined(__powerpc__) || defined(__arm__) || \
|
||||
defined(__sparc__) || defined(__mips__) || defined(__sh__) || \
|
||||
defined(__XTENSA__))
|
||||
# define CURL_SIZEOF_LONG 4
|
Loading…
x
Reference in New Issue
Block a user