summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2013-08-30 16:55:47 +0000
committerjoerg <joerg>2013-08-30 16:55:47 +0000
commit480b23d337361d0bd5cc1cd482677bccb1781fc7 (patch)
tree777945b864ac2524b8b46215deb5a50fb7cbb2c1 /sysutils
parentfe76fb90ab2d963863ba8110dcfdc4ffd04c367e (diff)
downloadpkgsrc-480b23d337361d0bd5cc1cd482677bccb1781fc7.tar.gz
If UNUSED isn't define, do it ourself.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ruby-libnotify/distinfo3
-rw-r--r--sysutils/ruby-libnotify/patches/patch-ext_rnotify.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/ruby-libnotify/distinfo b/sysutils/ruby-libnotify/distinfo
index 8981be5f272..3ca8b2f3df9 100644
--- a/sysutils/ruby-libnotify/distinfo
+++ b/sysutils/ruby-libnotify/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/08/14 12:51:16 obache Exp $
+$NetBSD: distinfo,v 1.2 2013/08/30 16:55:47 joerg Exp $
SHA1 (ruby-libnotify-0.5.1.tar.gz) = 49c03da48c80ce962d164338e030114bd99300ef
RMD160 (ruby-libnotify-0.5.1.tar.gz) = 97285d65f55938b9902841e76e8da69108313a06
Size (ruby-libnotify-0.5.1.tar.gz) = 25822 bytes
+SHA1 (patch-ext_rnotify.c) = f737a74df9eb3556cff6e4f64cbf25413073e30f
diff --git a/sysutils/ruby-libnotify/patches/patch-ext_rnotify.c b/sysutils/ruby-libnotify/patches/patch-ext_rnotify.c
new file mode 100644
index 00000000000..c1ec10ea335
--- /dev/null
+++ b/sysutils/ruby-libnotify/patches/patch-ext_rnotify.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_rnotify.c,v 1.1 2013/08/30 16:55:47 joerg Exp $
+
+--- ext/rnotify.c.orig 2013-08-30 16:12:51.000000000 +0000
++++ ext/rnotify.c
+@@ -12,6 +12,10 @@
+ #define MODULE_NAME "Notify"
+ #define CLASS_NAME "Notification"
+
++#ifndef UNUSED
++#define UNUSED(x) x
++#endif
++
+ typedef struct _ActionData ActionData;
+ struct _ActionData
+ {