Skip to content

Commit

Permalink
use ncursesw headers on ubuntu 13 + v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Dec 13, 2013
1 parent 9916474 commit 11237f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.1
1.4.2
6 changes: 4 additions & 2 deletions extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@

require "mkmf"

$CFLAGS += " -g -Wformat -Werror=format-security"
$CFLAGS += " -g -Wformat -Werror=format-security -Waddress"

have_header("unistd.h")
have_header("locale.h")

if have_header("ncurses.h")
if have_header ("ncursesw/curses.h") # ubuntu 13
curses_header = "ncursesw/curses.h"
elsif have_header("ncurses.h")
curses_header = "ncurses.h"
elsif have_header("ncurses/curses.h")
curses_header = "ncurses/curses.h"
Expand Down
2 changes: 1 addition & 1 deletion ncursesw.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SUMMARY = 'This wrapper provides access to the functions, macros, global variabl

spec = Gem::Specification.new do |s|
s.name = 'ncursesw'
s.version = '1.4.1'
s.version = '1.4.2'
s.platform = Gem::Platform::RUBY
s.authors = ['Tobias Herzke', 'Sup developers']
s.email = ['sup-talk@rubyforge.org']
Expand Down

0 comments on commit 11237f2

Please sign in to comment.