-From ths@networkno.de Thu Oct 27 15:44:14 2005
-Received: (at submit) by bugs.debian.org; 27 Oct 2005 22:44:14 +0000
-Return-path: <ths@networkno.de>
-Received: from mx02.qsc.de [213.148.130.14]
- by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
- id 1EVGTm-0002nQ-00; Thu, 27 Oct 2005 15:44:14 -0700
-Received: from port-195-158-169-21.dynamic.qsc.de ([195.158.169.21] helo=hattusa.textio)
- by mx02.qsc.de with esmtp (Exim 3.35 #1)
- id 1EVGTH-00020N-00
- for submit@bugs.debian.org; Fri, 28 Oct 2005 00:43:43 +0200
-Received: from ths by hattusa.textio with local (Exim 4.54)
- id 1EVGTG-000263-9P
- for submit@bugs.debian.org; Fri, 28 Oct 2005 00:43:42 +0200
-Date: Fri, 28 Oct 2005 00:43:42 +0200
-To: submit@bugs.debian.org
-Subject: [mips/mipsel] FTBFS due to missing arch-specific implementation
-Message-ID: <20051027224341.GX5721@hattusa.textio>
-MIME-Version: 1.0
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: inline
-User-Agent: Mutt/1.5.11
-From: Thiemo Seufer <ths@networkno.de>
-Delivered-To: submit@bugs.debian.org
-X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
- (1.212-2003-09-23-exp) on spohr.debian.org
-X-Spam-Level:
-X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
- autolearn=no version=2.60-bugs.debian.org_2005_01_02
-
-Package: libatomic-ops
-Version: 1.0-3
-Tags: patch
-
-Libatomic-ops currently FTBFS on mips/mipsel because there is no
-arch-specific implementation, and the generic pthread isn't configured.
-
-The appended patch adds a basic implementation for linux.
-
-
-Thiemo
-
-
---- libatomic-ops-1.0.away/src/atomic_ops/sysdeps/Makefile.am 2005-08-03 02:05:18.000000000 +0200
-+++ libatomic-ops-1.0/src/atomic_ops/sysdeps/Makefile.am 2005-10-27 20:59:59.000000000 +0200
-@@ -26,7 +26,7 @@ nobase_sysdep_HEADERS= generic_pthread.h
- gcc/alpha.h gcc/arm.h gcc/x86.h \
- gcc/hppa.h gcc/ia64.h \
+diff --git a/src/atomic_ops.h b/src/atomic_ops.h
+index c23f30b..791b360 100755
+--- a/src/atomic_ops.h
++++ b/src/atomic_ops.h
+@@ -220,6 +220,9 @@
+ # if defined(__cris__) || defined(CRIS)
+ # include "atomic_ops/sysdeps/gcc/cris.h"
+ # endif
++# if defined(__mips__)
++# include "atomic_ops/sysdeps/gcc/mips.h"
++# endif
+ #endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */
+
+ #if defined(__INTEL_COMPILER) && !defined(AO_USE_PTHREAD_DEFS)
+diff --git a/src/atomic_ops/sysdeps/Makefile.am b/src/atomic_ops/sysdeps/Makefile.am
+index 74122b4..d6737c0 100644
+--- a/src/atomic_ops/sysdeps/Makefile.am
++++ b/src/atomic_ops/sysdeps/Makefile.am
+@@ -29,6 +29,7 @@ nobase_sysdep_HEADERS= generic_pthread.h \