pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgphoto2 update libgphoto2 to 2.3.1nb2 - fix t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/391cd5c2e7b8
branches:  trunk
changeset: 526853:391cd5c2e7b8
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Mar 20 10:22:31 2007 +0000

description:
update libgphoto2 to 2.3.1nb2 - fix typo in patch-aa

diffstat:

 devel/libgphoto2/Makefile         |   4 ++--
 devel/libgphoto2/patches/patch-aa |  12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r cd5168c9e685 -r 391cd5c2e7b8 devel/libgphoto2/Makefile
--- a/devel/libgphoto2/Makefile Tue Mar 20 00:46:03 2007 +0000
+++ b/devel/libgphoto2/Makefile Tue Mar 20 10:22:31 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2007/03/19 08:42:04 sborrill Exp $
+# $NetBSD: Makefile,v 1.36 2007/03/20 10:22:31 abs Exp $
 
 DISTNAME=      libgphoto2-2.3.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gphoto/}
 EXTRACT_SUFX=  .tar.bz2
diff -r cd5168c9e685 -r 391cd5c2e7b8 devel/libgphoto2/patches/patch-aa
--- a/devel/libgphoto2/patches/patch-aa Tue Mar 20 00:46:03 2007 +0000
+++ b/devel/libgphoto2/patches/patch-aa Tue Mar 20 10:22:31 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2007/03/19 08:42:04 sborrill Exp $
+$NetBSD: patch-aa,v 1.6 2007/03/20 10:22:31 abs Exp $
 
---- camlibs/ptp2/library.c.orig        2007-03-16 13:18:01.000000000 +0000
-+++ camlibs/ptp2/library.c     2007-03-16 13:18:01.000000000 +0000
+--- camlibs/ptp2/library.c.orig        2006-12-24 15:16:20.000000000 +0000
++++ camlibs/ptp2/library.c
 @@ -58,6 +58,7 @@
   * is always bigendian though, we would need to work around that
   * too...
@@ -19,17 +19,17 @@
  #include "ptp.h"
  #include "ptp-bugs.h"
  #include "ptp-private.h"
-@@ -3696,8 +3697,12 @@
+@@ -3696,8 +3697,12 @@ camera_init (Camera *camera, GPContext *
  
        curloc = nl_langinfo (CODESET);
        if (!curloc) curloc="UTF-8";
 -      camera->pl->params.cd_ucs2_to_locale = iconv_open(curloc, UCS_2_INTERNAL);
 -      camera->pl->params.cd_locale_to_ucs2 = iconv_open(UCS_2_INTERNAL, curloc);
 +      camera->pl->params.cd_ucs2_to_locale = iconv_open(curloc, "UCS-2-INTERNAL");
-+      if(camera->pl->params.cd_ucs2_to_locale == (iconv_t) -1))
++      if(camera->pl->params.cd_ucs2_to_locale == (iconv_t) -1)
 +              camera->pl->params.cd_ucs2_to_locale = iconv_open(curloc, "UCS-2");             
 +      camera->pl->params.cd_locale_to_ucs2 = iconv_open("UCS-2-INTERNAL", curloc);
-+      if(camera->pl->params.cd_locale_to_ucs2 == (iconv_t) -1))
++      if(camera->pl->params.cd_locale_to_ucs2 == (iconv_t) -1)
 +              camera->pl->params.cd_locale_to_ucs2 = iconv_open("UCS-2", curloc);     
        if ((camera->pl->params.cd_ucs2_to_locale == (iconv_t) -1) ||
            (camera->pl->params.cd_locale_to_ucs2 == (iconv_t) -1)) {



Home | Main Index | Thread Index | Old Index