Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2026 15:15:46 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c4a6caa396a2 - main - graphics/gphoto2: update the port to version 2.5.32
Message-ID:  <69dbb722.1cc28.7742c192@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c4a6caa396a26ed7bd986295a774625674a17e19

commit c4a6caa396a26ed7bd986295a774625674a17e19
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-04-12 15:14:32 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-04-12 15:14:32 +0000

    graphics/gphoto2: update the port to version 2.5.32
    
    Reported by:    portscout
---
 graphics/gphoto2/Makefile                   |  2 +-
 graphics/gphoto2/distinfo                   |  6 +++---
 graphics/gphoto2/files/patch-configure      | 17 -----------------
 graphics/gphoto2/files/patch-gphoto2_main.c |  8 ++++----
 4 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index bf89ae384ee0..126433a421f4 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gphoto2
-PORTVERSION=	2.5.28
+PORTVERSION=	2.5.32
 CATEGORIES=	graphics
 MASTER_SITES=	SF/gphoto/gphoto/${PORTVERSION} \
 		https://github.com/gphoto/gphoto2/releases/download/v${PORTVERSION}/
diff --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo
index e038f24da397..34aecc2a9f8d 100644
--- a/graphics/gphoto2/distinfo
+++ b/graphics/gphoto2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641209289
-SHA256 (gphoto2-2.5.28.tar.xz) = ff3e32c7bd2a129d817dcd9e75ce51834409b1966e1f20e74c427c32ae732afa
-SIZE (gphoto2-2.5.28.tar.xz) = 575816
+TIMESTAMP = 1754905186
+SHA256 (gphoto2-2.5.32.tar.xz) = be08a449bbed9613bc9db105997c4ba71410d41870496420359a99b37502c406
+SIZE (gphoto2-2.5.32.tar.xz) = 607452
diff --git a/graphics/gphoto2/files/patch-configure b/graphics/gphoto2/files/patch-configure
deleted file mode 100644
index cf6bc47962e0..000000000000
--- a/graphics/gphoto2/files/patch-configure
+++ /dev/null
@@ -1,17 +0,0 @@
---- configure.orig	2015-07-05 20:43:09 UTC
-+++ configure
-@@ -13459,13 +13459,11 @@ else
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- #include <libintl.h>
--extern int _nl_msg_cat_cntr;
--extern int *_nl_domain_bindings;
- int
- main ()
- {
- bindtextdomain ("", "");
--return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
-+return (int) gettext ("");
-   ;
-   return 0;
- }
diff --git a/graphics/gphoto2/files/patch-gphoto2_main.c b/graphics/gphoto2/files/patch-gphoto2_main.c
index aba416d2d3a7..58f87b134a24 100644
--- a/graphics/gphoto2/files/patch-gphoto2_main.c
+++ b/graphics/gphoto2/files/patch-gphoto2_main.c
@@ -1,10 +1,10 @@
---- gphoto2/main.c.orig	2020-07-02 06:39:33 UTC
+--- gphoto2/main.c.orig	2023-12-06 16:21:01 UTC
 +++ gphoto2/main.c
-@@ -1211,14 +1211,14 @@ start_timeout_func (Camera *camera, unsigned int timeo
+@@ -1215,14 +1215,14 @@ start_timeout_func (Camera *camera, unsigned int timeo
  
  	pthread_create (&tid, NULL, thread_func, td);
  
--	return (tid);
+-	return (unsigned int)tid;
 +	return (intptr_t)tid;
  }
  
@@ -12,7 +12,7 @@
  stop_timeout_func (Camera __unused__ *camera, unsigned int id,
  		   void __unused__ *data)
  {
--	pthread_t tid = id;
+-	pthread_t tid = (pthread_t)id;
 +	pthread_t tid = (pthread_t)(intptr_t)id;
  
  	pthread_cancel (tid);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dbb722.1cc28.7742c192>