summaryrefslogtreecommitdiff
path: root/lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt')
-rw-r--r--lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt b/lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt
new file mode 100644
index 00000000000..f292473b1eb
--- /dev/null
+++ b/lang/racket/patches/patch-collects_racket_draw_unsafe_png.rkt
@@ -0,0 +1,13 @@
+$NetBSD: patch-collects_racket_draw_unsafe_png.rkt,v 1.1 2011/08/01 11:45:43 asau Exp $
+
+--- collects/racket/draw/unsafe/png.rkt.orig 2011-04-30 03:47:34.000000000 +0000
++++ collects/racket/draw/unsafe/png.rkt
+@@ -14,7 +14,7 @@
+ ;; variants often have just "libpng":
+ (with-handlers ([exn:fail:filesystem?
+ (lambda (exn) (ffi-lib "libpng"))])
+- (ffi-lib "libpng12" '("0" "")))]
++ (ffi-lib "libpng15" '("0" "")))]
+ [(macosx) (ffi-lib "libpng14.14.dylib")]
+ [(windows)
+ (ffi-lib "zlib1.dll")