Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From bf455986557e88cce6a2a85448798e1dc05541f2 Mon Sep 17 00:00:00 2001
|
||||
From: Bas Couwenberg <sebastic@debian.org>
|
||||
Date: Tue, 23 Sep 2025 15:59:57 -0700
|
||||
Subject: [PATCH] Fix build failure with GCC 15 (bool is keyword).
|
||||
|
||||
https://gcc.gnu.org/gcc-15/porting_to.html#c23-new-keywords
|
||||
|
||||
Upstream: https://github.com/OSGeo/shapelib/commit/bf455986557e88cce6a2a85448798e1dc05541f2
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
dbfadd.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dbfadd.c b/dbfadd.c
|
||||
index b464432..e0a6ef5 100644
|
||||
--- a/dbfadd.c
|
||||
+++ b/dbfadd.c
|
||||
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
|
||||
const int iRecord = DBFGetRecordCount(hDBF);
|
||||
|
||||
SHPDate date;
|
||||
- char bool;
|
||||
+ char boolean;
|
||||
|
||||
// Loop assigning the new field values.
|
||||
for (int i = 0; i < DBFGetFieldCount(hDBF); i++)
|
||||
@@ -64,9 +64,9 @@ int main(int argc, char **argv)
|
||||
}
|
||||
else if (DBFGetFieldInfo(hDBF, i, NULL, NULL, NULL) == FTLogical)
|
||||
{
|
||||
- if (1 == sscanf(argv[i + 2], "%c", &bool))
|
||||
+ if (1 == sscanf(argv[i + 2], "%c", &boolean))
|
||||
{
|
||||
- DBFWriteLogicalAttribute(hDBF, iRecord, i, bool);
|
||||
+ DBFWriteLogicalAttribute(hDBF, iRecord, i, boolean);
|
||||
}
|
||||
}
|
||||
else
|
||||
14
package/shapelib/Config.in
Normal file
14
package/shapelib/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_SHAPELIB
|
||||
bool "shapelib"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
The Shapefile C Library provides the ability to write simple
|
||||
C programs for reading, writing and updating (to a limited
|
||||
extent) ESRI Shapefiles, and the associated attribute file
|
||||
(.dbf).
|
||||
|
||||
http://shapelib.maptools.org/
|
||||
|
||||
comment "shapelib needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
package/shapelib/shapelib.hash
Normal file
5
package/shapelib/shapelib.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 4b74a36ced94e9a7bea401157e664addcc5be251e7df7f88d4674361da012c21 shapelib-1.6.2.tar.gz
|
||||
sha256 681e386e44a19d7d0674b4320272c90e66b6610b741e7e6305f8219c42e85366 LICENSE-LGPL
|
||||
sha256 3f46082162242563bf4f43b091871cb19064bc5a398c6d2b024f6b64c6710516 LICENSE-MIT
|
||||
sha256 15e1205bb007d4d7821f7b1cc461ba8d051647e86dbc9baf1bb6f68b10588eeb web/license.html
|
||||
14
package/shapelib/shapelib.mk
Normal file
14
package/shapelib/shapelib.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# shapelib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SHAPELIB_VERSION = 1.6.2
|
||||
SHAPELIB_SITE = http://download.osgeo.org/shapelib
|
||||
SHAPELIB_LICENSE = MIT or LGPL-2.0
|
||||
SHAPELIB_LICENSE_FILES = LICENSE-LGPL LICENSE-MIT web/license.html
|
||||
SHAPELIB_CPE_ID_VENDOR = osgeo
|
||||
SHAPELIB_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user