diff options
author | Thomas Penteker <tek@serverop.de> | 2014-10-24 12:29:16 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2014-10-24 12:29:16 +0200 |
commit | 95a457a847813f7a8ca73316804086c4f274d7e9 (patch) | |
tree | 5d3c7938aa7d262ee0d40c7623d99571968a104f /htmldoc | |
parent | 69c9d78c72f3abe1b49235f0e5b512744ee62d7d (diff) | |
download | contrib-95a457a847813f7a8ca73316804086c4f274d7e9.tar.gz contrib-95a457a847813f7a8ca73316804086c4f274d7e9.tar.xz |
htmldoc: 1.8.27 -> 1.8.28
Diffstat (limited to 'htmldoc')
-rw-r--r-- | htmldoc/.md5sum | 3 | ||||
-rw-r--r-- | htmldoc/Pkgfile | 25 | ||||
-rw-r--r-- | htmldoc/fix_random.diff | 18 |
3 files changed, 37 insertions, 9 deletions
diff --git a/htmldoc/.md5sum b/htmldoc/.md5sum index 059e09edc..873792b6f 100644 --- a/htmldoc/.md5sum +++ b/htmldoc/.md5sum @@ -1 +1,2 @@ -35589e7b8fe9c54e11be87cd5aec4dcc htmldoc-1.8.27-source.tar.bz2 +27d2d8da8d58eedcdf16e63bad8c55a7 fix_random.diff +8e4e3f49ee9b2c5af01eb81a518ce7e7 htmldoc-1.8.28-source.tar.bz2 diff --git a/htmldoc/Pkgfile b/htmldoc/Pkgfile index b1ed9c411..533c118b8 100644 --- a/htmldoc/Pkgfile +++ b/htmldoc/Pkgfile @@ -5,14 +5,23 @@ # Depends on: name=htmldoc -version=1.8.27 -release=2 -source=(http://ftp.easysw.com/pub/$name/$version/$name-$version-source.tar.bz2) +version=1.8.28 +release=1 +source=(http://msweet.org/files/project1/$name-$version-source.tar.bz2 + fix_random.diff) build() { - cd $name-$version - ./configure --prefix=/usr - make - make prefix=$PKG/usr bindir=$PKG/usr/bin install - rm -rf $PKG/usr/share/doc + cd $name-$version + + patch -i $SRC/fix_random.diff -p1 + + ./configure --prefix=/usr --disable-gnutls + + make + make prefix=$PKG/usr \ + datadir=$PKG/usr/share \ + bindir=$PKG/usr/bin \ + mandir=$PKG/usr/man install + + rm -rf $PKG/usr/share/doc } diff --git a/htmldoc/fix_random.diff b/htmldoc/fix_random.diff new file mode 100644 index 000000000..7d5953343 --- /dev/null +++ b/htmldoc/fix_random.diff @@ -0,0 +1,18 @@ +diff -ru a/htmldoc/http.h b/htmldoc/http.h +--- a/htmldoc/http.h 2014-10-24 12:08:19.063189382 +0200 ++++ b/htmldoc/http.h 2014-10-24 12:07:33.583189387 +0200 +@@ -16,6 +16,14 @@ + */ + + #ifndef _CUPS_HTTP_H_ ++ ++#ifndef CUPS_RAND() ++ #define CUPS_RAND() random() ++#endif ++#ifndef CUPS_SRAND(v) ++ #define CUPS_SRAND(v) srandom(v) ++#endif ++ + # define _CUPS_HTTP_H_ + + /* |