ports/98786: [PATCH] multimedia/gstreamer does not compile under FreeBSD 4.x
Sven Berkvens-Matthijsse
sven at berkvens.net
Sat Jun 10 19:30:19 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list