pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libgphoto2 Add DragonFly support. Depend on errn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bf692c16c86
branches:  trunk
changeset: 502623:2bf692c16c86
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 07 18:38:36 2005 +0000

description:
Add DragonFly support. Depend on errno from errno.h.

diffstat:

 devel/libgphoto2/distinfo         |   4 +++-
 devel/libgphoto2/patches/patch-aa |  13 +++++++++++++
 devel/libgphoto2/patches/patch-ab |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (47 lines):

diff -r 869ec72cb4bd -r 2bf692c16c86 devel/libgphoto2/distinfo
--- a/devel/libgphoto2/distinfo Mon Nov 07 18:26:22 2005 +0000
+++ b/devel/libgphoto2/distinfo Mon Nov 07 18:38:36 2005 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/07/19 17:24:27 drochner Exp $
+$NetBSD: distinfo,v 1.8 2005/11/07 18:38:36 joerg Exp $
 
 SHA1 (libgphoto2-2.1.6.tar.gz) = 22be325303fa10a4a3f519d71b25364b3f84d653
 RMD160 (libgphoto2-2.1.6.tar.gz) = ef32357d9722a69d20a02098bd30c13165c27e6a
 Size (libgphoto2-2.1.6.tar.gz) = 3205731 bytes
+SHA1 (patch-aa) = 205330cb3a9a65d22f48c4d3460ddf5b55ca4d89
+SHA1 (patch-ab) = 0c9edd27c904eb5a168e18837aec0f7bccfe739d
 SHA1 (patch-ac) = c9dd7f2cd24eb273f6db2b93e9b54614101d6c2b
diff -r 869ec72cb4bd -r 2bf692c16c86 devel/libgphoto2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgphoto2/patches/patch-aa Mon Nov 07 18:38:36 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2005/11/07 18:38:37 joerg Exp $
+
+--- libgphoto2_port/serial/unix.c.orig 2005-11-07 18:17:05.000000000 +0000
++++ libgphoto2_port/serial/unix.c
+@@ -438,7 +438,7 @@ gp_port_serial_open (GPPort *dev)
+       }
+       dev->pl->fd = -1;
+ 
+-#if defined(__FreeBSD__) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+         dev->pl->fd = open (port, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ #elif OS2
+         fd = open (port, O_RDWR | O_BINARY);
diff -r 869ec72cb4bd -r 2bf692c16c86 devel/libgphoto2/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgphoto2/patches/patch-ab Mon Nov 07 18:38:36 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2005/11/07 18:38:37 joerg Exp $
+
+--- camlibs/sonydscf1/chotplay.c.orig  2005-11-07 18:27:21.000000000 +0000
++++ camlibs/sonydscf1/chotplay.c
+@@ -28,8 +28,6 @@
+ #include "getuint.h"
+ #include "pmp.h"
+ 
+-extern int errno;
+-
+ #define MAX_PICTURE_NUM 200
+ 
+ u_char picture_index[MAX_PICTURE_NUM];



Home | Main Index | Thread Index | Old Index