Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2023 20:38:07 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 27a07f6066d1 - main - graphics/gnash: add camera support
Message-ID:  <202303182038.32IKc7pS035255@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

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

commit 27a07f6066d18368f0b7216f7f4e1c7beeeac2a4
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-18 20:37:43 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-18 20:37:43 +0000

    graphics/gnash: add camera support
    
    fix build on FreeBSD-14
---
 graphics/gnash/Makefile                 | 6 ++++--
 graphics/gnash/files/patch-configure.ac | 9 +++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index bf6f418c0d3c..a13a1d1b7412 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnash
 PORTVERSION=	0.8.10
-PORTREVISION=	54
+PORTREVISION=	55
 CATEGORIES=	graphics
 MASTER_SITES=	http://git.savannah.gnu.org/cgit/gnash.git/snapshot/
 DISTNAME=	gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880
@@ -26,12 +26,14 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl \
 		libogg.so:audio/libogg \
 		libvorbis.so:audio/libvorbis \
 		libdca.so:multimedia/libdca \
-		libgsm.so:audio/gsm
+		libgsm.so:audio/gsm \
+		libdc1394.so:multimedia/libdc1394
 
 CONFLICTS=	gnash-devel
 
 USES=		cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \
 		pkgconfig jpeg gnome gl sdl desktop-file-utils xorg
+USE_CSTD=	gnu89
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
 USE_GNOME=	atk gdkpixbuf2 gtk20 libxml2 pango
diff --git a/graphics/gnash/files/patch-configure.ac b/graphics/gnash/files/patch-configure.ac
index e07ab86b66e9..c9881689de80 100644
--- a/graphics/gnash/files/patch-configure.ac
+++ b/graphics/gnash/files/patch-configure.ac
@@ -1,5 +1,14 @@
 --- configure.ac.orig	2016-07-21 12:25:09 UTC
 +++ configure.ac
+@@ -1201,7 +1201,7 @@ if test x"${build_egl_device}" = xyes; then
+     build_egl_device=no
+   fi
+   save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -Wall -Werror"
++  CFLAGS="$CFLAGS -Wall -Werror -Wno-unused-but-set-variable "
+   native_window_type=none
+   AC_MSG_CHECKING([For EGLNativeWindowType type])
+   AC_TRY_COMPILE([#include <EGL/eglplatform.h>], [
 @@ -4144,7 +4144,7 @@ if test x${build_ssl} = xyes; then
      fi
      echo "        SSL libs are: $SSL_LIBS"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303182038.32IKc7pS035255>