pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/binutils Fix inline usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a45566d5f67a
branches:  trunk
changeset: 603348:a45566d5f67a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 04 16:07:02 2012 +0000

description:
Fix inline usage.

diffstat:

 cross/binutils/distinfo                         |   3 +-
 cross/binutils/patches/patch-opcodes_cgen-ops.h |  35 +++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 53863666b571 -r a45566d5f67a cross/binutils/distinfo
--- a/cross/binutils/distinfo   Fri May 04 16:06:13 2012 +0000
+++ b/cross/binutils/distinfo   Fri May 04 16:07:02 2012 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2006/12/29 23:00:32 wulf Exp $
+$NetBSD: distinfo,v 1.7 2012/05/04 16:07:02 joerg Exp $
 
 SHA1 (binutils-2.17.tar.gz) = a9ac9ac4e918568b297033cdc44a38beef8f9f6a
 RMD160 (binutils-2.17.tar.gz) = bc5e8b23457f0e2e91f70b93eff00134e2d50434
 Size (binutils-2.17.tar.gz) = 18196360 bytes
 SHA1 (patch-aa) = 9b1dfc38135cc7fe34f26809a444898001858fb1
 SHA1 (patch-af) = 274a98c45fb78af64ed01b59afe3cfcdd3312c86
+SHA1 (patch-opcodes_cgen-ops.h) = 4dbe5cf86675c4f6236582aedf0f1318442dd288
diff -r 53863666b571 -r a45566d5f67a cross/binutils/patches/patch-opcodes_cgen-ops.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/binutils/patches/patch-opcodes_cgen-ops.h   Fri May 04 16:07:02 2012 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-opcodes_cgen-ops.h,v 1.1 2012/05/04 16:07:02 joerg Exp $
+
+--- opcodes/cgen-ops.h.orig    2012-04-27 20:34:26.000000000 +0000
++++ opcodes/cgen-ops.h
+@@ -27,7 +27,11 @@ with this program; if not, write to the 
+ 
+ #if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE)
+ #define SEMOPS_DEFINE_INLINE
+-#define SEMOPS_INLINE extern inline
++#  ifdef __GNUC_STDC_INLINE__
++#  define SEMOPS_INLINE static inline
++#  else
++#  define SEMOPS_INLINE extern inline
++#  endif
+ #else
+ #define SEMOPS_INLINE
+ #endif
+@@ -298,6 +302,8 @@ extern SI TRUNCDISI (DI);
+    significant and word number 0 is the most significant word.
+    ??? May also wish an endian-dependent version.  Later.  */
+ 
++#ifndef SEMOPS_DEFINE_INLINE
++
+ QI SUBWORDSIQI (SI, int);
+ HI SUBWORDSIHI (SI, int);
+ SI SUBWORDSFSI (SF);
+@@ -314,7 +320,7 @@ SI SUBWORDTFSI (TF, int);
+ UQI SUBWORDSIUQI (SI, int);
+ UQI SUBWORDDIUQI (DI, int);
+ 
+-#ifdef SEMOPS_DEFINE_INLINE
++#else
+ 
+ SEMOPS_INLINE SF
+ SUBWORDSISF (SI in)



Home | Main Index | Thread Index | Old Index