File: 0003-Use-deterministic-label-for-image.patch

package info (click to toggle)
ruby-rmagick 2.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,400 kB
  • ctags: 2,291
  • sloc: ansic: 17,146; ruby: 13,758; sh: 28; makefile: 12
file content (24 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Chris Lamb <lamby@debian.org>
Date: Tue, 16 Aug 2016 11:08:42 -0300
Subject: Use deterministic label for image

this helps making the build reproducible

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
---
 doc/ex/polaroid.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ex/polaroid.rb b/doc/ex/polaroid.rb
index 517e3d5..80f6b5a 100644
--- a/doc/ex/polaroid.rb
+++ b/doc/ex/polaroid.rb
@@ -5,7 +5,7 @@ require 'date'
 # Demonstrate the Image#polaroid method
 
 img = Magick::Image.read('images/Flower_Hat.jpg').first
-img[:Caption] = "\nLosha\n" + Date.today.to_s
+img[:Caption] = "\nLosha\nPlus hat"
 
 begin
   picture = img.polaroid do