dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/
commit dc73e340edab5cfa113165544d5c35a22adc8373
parent 84a542c04bd5c07a22fbe3c117899ffe03aec603
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon, 15 Aug 2011 14:38:51 +1000

esniper

Diffstat:
Apackages/net-misc/esniper/esniper-2.26.0.exheres-0 | 24++++++++++++++++++++++++
Apackages/net-misc/esniper/files/esniper-2.26.0-remove-types-h.patch | 15+++++++++++++++
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/packages/net-misc/esniper/esniper-2.26.0.exheres-0 b/packages/net-misc/esniper/esniper-2.26.0.exheres-0
@@ -0,0 +1,24 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+MY_PNV="${PN}-$(ever replace_all -)"
+require sourceforge [ suffix=tgz ]
+
+SUMMARY="Command-line program for sniping eBay auctions"
+
+LICENCES="BSD"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+    build+run:
+        dev-libs/openssl
+        net-misc/curl[>=7.12]
+"
+
+BUGS_TO="djc@djc.id.au"
+
+WORK="${WORKBASE}/${MY_PNV}"
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-remove-types-h.patch" )
+DEFAULT_SRC_INSTALL_EXCLUDE=( "history.[coh]" )
+
diff --git a/packages/net-misc/esniper/files/esniper-2.26.0-remove-types-h.patch b/packages/net-misc/esniper/files/esniper-2.26.0-remove-types-h.patch
@@ -0,0 +1,15 @@
+Source: Dan Callaghan <djc@djc.id.au>
+Upstream: already fixed https://sourceforge.net/tracker/?func=detail&aid=3389276&group_id=45285&atid=442436
+Reason: curl dropped this header, it was empty and not needed
+
+diff -ur esniper-2-26-0/http.c esniper-2-26-0.fixed/http.c
+--- esniper-2-26-0/http.c       2011-08-10 05:05:59.000000000 +1000
++++ esniper-2-26-0.fixed/http.c 2011-08-15 14:27:23.841998416 +1000
+@@ -28,7 +28,6 @@
+ #include "esniper.h"
+ #include <ctype.h>
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ #include <stdlib.h>
+ #include <string.h>