Skip to content

Commit

Permalink
Merge pull request #7 from zhm/upgrade-sources
Browse files Browse the repository at this point in the history
Upgrade sources and fix compilation errors on ruby 2.2.1
  • Loading branch information
zhm committed Apr 9, 2015
2 parents a1cd42d + 607f364 commit 81c6365
Show file tree
Hide file tree
Showing 13 changed files with 3,027 additions and 1,307 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ rvm:
- 1.9.2
- 1.9.3
- 2.1.5
- 2.2.1
before_install:
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
- sudo apt-get update
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## v1.0.0
* Regenerated bindings using GDAL 1.10.1 sources and SWIG 3.0.5
* Patch for ruby 2.2.1 (Thanks @aleksejleonov and @johnjohndoe) (Issue #5)
* Fix symbol conflicts when requiring both `gdal-ruby/gdal` and `gdal-ruby/ogr` with `get_driver_by_name` and other functions (Issue #2)
* Since the symbol conflicts are now fixed, `gdal`, `ogr`, `osr` and `gdalconst` are now `require`'d be default (Issue #2)

## v0.0.7
* Fix for building on ruby versions where `$CXXFLAGS` isn't defined
3 changes: 3 additions & 0 deletions ext/gdal-ruby/gdal/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
require 'mkmf'

# see https://github.com/zhm/gdal-ruby/issues/5
require_relative '../ruby-2.2-patch'

raise 'gdal-config not found.' if `which gdal-config`.empty?

dir_config 'gdal',
Expand Down
Loading

0 comments on commit 81c6365

Please sign in to comment.