Index: doc/Makefile.in --- doc/Makefile.in.orig 2013-04-08 07:52:21.000000000 +0200 +++ doc/Makefile.in 2013-04-10 20:01:44.294712912 +0200 @@ -1018,7 +1018,7 @@ install-data-local: install-man rm -f $(DESTDIR)$(man1dir)/gst-reload.1 - $(LN_S) $(DESTDIR)$(man1dir)/gst-load.1 $(DESTDIR)$(man1dir)/gst-reload.1 + $(LN_S) $(man1dir)/gst-load.1 $(DESTDIR)$(man1dir)/gst-reload.1 $(srcdir)/blox.texi: $(top_srcdir)/packages/blox/tk/stamp-classes files=`$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \ Index: libgst/cint.c --- libgst/cint.c.orig 2013-03-23 20:56:26.000000000 +0100 +++ libgst/cint.c 2013-04-13 15:34:12.454709629 +0200 @@ -399,6 +399,7 @@ static char ** get_environ (void) { + extern char **environ; return environ; } Index: libgst/prims.def --- libgst/prims.def.orig 2013-04-07 21:24:12.000000000 +0200 +++ libgst/prims.def 2013-04-10 20:01:44.294712912 +0200 @@ -1929,7 +1929,11 @@ long double oopValue = FLOATQ_OOP_VALUE (oop1); if COMMON (oopValue >= MIN_ST_INT && oopValue <= MAX_ST_INT) { +#if defined(__FreeBSD__) + PUSH_INT (lrint ((double)truncl (oopValue))); +#else PUSH_INT (lrintl (truncl (oopValue))); +#endif PRIM_SUCCEEDED; } } Index: snprintfv/snprintfv/format.c --- snprintfv/snprintfv/format.c.orig 2013-03-23 20:56:26.000000000 +0100 +++ snprintfv/snprintfv/format.c 2013-04-10 20:01:44.294712912 +0200 @@ -55,7 +55,7 @@ # define isinfl(x) isnanl ((x) - (x)) # endif # ifndef HAVE_MODFL -static snv_long_double modfl (long double x, long double *exp); +snv_long_double modfl (long double x, long double *exp); # endif # ifndef HAVE_COPYSIGNL static snv_long_double copysignl (long double x, long double y); @@ -1098,7 +1098,7 @@ #if !defined NO_FLOAT_PRINTING && defined HAVE_LONG_DOUBLE # ifndef HAVE_MODFL -static long double modfl (long double x, long double *exp) +long double modfl (long double x, long double *exp) { /* To compute the integer part of a positive integer (in this case abs(X)), sum a big enough integer to the absolute value, so that