]> git.pld-linux.org Git - packages/cdflib.git/commitdiff
- added no-common patch (fixes build with -fno-common, gcc 10 default) master auto/th/cdflib-3.7.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 Nov 2020 19:06:17 +0000 (20:06 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 Nov 2020 19:06:17 +0000 (20:06 +0100)
cdflib-no-common.patch [new file with mode: 0644]
cdflib.spec

diff --git a/cdflib-no-common.patch b/cdflib-no-common.patch
new file mode 100644 (file)
index 0000000..e638f05
--- /dev/null
@@ -0,0 +1,40 @@
+--- cdf37_1-dist/src/include/cdfedit.h.orig    2019-01-24 20:17:20.000000000 +0100
++++ cdf37_1-dist/src/include/cdfedit.h 2020-11-12 19:56:15.464712277 +0100
+@@ -260,6 +260,7 @@
+ Logical browseOnly;             /* TRUE if the CDF is being browsed. */
+ Logical compressed;             /* TRUE if the currently open CDF is
+                                  compressed. */
++Logical ziso8601;
+ #else
+ extern Logical report[3];
+ extern Logical dumpStatistics;
+@@ -269,8 +270,8 @@
+ extern char olhFile[];
+ extern Logical browseOnly;
+ extern Logical compressed;
++extern Logical ziso8601;
+ #endif
+-Logical ziso8601;
+ /******************************************************************************
+ * Function prototypes.
+--- cdf37_1-dist/src/include/cdfstats.h.orig   2019-01-24 18:58:21.000000000 +0100
++++ cdf37_1-dist/src/include/cdfstats.h        2020-11-12 20:00:34.328044604 +0100
+@@ -102,6 +102,7 @@
+ long fillvalAttrN;
+ long formatAttrN;
+ long majority;
++Logical ziso8601;
+ #else
+ extern Logical updateValids;
+ extern Logical updateScales;
+@@ -116,8 +117,8 @@
+ extern long fillvalAttrN;
+ extern long formatAttrN;
+ extern long majority;
++extern Logical ziso8601;
+ #endif
+-Logical ziso8601;
+ /******************************************************************************
+ * VarStruct.
+ ******************************************************************************/
index e73314f48635863ed9e64e0bfa827c0de27aa320..1d7083f3abe9c0414e47c9f540c07b4b173ab76a 100644 (file)
@@ -10,6 +10,7 @@ Source0:      https://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/cdf37_1/linux/cdf37_
 # Source0-md5: 0f434ffbb7f6ffe39b2bb20c5a940aee
 Patch0:                %{name}-opt.patch
 Patch1:                %{name}-soname.patch
+Patch2:                %{name}-no-common.patch
 URL:           https://cdf.gsfc.nasa.gov/cdf_home.html
 BuildRequires: gcc-fortran >= 6:4.4.2
 BuildRequires: ncurses-devel
@@ -62,6 +63,7 @@ API Javy do biblioteki CDF.
 %setup -q -n cdf37_1-dist
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # note: included zlib (src/lib/zlib) is modified (at last public symbol names)
 
This page took 0.070628 seconds and 4 git commands to generate.