Permalink
Browse files

Patch for compatibility with clojure 1.3 and 1.4:

- clojure.contrib.def replaced by clojure.core.incubator for defmacro-
  • Loading branch information...
1 parent aaaf6ea commit 7acdfbb808852fbde3bc78bc7c5593a42eccbc5f @gelvaos gelvaos committed Jun 4, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 project.clj
  2. +1 −1 src/vision/core.clj
View
@@ -1,6 +1,6 @@
(defproject vision "1.0.0-SNAPSHOT"
:description "OpenCV wrapper for Clojure."
- :dependencies [[org.clojure/clojure "1.2.0"]
- [org.clojure/clojure-contrib "1.2.0"]
+ :dependencies [[org.clojure/clojure "1.4.0"]
+ [org.clojure/core.incubator "0.1.0"]
[org.clojars.nakkaya/jna "3.2.7"]]
:jvm-opts ["-Djna.library.path=resources/lib/"])
View
@@ -1,5 +1,5 @@
(ns vision.core
- (:use [clojure.contrib.def :only [defmacro-]])
+ (:use [clojure.core.incubator :only [defmacro-]])
(:import (com.sun.jna Function Pointer)
(com.sun.jna.ptr ByReference IntByReference FloatByReference ByteByReference)
(java.awt.image BufferedImage DirectColorModel Raster DataBufferInt)))

0 comments on commit 7acdfbb

Please sign in to comment.