Files
poky/meta/packages/clutter/clutter-cairo/enable_examples.patch
2008-08-11 17:06:57 +00:00

29 lines
1.1 KiB
Diff

---
examples/Makefile.am | 2 +-
examples/flowers.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: clutter-cairo/examples/Makefile.am
===================================================================
--- clutter-cairo.orig/examples/Makefile.am 2008-08-11 16:30:04.000000000 +0100
+++ clutter-cairo/examples/Makefile.am 2008-08-11 16:30:24.000000000 +0100
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = clock flowers bubbles
+bin_PROGRAMS = clock flowers bubbles
INCLUDES = -I$(top_srcdir)/ @GCC_FLAGS@ @DEPS_CFLAGS@
AM_LDFLAGS = @DEPS_LIBS@ $(top_builddir)/libclutter-cairo-@CLUTTER_CAIRO_MAJORMINOR@.la
Index: clutter-cairo/examples/flowers.c
===================================================================
--- clutter-cairo.orig/examples/flowers.c 2008-08-11 16:30:04.000000000 +0100
+++ clutter-cairo/examples/flowers.c 2008-08-11 16:30:10.000000000 +0100
@@ -11,7 +11,7 @@
#define PETAL_MIN 20
#define PETAL_VAR 40
-#define N_FLOWERS 40 /* reduce if you have a small card */
+#define N_FLOWERS 8 /* reduce if you have a small card */
typedef struct Flower
{