git: e8f3d26332fe - main - multimedia/smpeg: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Aug 2026 03:21:51 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e8f3d26332fe84d009e96a0387977df2cc75b1a8
commit e8f3d26332fe84d009e96a0387977df2cc75b1a8
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-08-30 03:20:29 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-08-30 03:21:43 +0000
multimedia/smpeg: Fix build
PR: 298050
Reported by: Ale <discipline _at__ tiscali.it>
---
multimedia/smpeg/files/patch-configure.in | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/multimedia/smpeg/files/patch-configure.in b/multimedia/smpeg/files/patch-configure.in
index 116923a7d3e7..6028a8816dd1 100644
--- a/multimedia/smpeg/files/patch-configure.in
+++ b/multimedia/smpeg/files/patch-configure.in
@@ -1,4 +1,4 @@
---- configure.in.orig 2026-08-29 18:33:42 UTC
+--- configure.in.orig 2026-08-29 20:19:48 UTC
+++ configure.in
@@ -59,7 +59,7 @@ dnl Work around the lack of certain typedefs.
AC_PROG_INSTALL
@@ -9,3 +9,16 @@
dnl The alpha architecture needs special flags for binary portability
case "$target" in
+@@ -218,8 +218,11 @@ have_gtk=no
+ [ --enable-gtk-player build a GTk sample SMPEG player [default=yes]],
+ , enable_gtk_player=yes)
+ have_gtk=no
++
+ if test x$enable_gtk_player = xyes; then
+- AM_PATH_GTK_2_0(2.0.0, have_gtk=yes)
++ m4_ifdef([AM_PATH_GTK_2_0], [
++ AM_PATH_GTK_2_0(2.0.0, have_gtk=yes)
++ ])
+ if test x$have_gtk = xyes; then
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ fi