Web lists-archives.com

[MPlayer-dev-eng] [PATCH] Fix FTBFS in kfreebsd + GNU/Hurd info




Hello:

Mplayer currently fails to build on kfreebsd.
https://buildd.debian.org/status/package.php?p=mplayer&suite=unstable

Hopefully this makes it in before the new release.

Also there is a fairly old patch to fix a FTBFS with GNU/Hurd
http://anonscm.debian.org/cgit/pkg-multimedia/mplayer.git/tree/debian/patches/50_Hurd_PATH_MAX.patch
More info:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654974
https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html

I'm currently building it in qemu since the GNU build has not been
compiled in a while so I'm not sure if there are more issues in there.

It's unrelated but:
  echo "Compiling without FFmpeg is currently not supported/working."
  echo "Please contact us if that is an issue for you."
  die "both internal and external FFmpeg missing"

Could a flag be added to at least not require ffmpeg and yasm when
ONLY building the documentation?

Something like
./configure --language=all --build-only-docs
make html-chunked

The new bbuild for arch=all packaged ends up installing ~400 packages
when only ~30 are really needed. I can drop most of them except ffmpeg
and yasm. Yasm can be dropped with --yasm=''" but a flag to skip those
two or most of the unneeded checks could be useful.

Cheers,
Miguel
From 11ab6a067bb39bf0676fa81a34324ff66b650f1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20A=2E=20Col=C3=B3n=20V=C3=A9lez?=
 <debian.micove@xxxxxxxxx>
Date: Tue, 15 Sep 2015 17:56:56 -0400
Subject: [PATCH] Fix FTBFS in kfreeBSD.

Needed to be able to use
- u_char
- u_long
- u_short
---
 stream/tvi_bsdbt848.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stream/tvi_bsdbt848.c b/stream/tvi_bsdbt848.c
index 74609be..5b825ce 100644
--- a/stream/tvi_bsdbt848.c
+++ b/stream/tvi_bsdbt848.c
@@ -27,6 +27,8 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#define _BSD_SOURCE
+
 #include "config.h"
 
 #define RINGSIZE 8
-- 
2.5.1

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng