diff --git a/contrib/src/sndfile/disable_programs.patch b/contrib/src/sndfile/disable_programs.patch
new file mode 100644
index 0000000000000000000000000000000000000000..ea06b971de2ce2199fb8449c0c95fe3600090356
--- /dev/null
+++ b/contrib/src/sndfile/disable_programs.patch
@@ -0,0 +1,12 @@
+--- a/Makefile.am	2016-05-30 11:59:21.000000000 -0400
++++ b/Makefile.am	2016-05-30 11:59:28.000000000 -0400
+@@ -6,8 +6,8 @@
+ octave_dir = Octave
+ endif
+
+-SUBDIRS = M4 man doc Win32 src $(octave_dir) examples regtest tests programs
+-DIST_SUBDIRS = M4 man doc Win32 src Octave examples regtest tests programs
++SUBDIRS = M4 man doc Win32 src $(octave_dir)
++DIST_SUBDIRS = M4 man doc Win32 src Octave
+
+ EXTRA_DIST = libsndfile.spec.in sndfile.pc.in
diff --git a/contrib/src/sndfile/rules.mak b/contrib/src/sndfile/rules.mak
index 077cd6c840a4f55469d759a984a76fe9f4126940..51a7a37b6292968048362f2254faf8da00eacbfe 100644
--- a/contrib/src/sndfile/rules.mak
+++ b/contrib/src/sndfile/rules.mak
@@ -19,6 +19,7 @@ sndfile: libsndfile-$(SNDFILE_VERSION).tar.gz .sum-sndfile
 	$(APPLY) $(SRC)/sndfile/soundcard.patch
 	$(APPLY) $(SRC)/sndfile/carbon.patch
 	$(APPLY) $(SRC)/sndfile/autotools.patch
+	$(APPLY) $(SRC)/sndfile/disable_programs.patch
 	$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub Cfg && autoreconf -fi
 	$(MOVE)