summaryrefslogtreecommitdiff
path: root/filesystems/fuse-mp3fs
diff options
context:
space:
mode:
authorwiz <wiz>2012-03-29 11:40:19 +0000
committerwiz <wiz>2012-03-29 11:40:19 +0000
commit44f1a3a8481f8daeab188c91bf908bb867487dfd (patch)
treec9cd77543d555fa66952bcd7d78bdf83d498415e /filesystems/fuse-mp3fs
parentcc1b414d7972abffea7624221b1efa829fa8cd2c (diff)
downloadpkgsrc-44f1a3a8481f8daeab188c91bf908bb867487dfd.tar.gz
Fix build with clang-3.1.
Diffstat (limited to 'filesystems/fuse-mp3fs')
-rw-r--r--filesystems/fuse-mp3fs/distinfo3
-rw-r--r--filesystems/fuse-mp3fs/patches/patch-src_class.h44
2 files changed, 46 insertions, 1 deletions
diff --git a/filesystems/fuse-mp3fs/distinfo b/filesystems/fuse-mp3fs/distinfo
index 3ccba82fab8..cfb6edd7677 100644
--- a/filesystems/fuse-mp3fs/distinfo
+++ b/filesystems/fuse-mp3fs/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2009/07/17 10:43:21 wiz Exp $
+$NetBSD: distinfo,v 1.3 2012/03/29 11:40:19 wiz Exp $
SHA1 (mp3fs-0.13.tar.gz) = b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74
RMD160 (mp3fs-0.13.tar.gz) = 6ad1126ee22b35fe4987dd6addbc41a25c74a508
Size (mp3fs-0.13.tar.gz) = 301642 bytes
SHA1 (patch-aa) = b4554994bb9949c645ba07f43615c78004fc9895
SHA1 (patch-ab) = 9b259b045decb4556dd72eeb65e0275554a93b6f
+SHA1 (patch-src_class.h) = 2a0c03c20ffce50c1270d552215edb052f3ecf50
diff --git a/filesystems/fuse-mp3fs/patches/patch-src_class.h b/filesystems/fuse-mp3fs/patches/patch-src_class.h
new file mode 100644
index 00000000000..db1a7dd2f2a
--- /dev/null
+++ b/filesystems/fuse-mp3fs/patches/patch-src_class.h
@@ -0,0 +1,44 @@
+$NetBSD: patch-src_class.h,v 1.1 2012/03/29 11:40:19 wiz Exp $
+
+Fix build with clang-3.1.
+
+--- src/class.h.orig 2007-11-15 05:34:32.000000000 +0000
++++ src/class.h
+@@ -171,7 +171,7 @@ super.add as well.
+
+ #define CLASS(class,super_class) \
+ typedef struct class *class; \
+- inline void class ## _init(void); \
++ void class ## _init(void); \
+ void class ## _Alloc(class this); \
+ extern int __ ## class ## _initialised; \
+ extern struct class __ ## class; \
+@@ -209,7 +209,7 @@ super.add as well.
+
+ #define VIRTUAL(class,superclass) \
+ struct class __ ## class; \
+- inline void class ## _init(void) { \
++ void class ## _init(void) { \
+ if(!__ ## class ## _initialised) { \
+ class ## _Alloc(&__ ## class); \
+ __ ## class ## _initialised = 1; \
+@@ -233,7 +233,7 @@ super.add as well.
+
+ #define VIRTUAL(class,superclass) \
+ struct class __ ## class; \
+- inline void class ## _init(void) { \
++ void class ## _init(void) { \
+ if(!__ ## class ## _initialised) { \
+ class ## _Alloc(&__ ## class); \
+ __ ## class ## _initialised = 1; \
+@@ -348,8 +348,8 @@ struct Object {
+ #define GET_CLASS(name) \
+ &__ ## name
+
+-inline void Object_init(void);
+-inline void Object_Alloc(Object this);
++void Object_init(void);
++void Object_Alloc(Object this);
+
+ extern struct Object __Object;
+