This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

libdnet: fix deprecated macro

Fixes #16903.
  • Loading branch information...
1 parent 4a9a6b2 commit 715fb8a0673ddc01c4ea47ba4b8c1a5c0d104e71 @adamv adamv committed with klausmeyer Jan 6, 2013
Showing with 22 additions and 0 deletions.
  1. +22 −0 Library/Formula/libdnet.rb
View
@@ -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 @@ def install
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

0 comments on commit 715fb8a

Please sign in to comment.