diff options
author | Juergen Lock <nox@FreeBSD.org> | 2011-03-01 20:46:50 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2011-03-01 20:46:50 +0000 |
commit | f81f64d1b8220a0c07a5ebd489debfdae843f7a7 (patch) | |
tree | 435c67055afbbaf754bffd4b61a297ca0cec8f8c /multimedia | |
parent | cc752430b08c0d14f374ca51f95e0b879eada738 (diff) | |
download | ports-f81f64d1b8220a0c07a5ebd489debfdae843f7a7.tar.gz ports-f81f64d1b8220a0c07a5ebd489debfdae843f7a7.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/w_scan/Makefile | 2 | ||||
-rw-r--r-- | multimedia/w_scan/files/patch-scan.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/w_scan/Makefile b/multimedia/w_scan/Makefile index b38be7603cee..d5d102ad8ee5 100644 --- a/multimedia/w_scan/Makefile +++ b/multimedia/w_scan/Makefile @@ -7,7 +7,7 @@ PORTNAME= w_scan PORTVERSION= 20110206 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://wirbel.htpc-forum.de/w_scan/ diff --git a/multimedia/w_scan/files/patch-scan.c b/multimedia/w_scan/files/patch-scan.c new file mode 100644 index 000000000000..12b5180c50c5 --- /dev/null +++ b/multimedia/w_scan/files/patch-scan.c @@ -0,0 +1,13 @@ +--- a/scan.c ++++ b/scan.c +@@ -2866,8 +2866,8 @@ int main (int argc, char **argv) + bad_usage(argv[0]); + return -1; + } +- if (((adapter > 7) && (adapter != 999)) || (adapter < 0)) { +- info("Invalid adapter: out of range (0..7)\n"); ++ if (((adapter > 255) && (adapter != 999)) || (adapter < 0)) { ++ info("Invalid adapter: out of range (0..255)\n"); + bad_usage(argv[0]); + return -1; + } |