1
0
forked from ports/contrib

htmldoc: 1.8.30 -> 1.9.4

This commit is contained in:
Thomas Penteker 2018-09-08 23:24:36 +02:00
parent 93aff09a2b
commit 3e16c07d00
4 changed files with 7 additions and 30 deletions

View File

@ -1,2 +1 @@
27d2d8da8d58eedcdf16e63bad8c55a7 fix_random.diff
c8ea9f9e4bbe49bd42a597338dc2b111 htmldoc-1.8.30-source.tar.gz
bdcd22e47cb70725fc55239aad98dc78 htmldoc-1.9.4-source.tar.gz

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wDkAXhQj9R2W9i/AT+YORRlmVCJmLP+Qz2yhgh5yPvpDSbcEQfoWi+XRcAI83kREDbV8gNgpccF+JwqMMIB1A0=
SHA256 (Pkgfile) = 0fa2e2ff57968d0fa03831821fb322518aa950025003c484e32a187dad7cf464
RWSagIOpLGJF3zQpg8CriYG7JQSjJjrJDL5vKqpAzwYfK2FqRbfOt8dXD5Rh7f4E2OOIDiIK/HZ7J2UtVxHAudOhdtPp8RgwvQg=
SHA256 (Pkgfile) = 8cc9fa2459bf1af250d004d0c490ba8f8639f83a11de2bd65eb91d88cbf904cf
SHA256 (.footprint) = ab9356c13436d3e147118e880806e5b31d1853448d56b0c8d0c102b57a6df202
SHA256 (htmldoc-1.8.30-source.tar.gz) = 7fb7a532f590f7ce1b7c8486d9fe30adaea3c7c32cb412ba7cf093d67cba5fc6
SHA256 (fix_random.diff) = 9f0caf1b5d04e80186d83d10c8c1640118d27132956f64841e557767da34965c
SHA256 (htmldoc-1.9.4-source.tar.gz) = 8e33d22e0d757099bcbc09d513dae599bdb735450f2af24597f325a7a854d1f7

View File

@ -5,18 +5,15 @@
# Depends on:
name=htmldoc
version=1.8.30
version=1.9.4
release=1
source=(https://github.com/michaelrsweet/htmldoc/releases/download/v1.8.30/${name}-${version}-source.tar.gz
fix_random.diff)
source=(https://github.com/michaelrsweet/htmldoc/releases/download/v${version}/${name}-${version}-source.tar.gz)
build() {
patch -i $SRC/fix_random.diff -p1
./configure --prefix=/usr --disable-gnutls
make
make prefix=$PKG/usr \
make prefix=$PKG/usr \
datadir=$PKG/usr/share \
bindir=$PKG/usr/bin \
mandir=$PKG/usr/man install

View File

@ -1,18 +0,0 @@
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_
/*