gphoto2: add package 2.5.11
[feed/packages.git] / multimedia / gphoto2 / patches / 002-no-docs-test.patch
diff --git a/multimedia/gphoto2/patches/002-no-docs-test.patch b/multimedia/gphoto2/patches/002-no-docs-test.patch
new file mode 100644 (file)
index 0000000..44a8917
--- /dev/null
@@ -0,0 +1,44 @@
+Index: gphoto2-2.5.11/Makefile.am
+===================================================================
+--- gphoto2-2.5.11.orig/Makefile.am
++++ gphoto2-2.5.11/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = gphoto-m4 contrib doc gphoto2 packaging tests
++SUBDIRS = gphoto-m4 contrib gphoto2 packaging
+ ACLOCAL_AMFLAGS = -I auto-m4 -I gphoto-m4
+ EXTRA_DIST = README.md
+Index: gphoto2-2.5.11/Makefile.in
+===================================================================
+--- gphoto2-2.5.11.orig/Makefile.in
++++ gphoto2-2.5.11/Makefile.in
+@@ -390,7 +390,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = gphoto-m4 contrib doc gphoto2 packaging tests
++SUBDIRS = gphoto-m4 contrib gphoto2 packaging
+ ACLOCAL_AMFLAGS = -I auto-m4 -I gphoto-m4
+ EXTRA_DIST = README.md
+ all: config.h
+Index: gphoto2-2.5.11/configure.ac
+===================================================================
+--- gphoto2-2.5.11.orig/configure.ac
++++ gphoto2-2.5.11/configure.ac
+@@ -354,16 +354,10 @@ AC_CONFIG_FILES([
+ Makefile
+ gphoto2/Makefile
+ gphoto-m4/Makefile
+-doc/Makefile
+ contrib/Makefile
+ packaging/Makefile
+ packaging/rpm/Makefile
+ packaging/rpm/package.spec
+-tests/data/Makefile
+-tests/staging/subdir1/Makefile
+-tests/staging/subdir2/Makefile
+-tests/staging/Makefile
+-tests/Makefile
+ ])
+ AC_OUTPUT()dnl