summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-01 19:44:42 +0000
committerhans <hans@pkgsrc.org>2012-03-01 19:44:42 +0000
commitbdeaedc04265ea15b2be680b8b09c3e08597d567 (patch)
tree4827c669569aac1c56bf4dc52ca0b54d93d6a510
parentad9c3eac09e6bb31ffb1ab62713ede08e8b33d65 (diff)
downloadpkgsrc-bdeaedc04265ea15b2be680b8b09c3e08597d567.tar.gz
Fix build on SunOS.
-rw-r--r--graphics/camediaplay/distinfo4
-rw-r--r--graphics/camediaplay/patches/patch-aa16
2 files changed, 13 insertions, 7 deletions
diff --git a/graphics/camediaplay/distinfo b/graphics/camediaplay/distinfo
index 33ef49b427c..ec7f0347946 100644
--- a/graphics/camediaplay/distinfo
+++ b/graphics/camediaplay/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/12/18 23:32:49 joerg Exp $
+$NetBSD: distinfo,v 1.5 2012/03/01 19:44:42 hans Exp $
SHA1 (camediaplay-20010211.tar.gz) = d6809c9d0e1be692a9a1e468ee759cc9ceb5b276
RMD160 (camediaplay-20010211.tar.gz) = 17fcd6f1c23b43169ed8de0c726c951cea0fcd80
Size (camediaplay-20010211.tar.gz) = 48193 bytes
-SHA1 (patch-aa) = 094b164286609808635c1bf81e8e551adad670e2
+SHA1 (patch-aa) = a722870475d6c3fe43e2f8adb529e665e654cad5
diff --git a/graphics/camediaplay/patches/patch-aa b/graphics/camediaplay/patches/patch-aa
index f8e4d11fa8b..5f12cd8a0b9 100644
--- a/graphics/camediaplay/patches/patch-aa
+++ b/graphics/camediaplay/patches/patch-aa
@@ -1,16 +1,22 @@
-$NetBSD: patch-aa,v 1.1 2005/12/18 23:32:49 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2012/03/01 19:44:42 hans Exp $
--- ../src/uucplock.c.orig 2005-12-18 23:25:20.000000000 +0000
+++ ../src/uucplock.c
-@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)uucplock.c 5
+@@ -38,8 +38,12 @@ static char sccsid[] = "@(#)uucplock.c 5
+ #include "config.h"
+
#include <sys/file.h>
- #include <sys/dir.h>
+-#include <sys/dir.h>
++#include <dirent.h>
#include <errno.h>
+#include <limits.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>
#include "pathnames.h"
-@@ -52,9 +53,12 @@ static char sccsid[] = "@(#)uucplock.c 5
+@@ -52,9 +56,12 @@ static char sccsid[] = "@(#)uucplock.c 5
uu_lock(ttyname)
char *ttyname;
{
@@ -24,7 +30,7 @@ $NetBSD: patch-aa,v 1.1 2005/12/18 23:32:49 joerg Exp $
off_t lseek();
(void)snprintf(tbuf, sizeof(tbuf), _PATH_LOCKDIRNAME, ttyname);
-@@ -104,7 +108,11 @@ uu_lock(ttyname)
+@@ -104,7 +111,11 @@ uu_lock(ttyname)
uu_unlock(ttyname)
char *ttyname;
{