aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-03-12 17:44:33 +0800
committertobik <tobik@FreeBSD.org>2018-03-12 17:44:33 +0800
commit01c302531af838325ca92cf159953ca1251f1555 (patch)
tree216362cf4b134882fc58119a6a7fd14af3001f3b /graphics
parentbc97de5426fdb7d261281123fdb7e3d8f43d7113 (diff)
downloadfreebsd-ports-gnome-01c302531af838325ca92cf159953ca1251f1555.tar.gz
freebsd-ports-gnome-01c302531af838325ca92cf159953ca1251f1555.tar.zst
freebsd-ports-gnome-01c302531af838325ca92cf159953ca1251f1555.zip
graphics/sane-backends: Make reproducible
- Don't add a timestamp at build time to the docs - While here add missing USES=jpeg PR: 223620 Submitted by: Michael Kotlyar <mdk369@nyu.edu>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sane-backends/Makefile3
-rw-r--r--graphics/sane-backends/files/patch-tools_sane-desc.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 1fb62a4f0ef8..09f821542ef8 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sane-backends
PORTVERSION= 1.0.27
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4146/ \
http://fossies.org/linux/misc/
@@ -14,7 +15,7 @@ LICENSE= GPLv2+
LIB_DEPENDS= libtiff.so:graphics/tiff
-USES= gmake libtool localbase pathfix pkgconfig
+USES= gmake jpeg libtool localbase pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} \
--disable-latex \
diff --git a/graphics/sane-backends/files/patch-tools_sane-desc.c b/graphics/sane-backends/files/patch-tools_sane-desc.c
new file mode 100644
index 000000000000..0ee9db54e421
--- /dev/null
+++ b/graphics/sane-backends/files/patch-tools_sane-desc.c
@@ -0,0 +1,13 @@
+--- tools/sane-desc.c.orig 2015-09-01 00:31:54 UTC
++++ tools/sane-desc.c
+@@ -2816,8 +2816,8 @@ html_print_footer (void)
+ "<address>\n"
+ "<a href=\"http://www.sane-project.org/imprint.html\"\n"
+ ">Contact</a>\n" "</address>\n" "<font size=-1>\n");
+- printf ("This page was last updated on %s by sane-desc %s from %s\n",
+- asctime (localtime (&current_time)), SANE_DESC_VERSION, PACKAGE_STRING);
++ printf ("This page was last updated by sane-desc %s from %s\n",
++ SANE_DESC_VERSION, PACKAGE_STRING);
+ printf ("</font>\n");
+ printf ("</body> </html>\n");
+ }