diff options
| author | Brett Koonce | 2013-01-02 22:35:54 -0600 | 
|---|---|---|
| committer | Adam Vandenberg | 2013-01-02 21:00:18 -0800 | 
| commit | 10b5d288cdbebd9058279cb694543527091ec8e3 (patch) | |
| tree | 7c0d6d974d05c93c9df7a79a51cf972a066ecd18 /Library/Formula/apt-dater.rb | |
| parent | 1454f5d99b7d0448f8d8041476ac5200702791a6 (diff) | |
| download | homebrew-10b5d288cdbebd9058279cb694543527091ec8e3.tar.bz2 | |
apt-dater 0.9.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/apt-dater.rb')
| -rw-r--r-- | Library/Formula/apt-dater.rb | 40 | 
1 files changed, 2 insertions, 38 deletions
diff --git a/Library/Formula/apt-dater.rb b/Library/Formula/apt-dater.rb index a7fc7dafa..005c0ea3c 100644 --- a/Library/Formula/apt-dater.rb +++ b/Library/Formula/apt-dater.rb @@ -2,19 +2,13 @@ require 'formula'  class AptDater < Formula    homepage 'http://www.ibh.de/apt-dater/' -  url 'http://downloads.sourceforge.net/project/apt-dater/apt-dater/0.8.6/apt-dater-0.8.6.tar.gz' -  sha1 '178955f4c8999cf3cfeaf8ebbcf807f9a6beafd6' +  url 'http://sourceforge.net/projects/apt-dater/files/apt-dater/0.9.0/apt-dater-0.9.0.tar.gz' +  sha1 'f62fe55602f2526f2830c3c266b8c392bb908d92'    depends_on 'gettext'    depends_on 'glib'    depends_on 'popt' -  # bug report: -  # http://sourceforge.net/tracker/?func=detail&aid=3470631&group_id=233727&atid=1091021 -  def patches -    { :p0 => DATA } -  end -    def install      system "./configure", "--disable-debug",                            "--disable-dependency-tracking", @@ -26,33 +20,3 @@ class AptDater < Formula      system "#{bin}/apt-dater", "-v"    end  end - -__END__ ---- src/apt-dater.c -+++ src/apt-dater.c -@@ -180,10 +180,10 @@ int main(int argc, char **argv, char **envp) -  if(!report) { - #endif -    /* Test if we are the owner of the TTY or die. */ --   if(g_access("/proc/self/fd/0", R_OK|W_OK)) { --     g_error(_("Cannot open your terminal /proc/self/fd/0 - please check.")); --     exit(EXIT_FAILURE); --   } -+//   if( g_access("/proc/self/fd/0", R_OK|W_OK)) { -+//     g_error(_("Cannot open your terminal /proc/self/fd/0 - please check.")); -+//     exit(EXIT_FAILURE); -+//   } -  -    getOldestMtime(hosts); -  ---- src/stats.c -+++ src/stats.c -@@ -96,6 +96,9 @@ gboolean setStatsFileFromIOC(GIOChannel *ioc, GIOCondition condition, -     if(iostatus == G_IO_STATUS_ERROR || iostatus == G_IO_STATUS_AGAIN) -      break; -  -+    if(*buf == 0) -+     condition = G_IO_HUP; -+ -     if(fwrite(buf, sizeof(gchar), bytes, ((HostNode *) n)->fpstat) != bytes) - 	break;  | 
