gnash: add missing patch
authorKoen Kooi <koen@openembedded.org>
Sat, 5 Jul 2008 08:38:32 +0000 (08:38 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 5 Jul 2008 08:38:32 +0000 (08:38 +0000)
packages/gnash/files/.mtn2git_empty [new file with mode: 0644]
packages/gnash/files/libtool-2.2.patch [new file with mode: 0644]
packages/gnash/gnash-minimal_0.8.3.bb [new file with mode: 0644]

diff --git a/packages/gnash/files/.mtn2git_empty b/packages/gnash/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/gnash/files/libtool-2.2.patch b/packages/gnash/files/libtool-2.2.patch
new file mode 100644 (file)
index 0000000..f0ec274
--- /dev/null
@@ -0,0 +1,35 @@
+diff -NrU5 gnash-0.8.3.orig/libbase/Makefile.am gnash-0.8.3/libbase/Makefile.am
+--- gnash-0.8.3.orig/libbase/Makefile.am       2008-06-26 22:56:12.000000000 +0200
++++ gnash-0.8.3/libbase/Makefile.am    2008-06-26 22:57:48.000000000 +0200
+@@ -19,13 +19,13 @@
+ # this is where Gnash plugins get installed
+ pluginsdir = $(prefix)/lib/gnash/plugins
+ if INSTALL_LTDL
+-include_HEADERS =  $(top_srcdir)/libltdl/ltdl.h
+-LIBLTDLLIB = libltdl.la
+-LIBLTDLHEAD =  $(top_srcdir)/libltdl/ltdl.h
++#include_HEADERS =  $(top_srcdir)/libltdl/ltdl.h
++#LIBLTDLLIB = libltdl.la
++#LIBLTDLHEAD =  $(top_srcdir)/libltdl/ltdl.h
+ endif
+ sysconf_DATA = gnashrc gnashpluginrc
+ edit = sed \
+@@ -174,12 +174,12 @@
+ libgnashbase_la_LDFLAGS = -release $(VERSION)
+ libltdlc_la_CPPFLAGS = $(LTDLINCL)
+ if CONVENIENCE_LTDL
+-noinst_LTLIBRARIES = libltdlc.la
+-libltdlc_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
++#noinst_LTLIBRARIES = libltdlc.la
++#libltdlc_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
+ endif
+ CLEANFILES = libltdl.la libltdlc.la gnashrc gnashpluginrc
+ libltdl_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
+ libltdl_la_LDFLAGS = -no-undefined -version-info 4:4:1
diff --git a/packages/gnash/gnash-minimal_0.8.3.bb b/packages/gnash/gnash-minimal_0.8.3.bb
new file mode 100644 (file)
index 0000000..e161ae2
--- /dev/null
@@ -0,0 +1,10 @@
+require gnash-minimal.inc
+
+EXTRA_OECONF += " --without-included-ltdl \
+                  --with-ltdl-include=${STAGING_INCDIR} \
+                  --with-ltdl-lib=${STAGING_LIBDIR} \
+"
+
+SRC_URI += "file://libtool-2.2.patch;patch=1"
+
+