aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/source/apps/cct.rst11
-rw-r--r--docs/source/apps/common_man.rst12
-rw-r--r--docs/source/apps/cs2cs.rst11
-rw-r--r--docs/source/apps/geod.rst11
-rw-r--r--docs/source/apps/gie.rst11
-rw-r--r--docs/source/apps/proj.rst11
-rw-r--r--docs/source/apps/projinfo.rst11
-rw-r--r--docs/source/apps/projsync.rst2
-rw-r--r--src/filemanager.cpp2
9 files changed, 20 insertions, 62 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index b8504b8d..b49a0e72 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -242,13 +242,4 @@ Hence, in honour of *cct* (the geodesist) this is :program:`cct` (the program).
**proj(1)**, **cs2cs(1)**, **geod(1)**, **gie(1)**, **projinfo(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/common_man.rst b/docs/source/apps/common_man.rst
new file mode 100644
index 00000000..28a39ba9
--- /dev/null
+++ b/docs/source/apps/common_man.rst
@@ -0,0 +1,12 @@
+.. only:: man
+
+ Bugs
+ ****
+
+ A list of known bugs can be found at https://github.com/OSGeo/PROJ/issues
+ where new bug reports can be submitted to.
+
+ Home page
+ *********
+
+ https://proj.org/
diff --git a/docs/source/apps/cs2cs.rst b/docs/source/apps/cs2cs.rst
index 4706459a..909912df 100644
--- a/docs/source/apps/cs2cs.rst
+++ b/docs/source/apps/cs2cs.rst
@@ -317,13 +317,4 @@ outputs
**proj(1)**, **cct(1)**, **geod(1)**, **gie(1)**, **projinfo(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/geod.rst b/docs/source/apps/geod.rst
index 5267c184..a6129bf8 100644
--- a/docs/source/apps/geod.rst
+++ b/docs/source/apps/geod.rst
@@ -202,13 +202,4 @@ Further reading
**proj(1)**, **cs2cs(1)**, **cct(1)**, **gie(1)**, **projinfo(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/gie.rst b/docs/source/apps/gie.rst
index a1c7cb56..73d29e04 100644
--- a/docs/source/apps/gie.rst
+++ b/docs/source/apps/gie.rst
@@ -395,13 +395,4 @@ So in honour, and hopefully also in the spirit, of Gerald Ian Evenden
**proj(1)**, **cs2cs(1)**, **cct(1)**, **geod(1)**, **projinfo(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/proj.rst b/docs/source/apps/proj.rst
index 992746f6..0c62ec7e 100644
--- a/docs/source/apps/proj.rst
+++ b/docs/source/apps/proj.rst
@@ -216,13 +216,4 @@ data will appear as three lines of::
**cs2cs(1)**, **cct(1)**, **geod(1)**, **gie(1)**, **projinfo(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst
index 826cd244..15fa4dd2 100644
--- a/docs/source/apps/projinfo.rst
+++ b/docs/source/apps/projinfo.rst
@@ -450,13 +450,4 @@ Output:
**cs2cs(1)**, **cct(1)**, **geod(1)**, **gie(1)**, **proj(1)**, **projsync(1)**
- Bugs
- ****
-
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
- where new bug reports can be submitted to.
-
- Home page
- *********
-
- https://proj.org/
+ .. include:: common_man.rst
diff --git a/docs/source/apps/projsync.rst b/docs/source/apps/projsync.rst
index d79bd87b..db3ff16d 100644
--- a/docs/source/apps/projsync.rst
+++ b/docs/source/apps/projsync.rst
@@ -149,7 +149,7 @@ Examples
Bugs
****
- A list of know bugs can be found at https://github.com/OSGeo/PROJ/issues
+ A list of known bugs can be found at https://github.com/OSGeo/PROJ/issues
where new bug reports can be submitted to.
Bugs specific to resource files should be submitted to
https://github.com/OSGeo/PROJ-data/issues
diff --git a/src/filemanager.cpp b/src/filemanager.cpp
index 43a705fc..aa1db6e5 100644
--- a/src/filemanager.cpp
+++ b/src/filemanager.cpp
@@ -1267,7 +1267,7 @@ static std::string pj_get_relative_share_proj_internal_no_check() {
constexpr char dir_sep = '\\';
#else
Dl_info info;
- if (!dladdr((const void *)pj_get_relative_share_proj, &info)) {
+ if (!dladdr((void *)pj_get_relative_share_proj, &info)) {
return std::string();
}
std::string out(info.dli_fname);