aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrett Koonce2012-11-26 17:02:48 -0600
committerAdam Vandenberg2012-11-26 20:06:22 -0800
commit01042d1af37d651fe7c8382fdc02bd322a737ef2 (patch)
tree0f7f96669019c84df6d04c7352d3f8465f1280cd /Library
parent4e0614fbe46c81285eece9c41b3cdf001b6b55c1 (diff)
downloadhomebrew-01042d1af37d651fe7c8382fdc02bd322a737ef2.tar.bz2
gengetopt 2.22.6
stripped the patch, fixed upstream Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gengetopt.rb59
1 files changed, 3 insertions, 56 deletions
diff --git a/Library/Formula/gengetopt.rb b/Library/Formula/gengetopt.rb
index 91ab06cbb..40e66e011 100644
--- a/Library/Formula/gengetopt.rb
+++ b/Library/Formula/gengetopt.rb
@@ -1,16 +1,10 @@
require 'formula'
class Gengetopt < Formula
- url 'http://ftpmirror.gnu.org/gengetopt/gengetopt-2.22.5.tar.gz'
- mirror 'http://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.5.tar.gz'
+ url 'http://ftpmirror.gnu.org/gengetopt/gengetopt-2.22.6.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.6.tar.gz'
homepage 'http://www.gnu.org/software/gengetopt/'
- sha1 '8b1d97cbd8d013998d74830a0286435f881e3c10'
-
- def patches
- # patches to fix conflicting struct definitions
- # upstream issue: http://savannah.gnu.org/bugs/index.php?34430
- DATA
- end
+ sha1 'c93bdec17f247aa32b3cd6530a6f68aa430d67f5'
def install
system "./configure", "--disable-dependency-tracking",
@@ -21,50 +15,3 @@ class Gengetopt < Formula
system "make install"
end
end
-
-__END__
-diff --git a/doc/main1.cc b/doc/main1.cc
-index e6e727e..838d2ae 100644
---- a/doc/main1.cc
-+++ b/doc/main1.cc
-@@ -2,6 +2,10 @@
- /* we try to use gengetopt generated file in a C++ program */
- /* we don't use autoconf and automake vars */
-
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
- #include <iostream>
- #include "stdlib.h"
-
-diff --git a/src/acceptedvalues.cpp b/src/acceptedvalues.cpp
-index 792908b..1ecb10f 100644
---- a/src/acceptedvalues.cpp
-+++ b/src/acceptedvalues.cpp
-@@ -10,6 +10,10 @@
- //
- //
-
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
- #include <sstream>
-
- #include "acceptedvalues.h"
-diff --git a/src/fileutils.cpp b/src/fileutils.cpp
-index d97782c..33eecde 100644
---- a/src/fileutils.cpp
-+++ b/src/fileutils.cpp
-@@ -10,6 +10,10 @@
- //
- //
-
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
- #include <cstdio>
- #include <cstdlib>
- #include <cstring>