head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.11.02.19.52.28; author wiz; state Exp; branches; next ; commitid Jlv7uMAGDHCtkV1H; desc @@ 1.1 log @graphics/unpaper: import unpaper-7.0.0 Packaged for wip by Kamel Ibn Aziz Derouiche, shattered@@, and myself. unpaper is a post-processing tool for scanned sheets of paper, especially for book-pages scanned from previously created photocopies. unpaper tries to remove dark edges, corrects the rotation ("deskew"), and aligns the centering of pages. @ text @$NetBSD$ NetBSD does not provide getopt_long_only. --- unpaper.c.orig 2026-10-29 16:55:42.846529708 +0000 +++ unpaper.c @@@@ -357,7 +357,7 @@@@ int main(int argc, char *argv[]) { {"interpolate", required_argument, NULL, 0xcd}, {NULL, no_argument, NULL, 0}}; - c = getopt_long_only(argc, argv, "hVl:S:x::n::M:s:z:p:m:W:B:w:b:Tt:qv", + c = getopt_long(argc, argv, "hVl:S:x::n::M:s:z:p:m:W:B:w:b:Tt:qv", long_options, &option_index); if (c == -1) break; @