]> git.pld-linux.org Git - packages/OCE.git/commitdiff
- up to 0.18.2 auto/th/OCE-0.18.2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 15 Aug 2017 20:48:34 +0000 (22:48 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 15 Aug 2017 20:48:34 +0000 (22:48 +0200)
OCE.spec
oce-build.patch [new file with mode: 0644]

index 48dd2ab4b959e8f50235645d435a6cae4c8d35cd..f8b03f08f0f636595294f687d30b5d39ba13f0f7 100644 (file)
--- 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 (file)
index 0000000..b7cc7fa
--- /dev/null
@@ -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
This page took 0.179217 seconds and 4 git commands to generate.