libgtkada2 (2.14.2-4) 02-commands.patch

Summary

 src/glade/glade.ads   |    2 +-
 src/opengl/gdk-gl.adb |    2 +-
 src/tools/gate.in     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Link the commands (glade and gdk-gl) to the proper library names.

-- 
Ludovic Brenta.

Index: libgtkada2-2.12.0/src/glade/glade.ads
===================================================================
--- libgtkada2-2.12.0.orig/src/glade/glade.ads
+++ libgtkada2-2.12.0/src/glade/glade.ads
@@ -31,7 +31,7 @@
 
 package Glade is
 
-   pragma Linker_Options ("-lgtkada_glade");
+   pragma Linker_Options ("-lgtkada2_glade");
 
    --------------------------------------------
    -- dynamic loading of libglade extensions --
Index: libgtkada2-2.12.0/src/opengl/gdk-gl.adb
===================================================================
--- libgtkada2-2.12.0.orig/src/opengl/gdk-gl.adb
+++ libgtkada2-2.12.0/src/opengl/gdk-gl.adb
@@ -25,7 +25,7 @@
 
 package body Gdk.GL is
 
-   pragma Linker_Options ("-lgtkada_gl");
+   pragma Linker_Options ("-lgtkada2_gl");
 
    -----------
    -- Query --
Index: libgtkada2-2.12.0/src/tools/gate.in
===================================================================
--- libgtkada2-2.12.0.orig/src/tools/gate.in
+++ libgtkada2-2.12.0/src/tools/gate.in
@@ -36,7 +36,7 @@
 /bin/rm -rf $tmp
 mkdir $tmp
 wd=`pwd`
-gate-in.exe $file > $tmp/gate.ada
+/usr/lib/ada/adalib/gtkada2/bin/gate2-in.exe $file > $tmp/gate.ada
 
 if [ $? != 0 ]; then
   echo "Couldn't generate Ada code. Exiting."