summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-07-26 13:23:50 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-07-26 13:23:50 +0000
commit124b2c40766b6bc1fdf374467081defedbd61b52 (patch)
tree68e5b4db18f687174138c0dfe92de3973917df31 /media-libs/gle/files
parentFixing sandbox violation for bug #141769 (diff)
downloadgentoo-2-124b2c40766b6bc1fdf374467081defedbd61b52.tar.gz
gentoo-2-124b2c40766b6bc1fdf374467081defedbd61b52.tar.bz2
gentoo-2-124b2c40766b6bc1fdf374467081defedbd61b52.zip
Add patch to exclude the examples dir from compilation (bug 141780). Thanks to Samuli Suominen <sasuomin@uusikaupunki.fi> for the ebuild and patch.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'media-libs/gle/files')
-rw-r--r--media-libs/gle/files/gle-3.1.0-amd64-skip-example.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/media-libs/gle/files/gle-3.1.0-amd64-skip-example.patch b/media-libs/gle/files/gle-3.1.0-amd64-skip-example.patch
new file mode 100644
index 000000000000..c6d4c996f1b8
--- /dev/null
+++ b/media-libs/gle/files/gle-3.1.0-amd64-skip-example.patch
@@ -0,0 +1,65 @@
+diff -ur gle-3.1.0.orig/examples/Makefile.in gle-3.1.0/examples/Makefile.in
+--- gle-3.1.0.orig/examples/Makefile.in 2003-03-18 08:12:43.000000000 +0200
++++ gle-3.1.0/examples/Makefile.in 2006-07-26 15:37:25.000000000 +0300
+@@ -74,10 +74,9 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+
+-noinst_PROGRAMS = alpha beam candlestick cone cylinder helix helix2 helix3 helix4 helixtex horn joincone joinoffset joinstyle screw taper texas transport twistoid twistex twoid
++noinst_PROGRAMS = beam candlestick cone cylinder helix helix2 helix3 helix4 helixtex horn joincone joinoffset joinstyle screw taper texas transport twistoid twistex twoid
+
+
+-alpha_SOURCES = alpha.c mainjoin.c
+ beam_SOURCES = beam.c mainsimple.c
+ cone_SOURCES = cone.c mainsimple.c
+ cylinder_SOURCES = cylinder.c mainsimple.c
+@@ -114,7 +113,7 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+-noinst_PROGRAMS = alpha$(EXEEXT) beam$(EXEEXT) candlestick$(EXEEXT) \
++noinst_PROGRAMS = beam$(EXEEXT) candlestick$(EXEEXT) \
+ cone$(EXEEXT) cylinder$(EXEEXT) helix$(EXEEXT) helix2$(EXEEXT) \
+ helix3$(EXEEXT) helix4$(EXEEXT) helixtex$(EXEEXT) horn$(EXEEXT) \
+ joincone$(EXEEXT) joinoffset$(EXEEXT) joinstyle$(EXEEXT) screw$(EXEEXT) \
+@@ -131,10 +130,6 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-alpha_OBJECTS = alpha.$(OBJEXT) mainjoin.$(OBJEXT)
+-alpha_LDADD = $(LDADD)
+-alpha_DEPENDENCIES =
+-alpha_LDFLAGS =
+ beam_OBJECTS = beam.$(OBJEXT) mainsimple.$(OBJEXT)
+ beam_LDADD = $(LDADD)
+ beam_DEPENDENCIES =
+@@ -236,8 +231,8 @@
+
+ TAR = tar
+ GZIP_ENV = --best
+-SOURCES = $(alpha_SOURCES) $(beam_SOURCES) candlestick.c $(cone_SOURCES) $(cylinder_SOURCES) $(helix_SOURCES) $(helix2_SOURCES) $(helix3_SOURCES) $(helix4_SOURCES) $(helixtex_SOURCES) $(horn_SOURCES) $(joincone_SOURCES) $(joinoffset_SOURCES) $(joinstyle_SOURCES) $(screw_SOURCES) $(taper_SOURCES) $(texas_SOURCES) transport.c $(twistoid_SOURCES) $(twistex_SOURCES) twoid.c
+-OBJECTS = $(alpha_OBJECTS) $(beam_OBJECTS) candlestick.$(OBJEXT) $(cone_OBJECTS) $(cylinder_OBJECTS) $(helix_OBJECTS) $(helix2_OBJECTS) $(helix3_OBJECTS) $(helix4_OBJECTS) $(helixtex_OBJECTS) $(horn_OBJECTS) $(joincone_OBJECTS) $(joinoffset_OBJECTS) $(joinstyle_OBJECTS) $(screw_OBJECTS) $(taper_OBJECTS) $(texas_OBJECTS) transport.$(OBJEXT) $(twistoid_OBJECTS) $(twistex_OBJECTS) twoid.$(OBJEXT)
++SOURCES = $(beam_SOURCES) candlestick.c $(cone_SOURCES) $(cylinder_SOURCES) $(helix_SOURCES) $(helix2_SOURCES) $(helix3_SOURCES) $(helix4_SOURCES) $(helixtex_SOURCES) $(horn_SOURCES) $(joincone_SOURCES) $(joinoffset_SOURCES) $(joinstyle_SOURCES) $(screw_SOURCES) $(taper_SOURCES) $(texas_SOURCES) transport.c $(twistoid_SOURCES) $(twistex_SOURCES) twoid.c
++OBJECTS = $(beam_OBJECTS) candlestick.$(OBJEXT) $(cone_OBJECTS) $(cylinder_OBJECTS) $(helix_OBJECTS) $(helix2_OBJECTS) $(helix3_OBJECTS) $(helix4_OBJECTS) $(helixtex_OBJECTS) $(horn_OBJECTS) $(joincone_OBJECTS) $(joinoffset_OBJECTS) $(joinstyle_OBJECTS) $(screw_OBJECTS) $(taper_OBJECTS) $(texas_OBJECTS) transport.$(OBJEXT) $(twistoid_OBJECTS) $(twistex_OBJECTS) twoid.$(OBJEXT)
+
+ all: all-redirect
+ .SUFFIXES:
+@@ -303,10 +298,6 @@
+
+ maintainer-clean-libtool:
+
+-alpha$(EXEEXT): $(alpha_OBJECTS) $(alpha_DEPENDENCIES)
+- @rm -f alpha$(EXEEXT)
+- $(LINK) $(alpha_LDFLAGS) $(alpha_OBJECTS) $(alpha_LDADD) $(LIBS)
+-
+ beam$(EXEEXT): $(beam_OBJECTS) $(beam_DEPENDENCIES)
+ @rm -f beam$(EXEEXT)
+ $(LINK) $(beam_LDFLAGS) $(beam_OBJECTS) $(beam_LDADD) $(LIBS)
+@@ -450,7 +441,6 @@
+ || cp -p $$d/$$file $(distdir)/$$file || :; \
+ fi; \
+ done
+-alpha.o: alpha.c ../GL/gle.h main.h
+ beam.o: beam.c ../GL/gle.h main.h
+ candlestick.o: candlestick.c ../GL/gle.h main.h
+ cone.o: cone.c ../GL/gle.h main.h