spack/var/spack/repos/builtin/packages/ffb/revocap_refiner.patch

25 lines
1.1 KiB
Diff
Raw Normal View History

diff -uprN FFB8.org/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Bucket.h FFB8.new/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Bucket.h
--- FFB8.org/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Bucket.h 2013-03-26 10:09:31.000000000 +0900
+++ FFB8.new/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Bucket.h 2020-05-29 16:35:09.690918296 +0900
@@ -64,7 +64,7 @@ public:
numY = this->ynum;
numZ = this->znum;
};
- void getSize(void) const{
+ int getSize(void) const{
return this->xnum * this->ynum * this->znum;
};
diff -uprN FFB8.org/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Common.h FFB8.new/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Common.h
--- FFB8.org/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Common.h 2013-03-26 10:09:31.000000000 +0900
+++ FFB8.new/lib/src/REVOCAP_Refiner-0.4.3/Geometry/kmb_Common.h 2020-05-29 16:35:48.756606155 +0900
@@ -13,7 +13,7 @@
# #
----------------------------------------------------------------------*/
#pragma once
-
+#include <cstdlib>
#ifndef PI
#define PI 3.1415926535897932384626
#endif