Skip to content

Commit 4d71742

Browse files
committed
sane-backends: Update to 1.3.1
And remove some old bugfixes, hoping they are no longer needed.
1 parent 991498d commit 4d71742

File tree

3 files changed

+11
-35
lines changed

3 files changed

+11
-35
lines changed

graphics/sane-backends/Portfile

+8-14
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
PortSystem 1.0
44

55
name sane-backends
6-
version 1.2.1
7-
revision 2
8-
set upload_tag 110fc43336d0fb5e514f1fdc7360dd87
6+
version 1.3.1
7+
revision 0
8+
set upload_tag 83bdbb6c9a115184c2d48f1fdc6847db
9+
checksums rmd160 1f62e34a17dc6446da1c13f295c55da44b4cf546 \
10+
sha256 aa82f76f409b88f8ea9793d4771fce01254d9b6549ec84d6295b8f59a3879a0c \
11+
size 7432184
12+
913
categories graphics
1014
# Some content is LGPL-2+ or public-domain, but the package as a whole is GPL-2+
1115
license GPL-2+
@@ -20,10 +24,6 @@ long_description These are the backends for the Scanner Access Now \
2024

2125
master_sites https://gitlab.com/sane-project/backends/uploads/${upload_tag}/
2226

23-
checksums rmd160 8f468934284f31ea033869c79635b473c957fd22 \
24-
sha256 f832395efcb90bb5ea8acd367a820c393dda7e0dd578b16f48928b8f5bdd0524 \
25-
size 7308040
26-
2727
depends_build path:bin/pkg-config:pkgconfig
2828

2929
depends_lib path:include/turbojpeg.h:libjpeg-turbo \
@@ -39,8 +39,7 @@ depends_run path:bin/pkg-config:pkgconfig
3939
depends_lib-append path:lib/libcrypto.dylib:openssl
4040

4141
patchfiles patch-configure.diff \
42-
send.patch \
43-
patch-frontend-scanimage.c.diff
42+
send.patch
4443

4544
compiler.c_standard 1999
4645
# genesys backend now uses C++11
@@ -61,8 +60,6 @@ post-configure {
6160

6261
build.env-append LC_CTYPE=C
6362

64-
use_parallel_build no
65-
6663
pre-destroot {
6764
xinstall -d -o root -g admin -m 0775 ${destroot}${prefix}/var/lock
6865
}
@@ -111,9 +108,6 @@ variant snmp description "enable automatic network discovery via SNMP" {
111108
configure.args-append --with-snmp
112109
}
113110

114-
# This project uses u_long *everywhere* and doesn't bother including sys/types.h
115-
configure.cppflags-append -include sys/types.h
116-
117111
livecheck.type regex
118112
livecheck.url https://gitlab.com/sane-project/backends/-/tags
119113
livecheck.regex "backends-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- configure.orig 2020-08-23 13:59:54.000000000 +0200
2-
+++ configure 2020-10-24 23:57:10.000000000 +0200
3-
@@ -20198,7 +20198,7 @@
1+
--- configure.orig 2024-05-23 00:45:25.000000000 -0500
2+
+++ configure 2024-10-18 14:22:29.000000000 -0500
3+
@@ -20138,7 +20138,7 @@
44
AM_LDFLAGS="$AM_LDFLAGS -Wl,-brtl"
55
;;
66
darwin*) #include frameworks
@@ -9,11 +9,3 @@
99
;;
1010
esac
1111

12-
@@ -25940,6 +25940,7 @@
13-
/* end confdefs.h. */
14-
15-
#define INET6
16-
+ #include <stdlib.h>
17-
#include <sys/types.h>
18-
#include <sys/socket.h>
19-
int

graphics/sane-backends/files/patch-frontend-scanimage.c.diff

-10
This file was deleted.

0 commit comments

Comments
 (0)