[packages/OCE] - up to 0.18.2
arekm
arekm at pld-linux.org
Tue Aug 15 22:48:40 CEST 2017
commit c8d4370e4f4d0c23f651aefbb22c6f956c528d53
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 15 22:48:34 2017 +0200
- up to 0.18.2
OCE.spec | 9 +++++----
oce-build.patch | 14 ++++++++++++++
2 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/OCE.spec b/OCE.spec
index 48dd2ab..f8b03f0 100644
--- a/OCE.spec
+++ b/OCE.spec
@@ -2,13 +2,14 @@
#
Summary: OpenCASCADE Community Edition
Name: OCE
-Version: 0.16.1
+Version: 0.18.2
Release: 1
License: LGPLv2 with exception
Group: Applications/Engineering
URL: https://github.com/tpaviot/oce
Source0: https://github.com/tpaviot/oce/archive/%{name}-%{version}.tar.gz
-# Source0-md5: 4d591b240c9293e879f50d86a0cb2bb3
+# Source0-md5: 6dfd68e459e2c62387579888a867281f
+Patch0: oce-build.patch
Source1: DRAWEXE.1
Source2: opencascade-draw.desktop
Source3: oce-256.png
@@ -147,6 +148,7 @@ OpenCASCADE CAE platform library development files
%prep
%setup -q -n oce-%{name}-%{version}
+%patch0 -p1
%build
install -d build
@@ -214,11 +216,10 @@ rm -rf $RPM_BUILD_ROOT
%files foundation
%defattr(644,root,root,755)
-%doc AUTHORS LICENSE_LGPL_21.txt NEWS OCCT_LGPL_EXCEPTION.txt
+%doc AUTHORS.md LICENSE_LGPL_21.txt NEWS.md OCCT_LGPL_EXCEPTION.txt
# Foundation
%attr(755,root,root) %{_libdir}/libTKernel.so.*
%attr(755,root,root) %{_libdir}/libTKMath.so.*
-%attr(755,root,root) %{_libdir}/libTKAdvTools.so.*
%{_datadir}/oce-*.*/
%files modeling
diff --git a/oce-build.patch b/oce-build.patch
new file mode 100644
index 0000000..b7cc7fa
--- /dev/null
+++ b/oce-build.patch
@@ -0,0 +1,14 @@
+--- oce-OCE-0.18.2/src/Standard/Standard_CLocaleSentry.hxx~ 2017-08-11 07:51:11.000000000 +0200
++++ oce-OCE-0.18.2/src/Standard/Standard_CLocaleSentry.hxx 2017-08-15 21:40:16.105343307 +0200
+@@ -28,11 +28,6 @@
+ #if defined(__APPLE__)
+ #define HAVE_XLOCALE_H
+ #endif
+-
+- //! We check _GNU_SOURCE for glibc extensions here and it is always defined by g++ compiler.
+- #if defined(_GNU_SOURCE) && !defined(__ANDROID__)
+- #define HAVE_XLOCALE_H
+- #endif
+ #endif // ifndef HAVE_LOCALE_H
+
+ #ifdef HAVE_XLOCALE_H
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/OCE.git/commitdiff/c8d4370e4f4d0c23f651aefbb22c6f956c528d53
More information about the pld-cvs-commit
mailing list