Date: 10 Jun 2006 13:37:42 -0000 From: Sven Berkvens-Matthijsse <sven@berkvens.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98786: [PATCH] multimedia/gstreamer does not compile under FreeBSD 4.x Message-ID: <20060610133742.8914.qmail@cat.berkvens.net> Resent-Message-ID: <200606101930.k5AJUIfk047136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98786 >Category: ports >Synopsis: [PATCH] multimedia/gstreamer does not compile under FreeBSD 4.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 10 19:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sven Berkvens-Matthijsse >Release: FreeBSD 4.10-STABLE i386 >Organization: de Kattenfabriek >Environment: System: FreeBSD cat.berkvens.net 4.10-STABLE FreeBSD 4.10-STABLE #4: Sun Oct 31 01:46:30 CEST 2004 sven@cat.berkvens.net:/extra0/usr_obj/usr/src/sys/CAT i386 >Description: The port multimedia/gstreamer does not compile under FreeBSD 4.x due to some use of a C99 feature that GCC 2.x does not support. >How-To-Repeat: Compile under FreeBSD 4.x. >Fix: Install the following extra patch file (patch-gst__gst.c). This will fix the problem and not cause any problems on other FreeBSD versions. --- gst/gst.c.orig Sat Jun 10 15:28:03 2006 +++ gst/gst.c Sat Jun 10 15:28:12 2006 @@ -602,6 +602,9 @@ GstRegistry *default_registry; gboolean changed = FALSE; GList *l; +#ifdef HAVE_FORK + pid_t pid; +#endif for (l = plugin_paths; l != NULL; l = l->next) { GST_INFO ("Scanning plugin path: \"%s\"", (gchar *) l->data); @@ -611,10 +614,6 @@ } g_list_free (plugin_paths); plugin_paths = NULL; - -#ifdef HAVE_FORK - pid_t pid; -#endif default_registry = gst_registry_get_default (); registry_file = g_strdup (g_getenv ("GST_REGISTRY")); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060610133742.8914.qmail>