File plplot-5.9.9-ada-pic.patch of Package plplot

Index: plplot-5.9.9/bindings/ada/CMakeLists.txt
===================================================================
--- plplot-5.9.9.orig/bindings/ada/CMakeLists.txt
+++ plplot-5.9.9/bindings/ada/CMakeLists.txt
@@ -20,6 +20,10 @@
 
 if(ENABLE_ada)
 
+  IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+   ADD_DEFINITIONS(-fPIC)
+  ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+
   set(SOURCE_LIST
     plplot.adb
     plplot.ads