diff options
author | joerg <joerg@pkgsrc.org> | 2011-08-20 15:28:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-08-20 15:28:09 +0000 |
commit | 651e7cdfcf9f599e5ff31d7c44c5cd2599826f4b (patch) | |
tree | ab2831778c2e335abc52292ae9619861320a356c /devel/allegro | |
parent | 16dbd17aba03b195191d041e513a69ef3d717cc5 (diff) | |
download | pkgsrc-651e7cdfcf9f599e5ff31d7c44c5cd2599826f4b.tar.gz |
Deal with C99 vs GNU89 inline semantic
Diffstat (limited to 'devel/allegro')
-rw-r--r-- | devel/allegro/distinfo | 3 | ||||
-rw-r--r-- | devel/allegro/patches/patch-include-allegro-internal-alconfig.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/allegro/distinfo b/devel/allegro/distinfo index 62698653c24..0a62784baf2 100644 --- a/devel/allegro/distinfo +++ b/devel/allegro/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2010/09/18 08:02:29 obache Exp $ +$NetBSD: distinfo,v 1.19 2011/08/20 15:28:09 joerg Exp $ SHA1 (allegro-4.2.2.tar.gz) = 1526fc87e028db9de0b94fd8d0697e47b91b15b7 RMD160 (allegro-4.2.2.tar.gz) = 4cefa321f38aa955d857ac3b74e529bc8e044fe9 @@ -9,3 +9,4 @@ SHA1 (patch-ad) = 52f694e1b0053cff94c53ee10f603d535eba5fa5 SHA1 (patch-ae) = 32e5ecd77e58bb6926c207c668755043448457f9 SHA1 (patch-ax) = b79d1bf82fc0e9bba9b7d81e6d2005f35a217ca0 SHA1 (patch-de) = 6233472355f49442a5278e1f49dd888f51433a93 +SHA1 (patch-include-allegro-internal-alconfig.h) = 4d6b9453e52f31b7d5ce95458ae087a36e86bc3a diff --git a/devel/allegro/patches/patch-include-allegro-internal-alconfig.h b/devel/allegro/patches/patch-include-allegro-internal-alconfig.h new file mode 100644 index 00000000000..5ffd39b49ba --- /dev/null +++ b/devel/allegro/patches/patch-include-allegro-internal-alconfig.h @@ -0,0 +1,13 @@ +$NetBSD: patch-include-allegro-internal-alconfig.h,v 1.1 2011/08/20 15:28:09 joerg Exp $ + +--- include/allegro/internal/alconfig.h.orig 2011-08-19 14:59:33.000000000 +0000 ++++ include/allegro/internal/alconfig.h +@@ -73,7 +73,7 @@ + #define ALLEGRO_GCC + + #ifndef AL_INLINE +- #ifdef __cplusplus ++ #if defined(__cplusplus) || (defined(__GNUC_STDC_INLINE__) && __GNUC_STDC_INLINE__) + #define AL_INLINE(type, name, args, code) \ + static inline type name args; \ + static inline type name args code |