File plplot-5.9.9-ada-pic.patch of Package plplot
Index: plplot-5.15.0/bindings/ada/CMakeLists.txt
===================================================================
--- plplot-5.15.0.orig/bindings/ada/CMakeLists.txt
+++ plplot-5.15.0/bindings/ada/CMakeLists.txt
@@ -18,6 +18,10 @@
if(ENABLE_ada)
+ IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+ ADD_DEFINITIONS(-fPIC)
+ ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+
# Specification files containing, e.g., variables, types, and subprogramme (subprocedure) declarations.
set(SPEC_SOURCE_LIST
plplot.ads