[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#482433: gnat-4.3 doesn't support libraries on mips/mipsel



Package: gnat-4.3
Version: 4.3.0-5
Severity: important
Tags: patch

Gnat 4.3 doesn't support libraries on mips/mipsel, as the build logs of
ahven and libxmlada show. I believe this is an unintentional omission.
The appended patch fixes it.


Thiemo


diff -urpN gnat-4.3-4.3.0.old/debian/patches/ada-libgnatprj.dpatch gnat-4.3-4.3.0/debian/patches/ada-libgnatprj.dpatch
--- gnat-4.3-4.3.0.old/debian/patches/ada-libgnatprj.dpatch	2008-05-08 17:04:24.000000000 +0100
+++ gnat-4.3-4.3.0/debian/patches/ada-libgnatprj.dpatch	2008-05-22 13:27:38.000000000 +0100
@@ -251,7 +251,7 @@ Index: libgnatprj/configure
 ===================================================================
 --- /dev/null
 +++ libgnatprj/configure
-@@ -0,0 +1,3138 @@
+@@ -0,0 +1,3139 @@
 +#! /bin/sh
 +# Guess values for system-dependent variables and create Makefiles.
 +# Generated by GNU Autoconf 2.61.
@@ -2306,6 +2306,7 @@ Index: libgnatprj/configure
 +  | alpha*-*-linux* \
 +  | sparc*-*-linux* \
 +  | hppa*-*-linux* \
++  | mips*-*-linux* \
 +  | *x86_64-*-linux*)
 +    TOOLS_TARGET_PAIRS="\
 +    mlib-tgt-specific.adb<mlib-tgt-linux.adb \
@@ -4662,7 +4663,7 @@ Index: libgnatprj/configure.ac
 ===================================================================
 --- /dev/null
 +++ libgnatprj/configure.ac
-@@ -0,0 +1,144 @@
+@@ -0,0 +1,145 @@
 +# Configure script for libada.
 +#   Copyright 2003, 2004 Free Software Foundation, Inc.
 +#
@@ -4745,6 +4746,7 @@ Index: libgnatprj/configure.ac
 +  | alpha*-*-linux* \
 +  | sparc*-*-linux* \
 +  | hppa*-*-linux* \
++  | mips*-*-linux* \
 +  | *x86_64-*-linux*)
 +    TOOLS_TARGET_PAIRS="\
 +    mlib-tgt-specific.adb<mlib-tgt-linux.adb \
diff -urpN gnat-4.3-4.3.0.old/debian/patches/ada-mips.dpatch gnat-4.3-4.3.0/debian/patches/ada-mips.dpatch
--- gnat-4.3-4.3.0.old/debian/patches/ada-mips.dpatch	2008-05-08 17:04:24.000000000 +0100
+++ gnat-4.3-4.3.0/debian/patches/ada-mips.dpatch	2008-05-22 13:33:35.000000000 +0100
@@ -28,7 +28,7 @@ Index: gcc/ada/Makefile.in
 ===================================================================
 --- gcc/ada/Makefile.in.orig	2008-04-04 11:17:38.721366234 +0200
 +++ gcc/ada/Makefile.in	2008-04-04 11:20:47.530513605 +0200
-@@ -1362,6 +1362,30 @@
+@@ -1362,6 +1362,34 @@
    LIBRARY_VERSION := $(LIB_VERSION)
  endif
  
@@ -48,6 +48,10 @@ Index: gcc/ada/Makefile.in
 +  s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
 +  system.ads<system-linux-mips.ads
 +
++  TOOLS_TARGET_PAIRS =  \
++    mlib-tgt-specific.adb<mlib-tgt-linux.adb \
++    indepsw.adb<indepsw-gnu.adb
++
 +  EH_MECHANISM=-gcc
 +  THREADSLIB = -lpthread
 +  GNATLIB_SHARED = gnatlib-shared-dual
diff -urpN gnat-4.3-4.3.0.old/debian/patches/ada-mipsel.dpatch gnat-4.3-4.3.0/debian/patches/ada-mipsel.dpatch
--- gnat-4.3-4.3.0.old/debian/patches/ada-mipsel.dpatch	2008-05-08 17:04:24.000000000 +0100
+++ gnat-4.3-4.3.0/debian/patches/ada-mipsel.dpatch	2008-05-22 13:33:19.000000000 +0100
@@ -28,7 +28,7 @@ Index: gcc/ada/Makefile.in
 ===================================================================
 --- gcc/ada/Makefile.in.orig	2008-04-04 11:33:17.995925666 +0200
 +++ gcc/ada/Makefile.in	2008-04-04 11:33:58.156214700 +0200
-@@ -1384,6 +1384,30 @@
+@@ -1384,6 +1384,34 @@
    LIBRARY_VERSION := $(LIB_VERSION)
  endif
  
@@ -48,6 +48,10 @@ Index: gcc/ada/Makefile.in
 +  s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
 +  system.ads<system-linux-mipsel.ads
 +
++  TOOLS_TARGET_PAIRS =  \
++    mlib-tgt-specific.adb<mlib-tgt-linux.adb \
++    indepsw.adb<indepsw-gnu.adb
++
 +  EH_MECHANISM=-gcc
 +  THREADSLIB = -lpthread
 +  GNATLIB_SHARED = gnatlib-shared-dual



Reply to: