with xenocara, GL needs -lm to link.

Fix auto-detection issue, no package bump needed.
This builds and packages again.
This commit is contained in:
espie 2007-04-07 15:54:06 +00:00
parent dc825c5708
commit c92adc53b1
2 changed files with 15 additions and 3 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_ac,v 1.1 2007/04/07 15:54:06 espie Exp $
--- configure.ac.orig Sat Apr 7 17:25:58 2007
+++ configure.ac Sat Apr 7 17:26:53 2007
@@ -235,7 +235,7 @@ GST_CHECK_X
save_CPPFLAGS="$CPPFLAGS"
save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
-LIBS="$LIBS $X_LIBS"
+LIBS="$LIBS $X_LIBS -lm"
GST_CHECK_FEATURE(OPENGL, [Open GL], glsink, [
GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,,
GL/gl.h, HAVE_OPENGL="yes", HAVE_OPENGL="no")

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-m4_gettext_m4,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
$OpenBSD: patch-m4_gettext_m4,v 1.2 2007/04/07 15:54:06 espie Exp $
--- m4/gettext.m4.orig Sun Dec 17 20:29:32 2006
+++ m4/gettext.m4 Wed Jan 10 11:27:57 2007
@@ -315,8 +315,12 @@ return (int) gettext ("")]ifelse([$2], [
+++ m4/gettext.m4 Sat Apr 7 17:21:08 2007
@@ -315,8 +315,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext]
])
dnl For backward compatibility. Some Makefiles may be using this.