Accepting request 35767 from Education:Salome:Factory
Copy from Education:Salome:Factory/vtk via accept of submit request 35767 revision 11. Request was accepted with message: reviewed ok. OBS-URL: https://build.opensuse.org/request/show/35767 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=18
This commit is contained in:
parent
77d7a7a871
commit
c851b18e24
12
vtk-5.4.2-string-len.patch
Normal file
12
vtk-5.4.2-string-len.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr VTK-orig/Utilities/kwsys/SystemInformation.cxx VTK/Utilities/kwsys/SystemInformation.cxx
|
||||
--- VTK-ori/Utilities/kwsys/SystemInformation.cxx 2009-02-12 16:08:15.000000000 +0100
|
||||
+++ VTK/Utilities/kwsys/SystemInformation.cxx 2010-03-25 11:34:27.197122890 +0100
|
||||
@@ -135,7 +135,7 @@
|
||||
void RunMemoryCheck();
|
||||
public:
|
||||
#define VENDOR_STRING_LENGTH (12 + 1)
|
||||
-#define CHIPNAME_STRING_LENGTH (48 + 1)
|
||||
+#define CHIPNAME_STRING_LENGTH (61 + 1)
|
||||
#define SERIALNUMBER_STRING_LENGTH (29 + 1)
|
||||
|
||||
typedef struct tagID
|
8
vtk.changes
Normal file
8
vtk.changes
Normal file
@ -0,0 +1,8 @@
|
||||
------------------------------------------------------------------
|
||||
Thu Mar 25 11:50:35 CET 2010 - boris@steki.net
|
||||
|
||||
- Extended buffer size in VTK/Utilities/kwsys/SystemInformation.cxx
|
||||
to fix buffer overflow report from rpmlint
|
||||
|
||||
|
||||
|
2
vtk.spec
2
vtk.spec
@ -9,6 +9,7 @@ Group: System/Libraries
|
||||
URL: http://www.vtk.org
|
||||
Source0: vtk-%{version}.tar.gz
|
||||
Patch0: vtk-5.4.2-pythondestdir.patch
|
||||
Patch1: vtk-5.4.2-string-len.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
BuildRequires: cmake tcl-devel tk-devel libqt4-devel python-devel
|
||||
@ -90,6 +91,7 @@ Testing programs for VTK
|
||||
%prep
|
||||
%setup -n VTK -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata
|
||||
# otherwise it will break on symlinks.
|
||||
|
Loading…
Reference in New Issue
Block a user