diff options
author | Tilman Sauerbeck <tilman@crux.nu> | 2009-05-13 18:49:47 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2009-05-13 18:49:47 +0200 |
commit | a1d32a7772764755d588a9c7a64094cd705f4bfa (patch) | |
tree | 4c9d4e40ed5a6ed0077cad63d43a1694a5c0edc9 /httpup | |
parent | db605060bf746529b1befd5f9422177c7f880552 (diff) | |
download | core-a1d32a7772764755d588a9c7a64094cd705f4bfa.tar.gz core-a1d32a7772764755d588a9c7a64094cd705f4bfa.tar.xz |
httpup: fixed the build with gcc 4.4.
Diffstat (limited to 'httpup')
-rw-r--r-- | httpup/.md5sum | 1 | ||||
-rw-r--r-- | httpup/Pkgfile | 9 | ||||
-rw-r--r-- | httpup/httpup.diff | 24 |
3 files changed, 32 insertions, 2 deletions
diff --git a/httpup/.md5sum b/httpup/.md5sum index 5c38042c..94a6f1cd 100644 --- a/httpup/.md5sum +++ b/httpup/.md5sum @@ -1,2 +1,3 @@ faa600a1b0349fe78b0eb463cab444df httpup 7f46d4a57ec87612355c1ca2a45cb00f httpup-0.4.0j.tar.gz +c6192e925605111cf8b0536790b98703 httpup.diff diff --git a/httpup/Pkgfile b/httpup/Pkgfile index 9110987d..1b0be9e4 100644 --- a/httpup/Pkgfile +++ b/httpup/Pkgfile @@ -5,11 +5,16 @@ name=httpup version=0.4.0j -release=1 -source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup) +release=2 +source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup + $name.diff) build() { cd $name-$version + + # fix the build with gcc 4.4 + patch -Np1 -i $SRC/$name.diff + make mkdir -p $PKG/usr/{bin,man/man8} diff --git a/httpup/httpup.diff b/httpup/httpup.diff new file mode 100644 index 00000000..0160f4d1 --- /dev/null +++ b/httpup/httpup.diff @@ -0,0 +1,24 @@ +From 4220cc4e0f59c74d9c0c554260523dc9b270f631 Mon Sep 17 00:00:00 2001 +From: Tilman Sauerbeck <tilman@crux.nu> +Date: Wed, 13 May 2009 18:45:47 +0200 +Subject: [PATCH] Fixed the build with gcc 4.4. + +--- + configparser.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/configparser.cpp b/configparser.cpp +index c70df82..5ed1c95 100644 +--- a/configparser.cpp ++++ b/configparser.cpp +@@ -10,6 +10,7 @@ + //////////////////////////////////////////////////////////////////////// + + #include <iostream> ++#include <cstdio> + #include <cstring> + #include "configparser.h" + +-- +1.6.3.1 + |