File: fail-on-doc-failure.dpatch

package info (click to toggle)
ruby-rmagick 2.13.2-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,620 kB
  • ctags: 1,785
  • sloc: ansic: 16,759; ruby: 9,717; makefile: 14; sh: 14
file content (21 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## fail-on-doc-failure.dpatch by  <lucas@lucas-nussbaum.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Be more pedantic than upstream regarding documentation generation
## DP: failures.

@DPATCH@
Index: ruby-rmagick/post-setup.rb
===================================================================
--- ruby-rmagick.orig/post-setup.rb	2011-05-17 12:20:11.000000000 -0500
+++ ruby-rmagick/post-setup.rb	2011-05-17 12:54:46.000000000 -0500
@@ -84,7 +84,7 @@
     if $? != 0 then
       puts("post-setup.rb: #{example} example returned error code #{$?}")
       @errs += 1 unless ALLOW_EXAMPLE_ERRORS
-      if @errs > 4
+      if @errs > 1
          err(<<-END_EXFAIL
             Too many examples failed. Search for "Help!" at
             http://rmagick.rubyforge.org/install-faq.html.