From nobody Sun Aug 04 12:39:59 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcK0H4h77z5SGYd; Sun, 04 Aug 2024 12:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcK0H4Kdfz4Wpq; Sun, 4 Aug 2024 12:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722775199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UzzKIAUeOxDUBlpbP2vFtlzyz0xYteVtCnybVVHkzec=; b=S7lKAzEXi0+2ctdMwWwNUiHP2ogVOgKNKhoR1CGscOe3v/iVMfN2bj7RjCknyhY/kABrHm I8GWGnkucEQdXS8xHg5OhCi/+aNXmGfVgfXapMf3qipuHyQb8tw/05kO5fa/sCtrAsLKW0 wCJ6Q+vBNHlZ/f7TIH9shblFm3CaPIP3A8H63cHeyrWrBPLg/rOULCmvya/IOkjkaYnIwn QNBUjkActcXNpxZmIQEVa+DVwTG938jSV1ItiKAi55n8ohfP30QiaNaGrpY8xkZ3M+Ozm7 +obgMZelc27f0mRGchS3nmAShXJY0X/x8uQH0KD0DKcu8nbiR2ZvziBs4fk2Wg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722775199; a=rsa-sha256; cv=none; b=jtz7G29Gb4cLFcZkOU719MNzKK+kUiNSkC91YFaVuDcaoxebc+AO5NfPxCvwxiB5PTpe2Q /M59OqJN3xdRfGqlfjHRCteADlvWT+s7wxHkbKJVPnkHU1kv3pAO8fm4UteFvVo4SaOY4y mhCLY32VwYD5ErgFBrEJXbLyZ2E8jyaQTrqYK2dKL3TZR/5l/W9PaiHLXn/zGG0WB6m5aP TNtQcWb5yMEnPP+yVJ7I09WMgH4mtXaUoI7sLBUUhy8LIeLpxpDZzsp92i+P6QTNj7y6ik ZozPwfGVTfES1+m0j0jZ9vvxhymgbOUr6TwiCTcKf/6t5g9y94h206vRq1xKOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722775199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UzzKIAUeOxDUBlpbP2vFtlzyz0xYteVtCnybVVHkzec=; b=nJvvi9zujy3OE1BPK+jQBJI6BqOWyL22gsktHuWekvuRZnxrXbqApHGUe2qjMAwaJ9Ipvb uSss+Ou0OwfT/YqADKDjHU/XXobNaVmfLfW/Lmu8KqFpuapdyDQ5ffELPVCqKMAmPsmNVy seHeXwrrTMefdnuaTBw0NfGm1owMYHYEGdrfhTDw/fvQljjS+GVOZLuM2Sc/Sj32JzjJFK 447UOImCO4IOfwhEpQHz3EUH6ZUdRedhrJLXk/N4dA/ISOy02K1sJQzt+FPYmS3lmv+3iO vtStEfgXtN9bUQxs+6YUlMM0O5g5HMjbCMUwytzLGQG4QJC+ys/yHoYoOu4t8Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcK0H3cxGzwHx; Sun, 4 Aug 2024 12:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474CdxtK070645; Sun, 4 Aug 2024 12:39:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474CdxwS070642; Sun, 4 Aug 2024 12:39:59 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:39:59 GMT Message-Id: <202408041239.474CdxwS070642@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: eff7646541d5 - main - archivers/paq: Remove expired port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eff7646541d5d4b0cec617e64ae9b106390d44a8 Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=eff7646541d5d4b0cec617e64ae9b106390d44a8 commit eff7646541d5d4b0cec617e64ae9b106390d44a8 Author: Rene Ladan AuthorDate: 2024-08-04 12:39:50 +0000 Commit: Rene Ladan CommitDate: 2024-08-04 12:39:50 +0000 archivers/paq: Remove expired port 2024-07-31 archivers/paq: Outdated, unmaintained and format that never gained any traction --- MOVED | 1 + archivers/Makefile | 1 - archivers/paq/Makefile | 131 ---------------------------------- archivers/paq/distinfo | 48 ------------- archivers/paq/files/patch-libzpaq.cpp | 20 ------ archivers/paq/files/patch-zpaq.cpp | 28 -------- archivers/paq/files/patch-zpsfx.cpp | 77 -------------------- archivers/paq/files/pkg-message.in | 13 ---- archivers/paq/pkg-descr | 22 ------ archivers/paq/pkg-plist | 13 ---- 10 files changed, 1 insertion(+), 353 deletions(-) diff --git a/MOVED b/MOVED index 129a8510ea71..1f76d7406b21 100644 --- a/MOVED +++ b/MOVED @@ -3411,3 +3411,4 @@ sysutils/unieject||2024-08-04|Has expired: Abandonware, upstream repo deprecated www/tomcat85||2024-08-04|Has expired: Upstream EOL reaches on 2024-03-31, some time after 2024-06-30 distfiles will be archived. Migrate to www/tomcat9 archivers/pxz||2024-08-04|Has expired: Superseded by xz (Utils), support for multithreading is available since 2014 www/mediawiki140||2024-08-04|Has expired: Upstream EOL +archivers/paq||2024-08-04|Has expired: Outdated, unmaintained and format that never gained any traction diff --git a/archivers/Makefile b/archivers/Makefile index 8a15221fb38a..058dac53721e 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -141,7 +141,6 @@ SUBDIR += p5-PerlIO-gzip SUBDIR += p5-PerlIO-via-Bzip2 SUBDIR += packddir - SUBDIR += paq SUBDIR += par SUBDIR += par2cmdline SUBDIR += par2cmdline-turbo diff --git a/archivers/paq/Makefile b/archivers/paq/Makefile deleted file mode 100644 index 16e60853f0de..000000000000 --- a/archivers/paq/Makefile +++ /dev/null @@ -1,131 +0,0 @@ -PORTNAME= paq -PORTVERSION= 20140131 -PORTREVISION= 6 -CATEGORIES= archivers -MASTER_SITES= http://mattmahoney.net/dc/ LOCAL/bf/paq/ -DISTFILES= wbpe110.zip zpaqd633.zip zpaq657.zip zpipe.201.zip -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= ${DISTFILES:M*.zip} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Family of archivers with extremely high compression ratios -WWW= http://mattmahoney.net/dc/zpaq.html - -LICENSE= GPLv3 MIT -LICENSE_COMB= multi - -DEPRECATED= Outdated, unmaintained and format that never gained any traction -EXPIRATION_DATE=2024-07-31 - -USES= dos2unix zip -USE_CXXSTD= c++14 - -EXTRACT_AFTER_ARGS= -x *.bat *.exe readme.txt -d ${WRKSRC} -NO_WRKSUBDIR= yes -OPTIONS_DEFINE= OPENMP DOCS -SUB_FILES= pkg-message - -.include - -.if ${ARCH} == "amd64" || ( ${ARCH} == "i386" && !empty(MACHINE_CPU:Msse2) ) -ZPAQFLAGS= -Dunix -msse2 -.else -ZPAQFLAGS= -Dunix -DNOJIT -.endif - -.if defined(WITH_DEBUG) -CXXFLAGS+= -DDEBUG -.else -CXXFLAGS+= -DNDEBUG -.endif - -DISTFILES+= bmp_j4c.zip bwt.1.zip bwt_j3.zip bwt_slowmode1.zip \ - calgarytest.zpaq calgarytest2.zpaq exe_j1.zip fast.cfg \ - jpg_test2.zip lazy210.zip lz1.zip max.cfg mid.cfg min.zip \ - zpsfx.100.zip zpsfx101.cpp - -.if ${PORT_OPTIONS:MDOCS} || make(makesum) -DISTFILES+= zpaq1.pdf zpaq202.pdf zpaq203.pdf zpaq204.pdf -.endif - -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= libzpaq.cpp wbpe.cpp zpaq.cpp zpaq.pod zpaq1.pdf \ - zpaq202.pdf zpaq203.pdf zpaq204.pdf zpipe.cpp -.endif - -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS+= bwt_.cpp bwtpre.cpp bwtrle.cpp divsufsort.c divsufsort.h \ - exe_jo.cpp jpeg_jo.cpp lzpre.cpp lzppre.cpp readme_bwt.txt \ - readme_bwt_j3.txt readme_exe_j1.txt readme_lazy210.txt zpsfx.cpp -READMES+= bwt_j3 exe_j1 lazy210 -.endif -WDATA= bmp_j4.cfg bwt_j3.cfg bwt_slowmode1_1GB_block.cfg \ - bwt_slowmode1_256MB_block.cfg bwt_slowmode1_4MB_block.cfg \ - bwt1.cfg bwt2.cfg bwtrle1.cfg bwtrle2.cfg colorpre.cfg \ - exe_j1.cfg jpg_test2.cfg lazy2.cfg lz1.cfg min.cfg zpsfx.tag -DDATA= fast.cfg max.cfg mid.cfg -PORTDATA= ${WDATA} ${DDATA} zpsfx - -.if ${PORT_OPTIONS:MOPENMP} -OPENMP_CFLAGS+= -fopenmp -USE_GCC= yes -BROKEN= does not build -.endif - -post-extract: - @${CP} ${DISTDIR}/${DIST_SUBDIR}/zpsfx101.cpp ${WRKSRC}/zpsfx.cpp -.if ${PORT_OPTIONS:MDOCS} -.for r in ${READMES} - @${UNZIP_NATIVE_CMD} -pq ${DISTDIR}/${DIST_SUBDIR}/${r}.zip readme.txt > ${WRKSRC}/readme_${r:R}.txt -.endfor - -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|c:\\res\\zpaq\\||' ${WRKSRC}/bwt[12].cfg \ - ${WRKSRC}/bwtrle[12].cfg - -do-build: - @cd ${WRKSRC}; for prog in bwt_ bwtpre exe_jo jpeg_jo lazy2 lzpre \ - lzppre; do \ - ${CXX} ${CXXFLAGS} -o $${prog} $${prog}.cpp; done; \ - ${CXX} ${CXXFLAGS} -o bwtrle bwtrle.cpp divsufsort.c; \ - ${CXX} ${CXXFLAGS} ${ZPAQFLAGS} -o zpsfx zpsfx.cpp libzpaq.cpp - @cd ${WRKSRC}; \ - ${CXX} ${CXXFLAGS} -o wbpe wbpe.cpp; \ - ${CXX} ${CXXFLAGS} ${OPENMP_CFLAGS} ${ZPAQFLAGS} \ - -o zpaq zpaq.cpp libzpaq.cpp ${LDFLAGS} -pthread; \ - ${CXX} ${CXXFLAGS:N-DNDEBUG} ${ZPAQFLAGS} \ - -o zpaqd zpaqd.cpp libzpaq.cpp ${LDFLAGS}; \ - ${CXX} ${CXXFLAGS} ${ZPAQFLAGS} -o zpipe zpipe.cpp libzpaq.cpp - -do-install: -.for prog in wbpe zpaq zpaqd zpipe - ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin -.endfor - ${INSTALL_DATA} ${WRKSRC}/libzpaq.h ${STAGEDIR}${PREFIX}/include -.for prog in bwt_ bwtpre bwtrle exe_jo jpeg_jo lazy2 lzpre lzppre - ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin -.endfor - @${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC}; ${INSTALL_DATA} ${WDATA} ${STAGEDIR}${DATADIR}; \ - ${INSTALL_LIB} zpsfx ${STAGEDIR}${DATADIR} - cd ${_DISTDIR}; ${INSTALL_DATA} ${DDATA} ${STAGEDIR}${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS:N*.pdf} ${STAGEDIR}${DOCSDIR} - cd ${DISTDIR}/${DIST_SUBDIR}; ${INSTALL_DATA} ${PORTDOCS:M*.pdf} ${STAGEDIR}${DOCSDIR} -.endif - -do-test: -.for _f in calgarytest.zpaq calgarytest2.zpaq -.for _c in -list -test - ${WRKSRC}/zpaq ${_c} ${DISTDIR}/${DIST_SUBDIR}/${_f} -.endfor - cd ${WRKSRC}; ./zpaq -extract ${DISTDIR}/${DIST_SUBDIR}/${_f}; \ - ./zpaq -add encrypted_${_f} calgary -key password; \ - ./zpaq -test encrypted_${_f} -key password; \ - ${RM} -r calgary -.endfor - -.include diff --git a/archivers/paq/distinfo b/archivers/paq/distinfo deleted file mode 100644 index cdf65b060b6f..000000000000 --- a/archivers/paq/distinfo +++ /dev/null @@ -1,48 +0,0 @@ -SHA256 (paq/wbpe110.zip) = 1675083b253e04ba7dd7cd28b2f7be179b3f5c1bb4d5289be4cfa217c6bc9b27 -SIZE (paq/wbpe110.zip) = 13667 -SHA256 (paq/zpaqd633.zip) = bd913f3f843fb9a14a2b015d35d37ac87b56bdb9b9fee71469a3e9ca2a61ef03 -SIZE (paq/zpaqd633.zip) = 297885 -SHA256 (paq/zpaq657.zip) = ceef7496eacaddeccd4293ac8a560c50a99836777b536f5cc05f8c93e270adf9 -SIZE (paq/zpaq657.zip) = 679480 -SHA256 (paq/zpipe.201.zip) = e95dfe6f701dd463f969fe16c933ed97fca194bd7aacec37d6c35409766133a8 -SIZE (paq/zpipe.201.zip) = 67555 -SHA256 (paq/bmp_j4c.zip) = 98fe722a89ac107f637d54bf609673402fa9ede87d19ed68ee28633e64e879a7 -SIZE (paq/bmp_j4c.zip) = 2511 -SHA256 (paq/bwt.1.zip) = 689dbafe057afb5d46be34906f4c7565d5f9d8eed7943c78b70ac10753943c68 -SIZE (paq/bwt.1.zip) = 40417 -SHA256 (paq/bwt_j3.zip) = c5e75abdd8d8a3fb6effa3c467e98aeb3175068bd454a635baae79de024b9120 -SIZE (paq/bwt_j3.zip) = 16535 -SHA256 (paq/bwt_slowmode1.zip) = 3b7fb3c4a2491b4f8b2c243f7f67a4f2c7d2b793558207001b2565f06e145a92 -SIZE (paq/bwt_slowmode1.zip) = 138176 -SHA256 (paq/calgarytest.zpaq) = 53d3cc3c6c6f97d701ea316313fb447fa84ef55a353e5325c6754568e20c93bf -SIZE (paq/calgarytest.zpaq) = 1003792 -SHA256 (paq/calgarytest2.zpaq) = b110688939477bbe62263faff1ce488872c68c0352aa8e55779346f1bd1ed07e -SIZE (paq/calgarytest2.zpaq) = 1002255 -SHA256 (paq/exe_j1.zip) = 8e13ca38ed6fb7fd9ae5244c44b045f179b068c3d3281f1f2690c352e45ca239 -SIZE (paq/exe_j1.zip) = 9828 -SHA256 (paq/fast.cfg) = 2cf9605ba5eb73a58146509844d4b360c07ae55ebc2ab92d485d0c907166cfda -SIZE (paq/fast.cfg) = 359 -SHA256 (paq/jpg_test2.zip) = b09eedf0760826fa6822d266c1e262e67ad4ac119e11235e192e208e558e4855 -SIZE (paq/jpg_test2.zip) = 12189 -SHA256 (paq/lazy210.zip) = 7c6d55c316b366328d711ada5fd8302e4db89916dfd66449d696416d7f60d735 -SIZE (paq/lazy210.zip) = 15867 -SHA256 (paq/lz1.zip) = 2817e3d300edee5c1d65d702feb58b51bd459817dc32a2a29d82d0f92a0ea7d9 -SIZE (paq/lz1.zip) = 10012 -SHA256 (paq/max.cfg) = 7965863923d5558409f5792167c74914a9c0d07f813ef385587450e7b5a156b7 -SIZE (paq/max.cfg) = 1754 -SHA256 (paq/mid.cfg) = 51dd9dc78513e36217033c501f4a3331d30820df875e466052b6b6175bc9bafa -SIZE (paq/mid.cfg) = 786 -SHA256 (paq/min.zip) = 7209ffaf0d48f5e10e3134826d766e2dc52ed914ed5dbad415023db10b4e1113 -SIZE (paq/min.zip) = 9560 -SHA256 (paq/zpsfx.100.zip) = 4ccf6b7967a2545d7741021f6c87362d72077d7f51c74840ab0ae34e5f12bffa -SIZE (paq/zpsfx.100.zip) = 43423 -SHA256 (paq/zpsfx101.cpp) = d035fa2cc2f63f61e8e3476ccd09598b9f5012628de8c911dfaae07e64ae73ff -SIZE (paq/zpsfx101.cpp) = 5491 -SHA256 (paq/zpaq1.pdf) = dce14a22ddd51117a29743db77a79ce31f97b2dbb1b2aaec7d0be0946ed85bf0 -SIZE (paq/zpaq1.pdf) = 105049 -SHA256 (paq/zpaq202.pdf) = 1a4b6f045f3a445d7f64b78c7d8d510bf04ccc658c5cf6ab15a7203856a139f8 -SIZE (paq/zpaq202.pdf) = 203352 -SHA256 (paq/zpaq203.pdf) = 63586238f2fbad55e710422d0daed2597d66c5916f2353282517f1e53de04199 -SIZE (paq/zpaq203.pdf) = 207565 -SHA256 (paq/zpaq204.pdf) = 720be1d48417064c940c5da57bca4b6c5cbe82643d5e6e8d8eabef2737f17b98 -SIZE (paq/zpaq204.pdf) = 208997 diff --git a/archivers/paq/files/patch-libzpaq.cpp b/archivers/paq/files/patch-libzpaq.cpp deleted file mode 100644 index a3201867de33..000000000000 --- a/archivers/paq/files/patch-libzpaq.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- libzpaq.cpp.orig 2022-04-18 09:32:11 UTC -+++ libzpaq.cpp -@@ -2745,7 +2745,7 @@ void Compressor::writeTag() { - void Compressor::startBlock(int level) { - - // Model 1 - min.cfg -- static const char models[]={ -+ static const signed char models[]={ - 26,0,1,2,0,0,2,3,16,8,19,0,0,96,4,28, - 59,10,59,112,25,10,59,10,59,112,56,0, - -@@ -2774,7 +2774,7 @@ void Compressor::startBlock(int level) { - 0,0}; // 0,0 = end of list - - if (level<1) error("compression level must be at least 1"); -- const char* p=models; -+ const char* p=(const char*)models; - int i; - for (i=1; i='A' && c<='Z') c+='a'-'A'; // convert to lowercase -- if (c>' ') s+=c; // remove white space -- if (c=='\n') { // end of line? -- if (size(s)>10 && s.substr(0, 10)=="processor:") { -- c=atoi(s.c_str()+10); -- if (c==rc) ++rc; -- } -- s=""; -- } -- } -- fclose(in); -+ rc=(int)sysconf(_SC_NPROCESSORS_ONLN); - #else - - // In Windows return %NUMBER_OF_PROCESSORS% diff --git a/archivers/paq/files/patch-zpsfx.cpp b/archivers/paq/files/patch-zpsfx.cpp deleted file mode 100644 index 5f6031b53128..000000000000 --- a/archivers/paq/files/patch-zpsfx.cpp +++ /dev/null @@ -1,77 +0,0 @@ ---- zpsfx.cpp.orig 2016-07-26 12:10:41 UTC -+++ zpsfx.cpp -@@ -16,19 +16,38 @@ Or use appropriate optimization options. - the executable smaller. -DNDEBUG turns off run time checks. - To convert a ZPAQ archive to a self extracting archive: - -+On Windows: -+ - copy/b zpsfx.exe+zpsfx.tag+archive.zpaq archive.exe - -+On FreeBSD(the choice of archive name is discretionary): -+ -+ cat zpsfx zpsfx.tag archive.zpaq > archive.sfx -+ - zpsfx.tag is a 13 byte file used to mark the start of the compressed data - that is appended. Alternatively, zpaq with the "t" modifier will append - the same tag ("a" appends). - -+On Windows: -+ - copy zpsfx.exe archive.exe - zpaq ta archive.exe files... - -+On FreeBSD: -+ -+ cp zpsfx archive.sfx -+ zpaq ta archive.sfx files... -+ - To extract: - -+On Windows: -+ - archive.exe - -+On FreeBSD: -+ -+ archive.sfx -+ - The program reads itself and decompresses the appended archive. - You must enter the .exe extension as shown. If the file is not in - the current folder then you need to specify the path. The PATH environment -@@ -44,7 +63,11 @@ stored filename. SHA-1 checksums are not - #include - #include - #include -+#ifdef unix -+#include -+#else - #include -+#endif - - // An error handler is required as shown in this example. libzpaq will - // call it with an English language message in case of a fatal error. -@@ -96,7 +119,11 @@ struct Buf: public libzpaq::Writer { - - // Return '/' in Linux or '\' in Windows - char slash() { -+#ifdef unix -+ return '/'; -+#else - return '\\'; -+#endif - } - - // Create directories as needed. For example if path="/tmp/foo/bar" -@@ -106,7 +133,11 @@ void makepath(std::string& path) { - for (int i=0; i