aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
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");
+ }