File plplot-gcc-ada46-libs.patch of Package plplot

--- plplot-5.9.7/cmake/modules/ada.cmake.gnat46	2010-10-03 07:11:57.000000000 -0600
+++ plplot-5.9.7/cmake/modules/ada.cmake	2011-01-24 13:10:48.733012276 -0700
@@ -43,7 +43,7 @@
 endif(ENABLE_ada)
 
 if(ENABLE_ada)
-  find_library(GNAT_LIB NAMES gnat gnat-4.5 gnat-4.4 gnat-4.3 gnat-4.2 gnat-4.1)
+  find_library(GNAT_LIB NAMES gnat gnat-4.7 gnat-4.6 gnat-4.5 gnat-4.4 gnat-4.3 gnat-4.2 gnat-4.1)
   if(NOT GNAT_LIB)
     message(STATUS "WARNING: "
       "gnat library not found. Disabling ada bindings")

openSUSE Build Service is sponsored by