spl.js 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,12 @@
19
19
  "Bash(npx tsc:*)",
20
20
  "Bash(timeout 120 npm run test:chrome)",
21
21
  "Bash(npm run build:types:*)",
22
- "Bash(npm run typecheck:*)"
22
+ "Bash(npm run typecheck:*)",
23
+ "WebFetch(domain:raw.githubusercontent.com)"
23
24
  ]
25
+ },
26
+ "sandbox": {
27
+ "enabled": false,
28
+ "autoAllowBashIfSandboxed": false
24
29
  }
25
30
  }
package/Makefile CHANGED
@@ -204,6 +204,8 @@ spatialite-src:
204
204
  [ -d $(SPATIALITE_SRC) ] || (mkdir -p $(SPATIALITE_SRC) && cd $(SPATIALITE_SRC) && fossil open $(DOWNLOAD_DIR)/libspatialite.fossil $(SPATIALITE_COMMIT));
205
205
 
206
206
  # remove some irrelevant tests that will fail (still some xls tests failing)
207
+ # emconfigure may not auto-detect GEOS version guards during cross-compilation,
208
+ # so we set them explicitly to ensure all GEOS functions are included. (#41)
207
209
  spatialite-conf: spatialite-src
208
210
  sed -i '/check_extension/d' $(SPATIALITE_SRC)/test/Makefile.am;
209
211
  sed -i '/check_sql_stmt_legacy/d' $(SPATIALITE_SRC)/test/Makefile.am;
@@ -214,7 +216,7 @@ spatialite-conf: spatialite-src
214
216
  cd $(SPATIALITE_SRC); \
215
217
  aclocal && automake; \
216
218
  emconfigure ./configure $(PREFIX) --host=none-none-none \
217
- CFLAGS="$(EMX_FLAGS) -DENABLE_MINIZIP -UOMIT_PROJ -DPROJ_NEW -ULOADABLE_EXTENSION -I$(ZLIB_SRC)/contrib" \
219
+ CFLAGS="$(EMX_FLAGS) -DENABLE_MINIZIP -UOMIT_PROJ -DPROJ_NEW -ULOADABLE_EXTENSION -DGEOS_ADVANCED -DGEOS_370 -DGEOS_390 -DGEOS_3100 -DGEOS_3110 -I$(ZLIB_SRC)/contrib" \
218
220
  CPPFLAGS="-I$(BC_DIR)/include" \
219
221
  LDFLAGS="-L$(BC_DIR)/lib" \
220
222
  PKG_CONFIG_LIBDIR="$(BC_DIR)/lib/pkgconfig" \