summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2010-11-26 17:49:56 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2010-11-26 17:49:56 +0000
commitcdf9065afa775bb6e9d25f15b153fd3a24a483a5 (patch)
tree74c0219e851854771ef349ee8af1d0ce6b47cddc /media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch
parentadding comment and postinstall info (diff)
downloadje_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.tar.gz
je_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.tar.bz2
je_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.zip
latest version, trying to escape compilation error in 2.4.10 - st2205/st2205_decode.c:425:1: error: expected identifier or '(' before '{' token
svn path=/; revision=305
Diffstat (limited to 'media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch')
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch
new file mode 100644
index 0000000..9fcabd9
--- /dev/null
+++ b/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch
@@ -0,0 +1,34 @@
+# Do not build tests if not running make check
+# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=226241
+--- a/libgphoto2_port/test/Makefile.am 2010-01-07 01:04:40.000000000 +0100
++++ b/libgphoto2_port/test/Makefile.am 2010-01-07 01:04:57.000000000 +0100
+@@ -1,4 +1,4 @@
+-noinst_PROGRAMS = test-gp-port
++check_PROGRAMS = test-gp-port
+
+ test_gp_port_CPPFLAGS = \
+ $(AM_CPPFLAGS) $(CPPFLAGS) \
+--- a/tests/Makefile.am 2010-01-07 00:56:14.000000000 +0100
++++ b/tests/Makefile.am 2010-01-07 00:56:40.000000000 +0100
+@@ -2,7 +2,9 @@
+
+ check_PROGRAMS = \
+ test-camera-list \
+- test-pedantic-c
++ test-pedantic-c \
++ test-gphoto2 \
++ test-filesys
+
+ if HAVE_CXX
+ check_PROGRAMS += test-pedantic-cxx
+@@ -22,10 +24,6 @@
+
+ CLEANFILES = $(check_SCRIPTS)
+
+-noinst_PROGRAMS = \
+- test-gphoto2 \
+- test-filesys
+-
+ test_gphoto2_SOURCE = test-gphoto2.c
+ test_gphoto2_LDADD = \
+ $(top_builddir)/libgphoto2/libgphoto2.la \