diff options
| author | Adam Vandenberg | 2013-01-06 08:37:35 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-06 08:37:35 -0800 |
| commit | 63a3fb40aa8a93d16983704e3babee34e33724a7 (patch) | |
| tree | 3e2dc3a16a73352ea60e4e8ace74b7c79af90cb5 /Library | |
| parent | 1800594b736143ab1cbc331f2f09bc298b39a7ca (diff) | |
| download | homebrew-63a3fb40aa8a93d16983704e3babee34e33724a7.tar.bz2 | |
libdnet: fix deprecated macro
Fixes #16903.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libdnet.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb index 7d46d114a..bd9ef3143 100644 --- a/Library/Formula/libdnet.rb +++ b/Library/Formula/libdnet.rb @@ -10,6 +10,12 @@ class Libdnet < Formula option 'with-python', 'Build Python module' + # Fix use of deprecated macros + # http://code.google.com/p/libdnet/issues/detail?id=27 + def patches + DATA + end + def install # autoreconf to get '.dylib' extension on shared lib ENV['ACLOCAL'] = 'aclocal -I config' @@ -25,3 +31,19 @@ class Libdnet < Formula system "make install" end end + + +__END__ +diff --git a/configure.in b/configure.in +index 72ac63c..109dc63 100644 +--- a/configure.in ++++ b/configure.in +@@ -10,7 +10,7 @@ AC_CONFIG_AUX_DIR(config) + AC_SUBST(ac_aux_dir) + + AM_INIT_AUTOMAKE(libdnet, 1.12) +-AM_CONFIG_HEADER(include/config.h) ++AC_CONFIG_HEADERS(include/config.h) + + dnl XXX - stop the insanity!@#$ + AM_MAINTAINER_MODE |
