summaryrefslogtreecommitdiff
path: root/devel/libmaa
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-05 18:47:37 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-05 18:47:37 +0000
commitbbdd1b61729237edf898541ff4ff0b5d4776a10a (patch)
tree785ffb59ebcee226c9b25df83b86e4348860d536 /devel/libmaa
parent3917e1255feca5b6d3daf261aa08177efb1be326 (diff)
downloadpkgsrc-bbdd1b61729237edf898541ff4ff0b5d4776a10a.tar.gz
Fix inline usage.
Diffstat (limited to 'devel/libmaa')
-rw-r--r--devel/libmaa/distinfo5
-rw-r--r--devel/libmaa/patches/patch-debug.c13
-rw-r--r--devel/libmaa/patches/patch-flags.c13
-rw-r--r--devel/libmaa/patches/patch-maa.h22
4 files changed, 52 insertions, 1 deletions
diff --git a/devel/libmaa/distinfo b/devel/libmaa/distinfo
index 94c5af056fa..4ff1bf68843 100644
--- a/devel/libmaa/distinfo
+++ b/devel/libmaa/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.4 2011/10/22 10:01:00 cheusov Exp $
+$NetBSD: distinfo,v 1.5 2012/07/05 18:47:37 joerg Exp $
SHA1 (libmaa-1.3.1.tar.gz) = b14ae76ea2c39b42e1b269e1ea5b156d9c3cdc9b
RMD160 (libmaa-1.3.1.tar.gz) = 49230793034a2ec5b0b4756d8e7eb2fdd94c3c15
Size (libmaa-1.3.1.tar.gz) = 287084 bytes
+SHA1 (patch-debug.c) = e42d7702dab5463882e24b049d4f98a9e009429c
+SHA1 (patch-flags.c) = 04b054ed652f16d31cf60ada860f56a4984b9e34
+SHA1 (patch-maa.h) = b49a58a9b394db4065202294ec2c17f734a19588
diff --git a/devel/libmaa/patches/patch-debug.c b/devel/libmaa/patches/patch-debug.c
new file mode 100644
index 00000000000..0344d725748
--- /dev/null
+++ b/devel/libmaa/patches/patch-debug.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-debug.c,v 1.1 2012/07/05 18:47:37 joerg Exp $
+
+--- debug.c.orig 2012-07-05 12:00:08.000000000 +0000
++++ debug.c
+@@ -173,7 +173,7 @@ void dbg_unset_flag( dbg_Type flag )
+ /* \doc This inlined function tests the |flag|, returning non-zero if the
+ |flag| is set, and zero otherwise. */
+
+-__inline__ int dbg_test( dbg_Type flag )
++int dbg_test( dbg_Type flag )
+ {
+ return TEST( flag, setFlags );
+ }
diff --git a/devel/libmaa/patches/patch-flags.c b/devel/libmaa/patches/patch-flags.c
new file mode 100644
index 00000000000..a0154ec3720
--- /dev/null
+++ b/devel/libmaa/patches/patch-flags.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-flags.c,v 1.1 2012/07/05 18:47:38 joerg Exp $
+
+--- flags.c.orig 2012-07-05 12:01:24.000000000 +0000
++++ flags.c
+@@ -142,7 +142,7 @@ void flg_set( const char *name )
+ /* \doc This inlined function tests the |flag|, returning non-zero if the
+ |flag| is set, and zero otherwise. */
+
+-__inline__ int flg_test( flg_Type flag )
++int flg_test( flg_Type flag )
+ {
+ return TEST( flag, setFlags );
+ }
diff --git a/devel/libmaa/patches/patch-maa.h b/devel/libmaa/patches/patch-maa.h
new file mode 100644
index 00000000000..50bdb8c608e
--- /dev/null
+++ b/devel/libmaa/patches/patch-maa.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-maa.h,v 1.1 2012/07/05 18:47:38 joerg Exp $
+
+--- maa.h.orig 2012-07-05 12:00:48.000000000 +0000
++++ maa.h
+@@ -438,7 +438,7 @@ extern void dbg_destroy( void
+ extern void dbg_set( const char *name );
+ extern void dbg_set_flag( dbg_Type flag );
+ extern void dbg_unset_flag( dbg_Type flag );
+-extern __inline__ int dbg_test( dbg_Type flag );
++extern int dbg_test( dbg_Type flag );
+ extern void dbg_list( FILE *stream );
+
+ #define PRINTF(flag,arg) if (dbg_test(flag)) { log_info arg; }
+@@ -450,7 +450,7 @@ typedef unsigned long int flg_Type;
+ extern void flg_register( flg_Type flag, const char *name );
+ extern void flg_destroy( void );
+ extern void flg_set( const char *name );
+-extern __inline__ int flg_test( flg_Type flag );
++extern int flg_test( flg_Type flag );
+ extern void flg_list( FILE *stream );
+ extern const char *flg_name( flg_Type flag );
+