diff options
-rw-r--r-- | misc/rabbit/Makefile | 2 | ||||
-rw-r--r-- | misc/rabbit/distinfo | 4 | ||||
-rw-r--r-- | misc/rabbit/files/patch-lib-rabbit-element-container-element.rb | 31 |
3 files changed, 3 insertions, 34 deletions
diff --git a/misc/rabbit/Makefile b/misc/rabbit/Makefile index 85c4ba917c9d..3f282c5a4fab 100644 --- a/misc/rabbit/Makefile +++ b/misc/rabbit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= rabbit -PORTVERSION= 1.0.7 +PORTVERSION= 1.0.8 CATEGORIES= misc ruby MASTER_SITES= http://rabbit-shockers.org/download/ \ LOCAL diff --git a/misc/rabbit/distinfo b/misc/rabbit/distinfo index c64e9dded3eb..31e6bb269a9c 100644 --- a/misc/rabbit/distinfo +++ b/misc/rabbit/distinfo @@ -1,2 +1,2 @@ -SHA256 (rabbit-1.0.7.tar.gz) = ebd16a1ab7c9ae9e444abe2a29c0bbe7646f6544a55e31e2df069884cdb70c56 -SIZE (rabbit-1.0.7.tar.gz) = 5897132 +SHA256 (rabbit-1.0.8.tar.gz) = 9a5c36f5709da16d6be379b3329d886f0853cc8b756a681391566957b54049cb +SIZE (rabbit-1.0.8.tar.gz) = 5895785 diff --git a/misc/rabbit/files/patch-lib-rabbit-element-container-element.rb b/misc/rabbit/files/patch-lib-rabbit-element-container-element.rb deleted file mode 100644 index f05a5c650055..000000000000 --- a/misc/rabbit/files/patch-lib-rabbit-element-container-element.rb +++ /dev/null @@ -1,31 +0,0 @@ ---- lib/rabbit/element/container-element.rb.orig 2012-05-29 22:51:14.000000000 +0900 -+++ lib/rabbit/element/container-element.rb 2012-06-14 07:05:17.000000000 +0900 -@@ -119,18 +119,22 @@ - prev_is_inline = false - @elements.each do |element| - element.compile(canvas, x, y, w, h) -- compile_horizontal(canvas, x, y, w, h) -+ compile_horizontal_element(element, canvas, x, y, w, h) - x, y, w, h = element.draw(true) - end - end - - def compile_horizontal(canvas, x, y, w, h) - @elements.each do |element| -- if do_horizontal_centering? or element.do_horizontal_centering? -- element.do_horizontal_centering(canvas, x, y, w, h) -- else -- element.reset_horizontal_centering(canvas, x, y, w, h) -- end -+ compile_horizontal_element(element, canvas, x, y, w, h) -+ end -+ end -+ -+ def compile_horizontal_element(element, canvas, x, y, w, h) -+ if do_horizontal_centering? or element.do_horizontal_centering? -+ element.do_horizontal_centering(canvas, x, y, w, h) -+ else -+ element.reset_horizontal_centering(canvas, x, y, w, h) - end - end - |