FreeBSD Bugzilla – Attachment 135394 Details for
Bug 180257
[patch] devel/gdb: add USE_CSTD=gnu89 for clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gdb.patch
gdb.patch (text/plain), 1.90 KB, created by
Tijl Coosemans
on 2013-07-04 14:50:00 UTC
(
hide
)
Description:
gdb.patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2013-07-04 14:50:00 UTC
Size:
1.90 KB
patch
obsolete
>Index: devel/gdb/Makefile >=================================================================== >--- devel/gdb/Makefile (revision 322214) >+++ devel/gdb/Makefile (working copy) >@@ -13,6 +13,7 @@ COMMENT= GNU GDB of newer version than c > LICENSE= GPLv3 > > USE_BZIP2= yes >+USE_CSTD= gnu89 > USE_GMAKE= yes > USES= iconv > GNU_CONFIGURE= yes >Index: devel/gdb/files/patch-include-cgen-basic-ops.h >=================================================================== >--- devel/gdb/files/patch-include-cgen-basic-ops.h (revision 322214) >+++ devel/gdb/files/patch-include-cgen-basic-ops.h (working copy) >@@ -1,43 +0,0 @@ >---- include/cgen/basic-ops.h.orig 2013-03-07 17:31:21.000000000 +0100 >-+++ include/cgen/basic-ops.h 2013-03-07 17:31:28.000000000 +0100 >-@@ -24,11 +24,16 @@ >- >- #include <assert.h> >- >--#if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE) >-+#if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE) && ! defined (__clang__) >- #define SEMOPS_DEFINE_INLINE >- #define SEMOPS_INLINE extern inline >- #else >--#define SEMOPS_INLINE >-+# if defined (__clang__) && ! defined (SEMOPS_DEFINE_INLINE) >-+# define SEMOPS_DEFINE_INLINE >-+# define SEMOPS_INLINE static inline >-+# else >-+# define SEMOPS_INLINE >-+# endif >- #endif >- >- /* These don't really have a mode. */ >-@@ -295,11 +300,16 @@ >- significant and word number 0 is the most significant word. >- ??? May also wish an endian-dependent version. Later. */ >- >--QI SUBWORDSIQI (SI, int); >--HI SUBWORDSIHI (SI, int); >--QI SUBWORDDIQI (DI, int); >--HI SUBWORDDIHI (DI, int); >--SI SUBWORDDISI (DI, int); >-+#if defined (__clang__) && defined (SEMOPS_DEFINE_INLINE) >-+#define SEMOPS_STATIC static >-+#else >-+#define SEMOPS_STATIC >-+#endif >-+SEMOPS_STATIC QI SUBWORDSIQI (SI, int); >-+SEMOPS_STATIC HI SUBWORDSIHI (SI, int); >-+SEMOPS_STATIC QI SUBWORDDIQI (DI, int); >-+SEMOPS_STATIC HI SUBWORDDIHI (DI, int); >-+SEMOPS_STATIC SI SUBWORDDISI (DI, int); >- >- #ifdef SEMOPS_DEFINE_INLINE >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180257
: 135394