├── termbox └── .gitignore ├── winpty-git └── .gitignore ├── mintty-git └── .gitignore ├── ci-dont-install-list.txt ├── mercurial ├── mercurial.profile └── mercurial-4.3.1-msys2.patch ├── winpty └── .gitignore ├── zsh ├── zprofile ├── zshenv ├── zsh.install ├── Makefile.in.patch ├── zsh-doc.install └── msys-symlink-hack.patch ├── filesystem ├── dot.bash_logout ├── msys2.ico ├── mingw32.ico ├── mingw64.ico ├── shells ├── 03-mtab.post ├── nsswitch.conf ├── cmd ├── fstab ├── start ├── 08-xml-catalog.post ├── redirect-config.site ├── 07-pacman-key.post └── bash.bash_logout ├── cscope └── PKGBUILD ├── ctags └── PKGBUILD ├── global └── PKGBUILD ├── idutils └── PKGBUILD ├── markdown └── PKGBUILD ├── bash ├── bash44-001.sig ├── bash44-002.sig ├── bash44-003.sig ├── bash44-004.sig ├── bash44-005.sig ├── bash44-006.sig ├── bash44-007.sig ├── bash44-008.sig ├── bash44-009.sig ├── bash44-010.sig ├── bash44-011.sig ├── bash44-012.sig ├── bash44-013.sig ├── bash44-014.sig ├── bash44-015.sig ├── bash44-016.sig ├── bash44-017.sig ├── bash44-018.sig ├── bash44-019.sig ├── bash44-020.sig ├── bash44-021.sig ├── bash44-022.sig ├── bash44-023.sig └── bash.install ├── perl ├── upgpkg ├── generate-rebuild-list.sh ├── perl-binary-module-dependency-1.template ├── perlbin.fish ├── perl.cygwin-auto-image-base.patch ├── perlbin.sh └── perlbin.csh ├── msys2-unlocker ├── msys2.ico ├── splash │ ├── frame00.xcf │ ├── frame01.xcf │ ├── frame02.xcf │ ├── frame03.xcf │ ├── frame04.xcf │ ├── frame05.xcf │ ├── frame06.xcf │ ├── frame07.xcf │ ├── frame08.xcf │ ├── frame09.xcf │ ├── frame10.xcf │ ├── frame11.xcf │ ├── frame12.xcf │ ├── frame13.xcf │ ├── frame14.xcf │ ├── frame15.xcf │ ├── frame16.xcf │ ├── frame17.xcf │ └── Inconsolata-g.otf ├── msys2_splash_screen.jpg ├── resource.h └── resource.rc ├── readline ├── readline80-001.sig ├── readline80-002.sig ├── readline80-003.sig ├── readline80-004.sig └── readline.install ├── getent ├── getent-2.18.90.tar.gz └── msysize.patch ├── gradle └── gradle.sh ├── libargp └── libargp-20110921.tar.bz2 ├── rebase ├── autorebase.bat ├── 002-rebaseall-add-python-exts.patch ├── paths-from-unix-to-windows └── autorebasebase1st.bat ├── base └── README.md ├── pactoys-git └── pactoys.install ├── .gitignore ├── jsoncpp └── jsoncpp.install ├── libxml2 ├── libxml2.install ├── libxml2-cygwin-reentrant.patch └── libxml2-python.install ├── msys2-runtime ├── README.md └── tests │ └── do_old.bat ├── gdb └── gdbinit ├── gnupg └── gnupg.install ├── perl-Convert-BinHex └── perl-convert-binhex.install ├── fish ├── fish.install ├── 01-msysize.patch ├── config.fish └── perlbin.fish ├── python-yaml └── python-yaml.install ├── man-db ├── convert-mans └── man-db.install ├── busybox └── busybox.install ├── ruby ├── gemrc ├── 2.4.0-cygwin-compile.patch ├── 2.4.0-cygwin-rubygems.patch ├── 2.5.0-pkgconfig-version.patch └── ruby.install ├── msys2-keyring ├── msys2-keyring.install └── PKGBUILD ├── whois └── whois-libiconv.patch ├── namcap └── 002-force-msys-python.patch ├── zlib ├── 1.2.7-zlib-symbols.patch ├── 1.2.11-cygwin-no-widechar.patch └── 1.2.8-zconf-cygwin.patch ├── lzip └── lzip.install ├── gnu-netcat └── gnu-netcat.install ├── mingw-w64-cross-zlib ├── 03-dont-put-sodir-into-L.mingw.patch └── 02-no-undefined.mingw.patch ├── texinfo ├── texinfo-remove.hook ├── texinfo-install.hook ├── 0005-fix-makeinfo-exeext.msys2.patch └── 0006-match-msys-gettext-version.patch ├── editorconfig-vim └── vimdoc.install ├── bisoncpp └── manual_license.patch ├── libpsl ├── 0.16.0-install-dafsa.patch ├── 019.1-implement-private-libs.patch └── 0.16.1-make-dafsa-setlocale.patch ├── p11-kit ├── 0001-allow-gtkdocize.all.patch └── 0015-0.18.7-parallel-make.patch ├── cvs ├── cvs-1.11.1p1-bs.patch ├── cvs-1.11.19-tagname.patch ├── cvs.install ├── cvs-1.11.21-sort.patch ├── cvs-1.11.21-diff-kk.patch ├── cvs-1.11.19-comp.patch ├── cvs-1.11.19-tmp.patch └── cvs-1.11.23-remove_undefined_date_from_cvs_1_header.patch ├── automake1.8 ├── automake1.8-vs-modern-libtool.patch └── automake.install ├── automake1.9 ├── automake1.9-vs-modern-libtool.patch ├── automake.install ├── automake1.9-cygwin-test-fixes.patch └── automake-1.9.6-gentoo-ignore-comments.patch ├── dash └── dash.install ├── mksh └── mksh.install ├── tcsh └── tcsh.install ├── sed ├── sed-4.4-1.src.patch ├── sed.install └── sed-4.4-msys-use-text-mode.patch ├── tmux ├── msys-platform.patch ├── no-check-dirs-permission.patch └── inherit-msystem-var.patch ├── heimdal ├── 7.5.0-use-python2.patch ├── 1.5.2-roken-signal.patch ├── 1.5.2-install-catman.patch └── 1.5.3-fix-detect-libedit.patch ├── ucl ├── 003-no-undefined.patch └── 000-msys2.patch ├── emacs └── configure.ac.diff ├── pkgfile ├── 001-cygwin-alloca.patch └── pkgfile.install ├── ccache └── ccache.install ├── expect ├── 5.45-msysize.patch └── 5.45-openpty.patch ├── sharutils └── install ├── bison └── bison.install ├── ed └── ed.install ├── gperf └── gperf.install ├── gzip └── gzip.install ├── nano ├── 2.2.4-wchar.patch ├── nano.install └── nano-2.3.4-fix-ncurses-location.patch ├── util-linux ├── 2.24.2-libintl.patch ├── 2.32.1-testsuite.patch └── 2.33.1-cygwin-ionice.patch ├── TODO.md ├── cgdb └── cgdb.install ├── grep └── grep.install ├── rarian ├── user-segfault.patch └── 0.8-no-undefined.patch ├── gcc ├── gcc-fortran.install ├── gcc-libs.install ├── gcc-go.install ├── gcc-ada.install ├── gcc.install └── 0030-newlib-ftm.patch ├── lftp ├── lftp-configure-needtrio.patch └── lftp-correct-gettext-macros.patch ├── libtirpc ├── 0.2.4-cygwin-pthread.patch ├── 0.2.4-cygwin-rpc-types.patch └── 0.3.2-cygwin-rpcent.patch ├── unzip ├── unzip-6.0-nostrip.patch ├── unzip-6.0-symlink.patch └── unzip-6.0-attribs-overflow.patch ├── coreutils └── coreutils.install ├── glib2 ├── 2.36.4-gspawn-cygwin.patch ├── 2.38.2-gconvert-cygwin.patch ├── 2.36.3-visibility.patch └── 2.34.3-m4macros.patch ├── help2man └── help2man.install ├── inetutils └── osockaddr.h ├── libtasn1 └── libtasn1.install ├── luit └── luit-20190106-fix-ldflags.patch ├── colordiff └── 002-build-fix.patch ├── mingw-w64-cross-gcc-git ├── gcc-4.7-stdthreads.patch └── gcc-4.8-libstdc++export.patch ├── groff ├── site.tmac └── groff.install ├── xproto └── 0001-msysize.msys.patch ├── apr ├── fix-debian-layout.patch └── tests-disable_testproc.patch ├── libssh2 └── 1.2.7-cygwin.patch ├── perl-Probe-Perl └── Probe-Perl-0.01.patch ├── autogen └── autogen.install ├── perl-XML-SAX └── perl-xml-sax.install ├── isl ├── isl-0.14.1-no-undefined.patch └── isl-0.12.1-msys2.patch ├── python ├── 930-fix-missing-tcp-include.patch ├── 960-fix-parallel-make.patch ├── 010-3.8-nis-cygwin.patch ├── 011-3.8-parser-cygwin.patch ├── 009-3.8-export-PySignal_SetWakeupFd.patch ├── 027-install-import-library.patch ├── 026-3.7-mpdec-msys.patch ├── 007-3.8-dbm-cygwin.patch └── 014-3.8-xxsubinterpreters-cygwin.patch ├── .gitattributes ├── mingw-w64-cross-conemu-git ├── 0006-MainThread.h.patch ├── 0004-CEStr.h.patch ├── 0007-ConEmuHk-makefile_gcc.patch ├── 0005-ConEmuC.cpp.patch └── 0003-min-max-uppercase.patch ├── colormake-git └── colormake.install ├── git ├── 1.7.9-cygwin.patch ├── git.install └── git-zsh-completion-fixes.patch ├── tcl ├── 8.5.10-tea-m4.patch └── tcl-8.5.18-msysize.patch ├── dtc └── 02-pyext-install.patch ├── mc └── 4.7.5.2-ncursesw-term.h.patch ├── protobuf └── 01-msysize.patch ├── rlwrap └── rlwrap.install ├── libksba ├── msysize.patch └── libksba.install ├── wget ├── wget.install └── fix-gettext-version.patch ├── which ├── which.install └── am-1.14.all.patch ├── libffi └── libffi.install ├── zstd └── zstd-1.4.5-fix-install-shared-library.patch ├── gdbm ├── gdbm.install ├── gdbm-1.10-zeroheaders.patch └── 1.11-parallel-make.patch ├── libffi-git └── libffi.install ├── mpc └── mpc.install ├── mpfr └── mpfr.install ├── nettle ├── nettle.install └── 3.2-dlopen-test-msys-test.patch ├── perl-XML-Parser └── XML-Parser-2.41.patch ├── time └── time.install ├── autoconf └── autoconf.install ├── db └── 5.3-tcl.patch ├── gettext ├── 0.19.8.1-cygwin-ftm.patch ├── 0.19.8.1-have_wprintf.patch └── gettext.install ├── libgcrypt └── libgcrypt.install ├── libgpg-error └── gpg-error-static-linking.patch ├── neon └── neon-0.30.2-msys2.patch ├── diffutils └── diffutils.install ├── m4 └── m4.install ├── autoconf2.13 └── autoconf.install ├── apr-util └── apr-util-1.5.3-msys2.patch ├── gmp └── gmp.install ├── make └── make.install ├── tar └── tar.install ├── perl-Params-Util └── 01-msysize.patch ├── make-git ├── make-git.install ├── 0002-no-symlinks-test.patch └── 0001-remove-Werror.patch ├── pinentry ├── pinentry.install └── 1.0.0-libiconv.patch ├── subversion ├── remove-checking-symlink.patch └── 19-remove-contrib-from-configure.patch ├── libtool ├── libtool.install └── 0010-libtool-2.4.2-include-process-h.patch ├── pkg-config ├── pkg-config-0.28-msys2.patch └── fix-glib-gettext-m4-error.patch ├── scons └── mingw_w64.py ├── tree └── Makefile-Uncomment-for-Cygwin.patch ├── automake1.15 ├── automake-1.15.1-perl-escape-curly-bracket.patch └── automake.install ├── crosstool-ng-git └── 0001-stat-check.patch ├── libbobcat └── fix-light-build.patch ├── automake1.6 └── automake.install ├── automake1.7 └── automake.install ├── elfutils └── 002-disable-new-dtags-flag.patch ├── gawk └── gawk.install ├── nano-syntax-highlighting-git └── nano-syntax-highlighting.install ├── tftp-hpa └── msysize.patch ├── gpgme ├── gpgme-1.4.2-msys2.patch └── libgpgme.install ├── flex └── flex.install ├── libunistring └── libunistring.install ├── perl-DBI └── DBI-1.627.patch ├── findutils └── findutils.install ├── perl-YAML-Syck └── msysize.patch ├── perl-ack └── 0002-ack-2.12-match-makefiles-with-more-generality.patch ├── diffstat └── diffstat-1.62-msys2.patch ├── perl-Sys-CPU └── 0001-Cygwin-is-as-per-Windows.patch ├── bzip2 └── bzip2-1.0.6-msys-dll.patch ├── libyaml └── yaml-0.1.7-msys2.patch ├── perl-IPC-Run3 └── IPC-Run3-0.045.patch ├── vim └── pretend-cygwin-msys.patch ├── automake1.10 ├── automake.install └── automake-1.10-perl-escape-curly-bracket.patch ├── automake1.11 ├── automake.install └── automake-1.11-perl-escape-curly-bracket.patch ├── cyrus-sasl ├── 03-fix-plugins.patch └── 02-exeext.patch ├── perl-Authen-SASL └── Authen-SASL-2.16.patch ├── cmake └── disable-curses-for-msys.patch ├── pacman-mirrors ├── mirrorlist.msys ├── mirrorlist.mingw32 └── mirrorlist.mingw64 ├── gengetopt └── msysize.patch ├── libedit └── libedit-3.0-20120311-msys2.patch ├── perl-Devel-GlobalDestruction └── 01-msysize.patch ├── procps-ng └── procps-ng-3.3.12-msys2.patch ├── automake1.16 ├── automake-1.16.1-msys2.patch └── automake.install ├── gnutls └── libgnutls.install ├── icmake └── PKGBUILD ├── automake1.12 ├── automake.install └── automake-1.12-perl-escape-curly-bracket.patch ├── automake1.13 ├── automake.install └── automake-1.13-perl-escape-curly-bracket.patch ├── automake1.14 └── automake.install ├── mingw-w64-cross-gcc └── 0030-newlib-ftm.patch ├── libassuan └── libassuan.install ├── libidn └── libidn.install ├── libidn2 └── libidn2.install ├── gnome-doc-utils └── 0.18.0-abs_top_srcdir.patch ├── libxslt ├── libxslt-python.install └── libxslt-cygwin-reentrant.patch ├── delta └── 0001-Cygwin-MSYS2-WIN32-Reopen-stdin-in-text-mode.patch ├── winln └── PKGBUILD ├── setconf └── PKGBUILD ├── pacman ├── 0016-excise-fakeroot.patch ├── 0017-excise-sudo.patch └── 0014-fix-asciidoc-argparse.patch ├── docbook-xml └── 4.2-Add-system.all.patch ├── perl-XML-LibXML └── XML-LibXML-2.0200.patch ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── sgml-common └── sgml-common-0.6.3-manpage-1.patch ├── git-crypt └── PKGBUILD ├── icon-naming-utils └── remove-legacy-calc.patch ├── pass └── PKGBUILD ├── guile └── 0104-test-ffi.patch ├── sshpass └── PKGBUILD ├── irssi └── 0000_msysize.patch ├── yelp-tools └── yelp-no-symlinks.patch ├── irssi-git └── 0000-msys2ize.patch ├── pwgen └── PKGBUILD ├── man-pages-posix └── PKGBUILD ├── breezy └── 0002-add-msys2-certs-location.patch ├── fzy └── PKGBUILD ├── libcrypt └── msysize.patch ├── asciidoc └── 0001-W32-confdir.msys2.patch ├── elinks-git └── msys-platform.patch ├── remake-git └── guile-2.2-support.patch ├── txt2tags └── PKGBUILD ├── .drone.yml └── nasm └── PKGBUILD /termbox/.gitignore: -------------------------------------------------------------------------------- 1 | waf-* 2 | -------------------------------------------------------------------------------- /winpty-git/.gitignore: -------------------------------------------------------------------------------- 1 | winpty/ -------------------------------------------------------------------------------- /mintty-git/.gitignore: -------------------------------------------------------------------------------- 1 | mintty 2 | -------------------------------------------------------------------------------- /ci-dont-install-list.txt: -------------------------------------------------------------------------------- 1 | msys2-runtime 2 | bash 3 | -------------------------------------------------------------------------------- /mercurial/mercurial.profile: -------------------------------------------------------------------------------- 1 | export HG=/usr/bin/hg 2 | -------------------------------------------------------------------------------- /winpty/.gitignore: -------------------------------------------------------------------------------- 1 | /path_conv.cc 2 | /path_conv.h 3 | -------------------------------------------------------------------------------- /zsh/zprofile: -------------------------------------------------------------------------------- 1 | emulate sh -c 'source /etc/profile' 2 | -------------------------------------------------------------------------------- /filesystem/dot.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /cscope/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/cscope/PKGBUILD -------------------------------------------------------------------------------- /ctags/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/ctags/PKGBUILD -------------------------------------------------------------------------------- /global/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/global/PKGBUILD -------------------------------------------------------------------------------- /idutils/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/idutils/PKGBUILD -------------------------------------------------------------------------------- /markdown/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/markdown/PKGBUILD -------------------------------------------------------------------------------- /bash/bash44-001.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-001.sig -------------------------------------------------------------------------------- /bash/bash44-002.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-002.sig -------------------------------------------------------------------------------- /bash/bash44-003.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-003.sig -------------------------------------------------------------------------------- /bash/bash44-004.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-004.sig -------------------------------------------------------------------------------- /bash/bash44-005.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-005.sig -------------------------------------------------------------------------------- /bash/bash44-006.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-006.sig -------------------------------------------------------------------------------- /bash/bash44-007.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-007.sig -------------------------------------------------------------------------------- /bash/bash44-008.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-008.sig -------------------------------------------------------------------------------- /bash/bash44-009.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-009.sig -------------------------------------------------------------------------------- /bash/bash44-010.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-010.sig -------------------------------------------------------------------------------- /bash/bash44-011.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-011.sig -------------------------------------------------------------------------------- /bash/bash44-012.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-012.sig -------------------------------------------------------------------------------- /bash/bash44-013.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-013.sig -------------------------------------------------------------------------------- /bash/bash44-014.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-014.sig -------------------------------------------------------------------------------- /bash/bash44-015.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-015.sig -------------------------------------------------------------------------------- /bash/bash44-016.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-016.sig -------------------------------------------------------------------------------- /bash/bash44-017.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-017.sig -------------------------------------------------------------------------------- /bash/bash44-018.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-018.sig -------------------------------------------------------------------------------- /bash/bash44-019.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-019.sig -------------------------------------------------------------------------------- /bash/bash44-020.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-020.sig -------------------------------------------------------------------------------- /bash/bash44-021.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-021.sig -------------------------------------------------------------------------------- /bash/bash44-022.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-022.sig -------------------------------------------------------------------------------- /bash/bash44-023.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/bash/bash44-023.sig -------------------------------------------------------------------------------- /filesystem/msys2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/filesystem/msys2.ico -------------------------------------------------------------------------------- /filesystem/mingw32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/filesystem/mingw32.ico -------------------------------------------------------------------------------- /filesystem/mingw64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/filesystem/mingw64.ico -------------------------------------------------------------------------------- /perl/upgpkg: -------------------------------------------------------------------------------- 1 | upgpkg_build() { 2 | makepkg -o 3 | ./patchprov src/perl-$pkgver PKGBUILD 4 | } 5 | -------------------------------------------------------------------------------- /msys2-unlocker/msys2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/msys2.ico -------------------------------------------------------------------------------- /zsh/zshenv: -------------------------------------------------------------------------------- 1 | # Default PROMPT 2 | PROMPT="%F{green}%n@%m%f %F{magenta}${MSYSTEM}%f %F{yellow}%~%f %# " 3 | -------------------------------------------------------------------------------- /filesystem/shells: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/shells 3 | # 4 | 5 | /usr/bin/sh 6 | /usr/bin/bash 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /readline/readline80-001.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/readline/readline80-001.sig -------------------------------------------------------------------------------- /readline/readline80-002.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/readline/readline80-002.sig -------------------------------------------------------------------------------- /readline/readline80-003.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/readline/readline80-003.sig -------------------------------------------------------------------------------- /readline/readline80-004.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/readline/readline80-004.sig -------------------------------------------------------------------------------- /getent/getent-2.18.90.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/getent/getent-2.18.90.tar.gz -------------------------------------------------------------------------------- /gradle/gradle.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | export GRADLE_HOME=/usr/share/java/gradle 3 | export PATH=$PATH:$GRADLE_HOME/bin 4 | -------------------------------------------------------------------------------- /libargp/libargp-20110921.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/libargp/libargp-20110921.tar.bz2 -------------------------------------------------------------------------------- /rebase/autorebase.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set PATH=%~dp0\usr\bin;%PATH% 4 | %~dp0\usr\bin\dash /usr/bin/rebaseall -p 5 | -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame00.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame00.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame01.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame01.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame02.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame02.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame03.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame03.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame04.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame04.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame05.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame05.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame06.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame06.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame07.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame07.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame08.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame08.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame09.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame09.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame10.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame10.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame11.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame11.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame12.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame12.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame13.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame13.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame14.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame14.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame15.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame15.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame16.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame16.xcf -------------------------------------------------------------------------------- /msys2-unlocker/splash/frame17.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/frame17.xcf -------------------------------------------------------------------------------- /base/README.md: -------------------------------------------------------------------------------- 1 | This meta package depends on all packages needed for a basic MSYS2 installation 2 | and is used by the msys2-installer. -------------------------------------------------------------------------------- /pactoys-git/pactoys.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { rm -rf /var/cache/pacboy/*; } 2 | pre_remove() { rm -rf /var/cache/pacboy/*; } 3 | -------------------------------------------------------------------------------- /msys2-unlocker/msys2_splash_screen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/msys2_splash_screen.jpg -------------------------------------------------------------------------------- /msys2-unlocker/splash/Inconsolata-g.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sjtug/MSYS2-packages/master/msys2-unlocker/splash/Inconsolata-g.otf -------------------------------------------------------------------------------- /perl/generate-rebuild-list.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | pkgfile -r "^/usr/lib/perl5/vendor_perl/auto/.*\.dll$" | sed 's#^.*/##' | sort -u 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.tar.xz 2 | *.tar.gz 3 | *.tar.bz2 4 | *.tgz 5 | *.zip 6 | *.rar 7 | *.sig 8 | *.asc 9 | *.log 10 | *.log.[0-9]* 11 | */src/ 12 | */pkg/ 13 | -------------------------------------------------------------------------------- /msys2-unlocker/resource.h: -------------------------------------------------------------------------------- 1 | #define IDC_UNLOCKERDIALOG 100 2 | #define IDC_ID 3 | #define IDC_STATIC 101 4 | #define IDC_SPLASH_START 110 5 | #include "splash_frames.h" 6 | -------------------------------------------------------------------------------- /jsoncpp/jsoncpp.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo "JsonCpp headers and build libraries are now in jsoncpp-devel." 3 | } 4 | 5 | post_upgrade() { 6 | post_install "$1" 7 | } 8 | -------------------------------------------------------------------------------- /libxml2/libxml2.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if test ! -f etc/xml/catalog; then 3 | mkdir -p etc/xml 4 | usr/bin/xmlcatalog --noout --create etc/xml/catalog 5 | fi 6 | } 7 | -------------------------------------------------------------------------------- /msys2-runtime/README.md: -------------------------------------------------------------------------------- 1 | The patches for this package are auto generated and managed in git: 2 | https://github.com/msys2/Cygwin 3 | 4 | Run `./update-patches.sh` to re-create the patches. -------------------------------------------------------------------------------- /gdb/gdbinit: -------------------------------------------------------------------------------- 1 | python 2 | import sys 3 | sys.path.insert(0, sys.path[0] + '/../../%GCC_NAME%/python') 4 | from libstdcxx.v6.printers import register_libstdcxx_printers 5 | register_libstdcxx_printers (None) 6 | end -------------------------------------------------------------------------------- /gnupg/gnupg.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | # See FS#42798 and FS#47371 3 | dirmngr /dev/null 4 | if usr/bin/pacman-key -l >/dev/null 2>&1; then 5 | usr/bin/pacman-key --populate msys2 6 | fi 7 | } 8 | -------------------------------------------------------------------------------- /filesystem/03-mtab.post: -------------------------------------------------------------------------------- 1 | maybe_create_mtab () 2 | { 3 | local MTAB="${SYSCONFDIR}/mtab" 4 | # Create /etc/mtab as symlink to /proc/mounts 5 | [ ! -L "${MTAB}" ] && ln -sf /proc/mounts ${MTAB} 6 | } 7 | 8 | maybe_create_mtab 9 | -------------------------------------------------------------------------------- /perl-Convert-BinHex/perl-convert-binhex.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo -n "module test... " 3 | perl -mConvert::BinHex -e "exit 0;" 2> /dev/null && echo 'pass.' || echo 'fail.' 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | -------------------------------------------------------------------------------- /filesystem/nsswitch.conf: -------------------------------------------------------------------------------- 1 | # Begin /etc/nsswitch.conf 2 | 3 | passwd: files db 4 | group: files db 5 | 6 | db_enum: cache builtin 7 | 8 | db_home: cygwin desc 9 | db_shell: cygwin desc 10 | db_gecos: cygwin desc 11 | 12 | # End /etc/nsswitch.conf 13 | -------------------------------------------------------------------------------- /fish/fish.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | grep -q '/usr/bin/fish' etc/shells || echo '/usr/bin/fish' >> etc/shells 3 | } 4 | 5 | post_upgrade() { 6 | post_install 7 | } 8 | 9 | pre_remove() { 10 | sed -i '/^\/usr\/bin\/fish/d' etc/shells 11 | } 12 | -------------------------------------------------------------------------------- /filesystem/cmd: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (C) 2014, Alexey Pavlov 3 | # mailto:alexpux@gmail.com 4 | # This file is part of Minimal SYStem version 2. 5 | # https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ 6 | # File: cmd 7 | 8 | "$COMSPEC" "$@" -------------------------------------------------------------------------------- /filesystem/fstab: -------------------------------------------------------------------------------- 1 | # For a description of the file format, see the Users Guide 2 | # https://cygwin.com/cygwin-ug-net/using.html#mount-table 3 | 4 | # DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path 5 | none / cygdrive binary,posix=0,noacl,user 0 0 6 | -------------------------------------------------------------------------------- /python-yaml/python-yaml.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | cat << EOT 3 | ==> Note that even though this package uses libyaml library, 4 | ==> slower pure python implementation is used by default. 5 | ==> See https://pyyaml.org/wiki/PyYAMLDocumentation 6 | EOT 7 | } 8 | -------------------------------------------------------------------------------- /man-db/convert-mans: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh -e 2 | FROM="$1" 3 | TO="$2" 4 | shift ; shift 5 | while [ $# -gt 0 ] 6 | do 7 | FILE="$1" 8 | shift 9 | iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv 10 | mv .tmp.iconv "$FILE" 11 | done 12 | -------------------------------------------------------------------------------- /busybox/busybox.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | usr/bin/busybox mkdir -p /usr/busybox 3 | usr/bin/busybox --install -s /usr/busybox 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | pre_remove() { 11 | usr/bin/busybox rm -rf /usr/busybox 12 | } 13 | -------------------------------------------------------------------------------- /ruby/gemrc: -------------------------------------------------------------------------------- 1 | # Read about the gemrc format at http://docs.rubygems.org/read/chapter/11 2 | 3 | # --user-install is used to install to $HOME/.gem/ by default since we want to separate 4 | # pacman installed gems and gem installed gems 5 | gem: --user-install 6 | -------------------------------------------------------------------------------- /msys2-keyring/msys2-keyring.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | if usr/bin/pacman-key -l >/dev/null 2>&1; then 3 | usr/bin/pacman-key --populate msys2 4 | fi 5 | } 6 | 7 | post_install() { 8 | if [ -x usr/bin/pacman-key ]; then 9 | post_upgrade 10 | fi 11 | } 12 | -------------------------------------------------------------------------------- /filesystem/start: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (C) 2014, Alexey Pavlov 3 | # mailto:alexpux@gmail.com 4 | # This file is part of Minimal SYStem version 2. 5 | # https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ 6 | # File: start 7 | 8 | cmd //c start "${@//&/^&}" 9 | -------------------------------------------------------------------------------- /whois/whois-libiconv.patch: -------------------------------------------------------------------------------- 1 | --- Makefile 2015-01-09 03:49:00.000000000 +0100 2 | +++ Makefile 2015-03-31 20:02:47.435187900 +0200 3 | @@ -39,6 +39,7 @@ 4 | 5 | ifdef HAVE_ICONV 6 | whois_OBJECTS += simple_recode.o 7 | +whois_LDADD += -liconv 8 | DEFS += -DHAVE_ICONV 9 | endif 10 | 11 | -------------------------------------------------------------------------------- /namcap/002-force-msys-python.patch: -------------------------------------------------------------------------------- 1 | --- namcap-3.2.10/namcap.sh.orig 2020-05-29 08:10:32.607965100 +0200 2 | +++ namcap-3.2.10/namcap.sh 2020-05-29 08:10:55.469396300 +0200 3 | @@ -36,4 +36,4 @@ 4 | fi 5 | done 6 | 7 | -/usr/bin/env python3 -m namcap ${args} 8 | +/usr/bin/python -m namcap ${args} 9 | -------------------------------------------------------------------------------- /zlib/1.2.7-zlib-symbols.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/zlib-1.2.7/win32/zlib.def 2012-03-16 22:53:09.000000000 -0500 2 | +++ src/zlib-1.2.7/win32/zlib.def 2013-02-13 17:39:00.812212400 -0600 3 | @@ -81,4 +81,3 @@ EXPORTS 4 | inflateUndermine 5 | inflateResetKeep 6 | deflateResetKeep 7 | - gzopen_w 8 | -------------------------------------------------------------------------------- /lzip/lzip.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | 3 | post_install() { 4 | install-info $infodir/lzip.info $infodir/dir &> /dev/null 5 | } 6 | 7 | post_upgrade() { 8 | post_install $1 9 | } 10 | 11 | pre_remove() { 12 | install-info --delete $infodir/lzip.info $infodir/dir &> /dev/null 13 | } 14 | -------------------------------------------------------------------------------- /filesystem/08-xml-catalog.post: -------------------------------------------------------------------------------- 1 | maybe_create_xml_catalog () 2 | { 3 | if [ ! -f "/etc/xml/catalog" ] 4 | then 5 | /usr/bin/mkdir -p /etc/xml 6 | /usr/bin/xmlcatalog --noout --create /etc/xml/catalog 7 | 8 | MAYBE_FIRST_START=true 9 | fi 10 | } 11 | 12 | maybe_create_xml_catalog 13 | -------------------------------------------------------------------------------- /filesystem/redirect-config.site: -------------------------------------------------------------------------------- 1 | # This file is in public domain. 2 | # Original author: Karlson2k (Evgeny Grin) 3 | # Written for MSys2 to help running 'configure' scripts 4 | 5 | # Use correct config.site file even if CONFIG_SITE is not set 6 | if test -r /etc/config.site; then 7 | . /etc/config.site 8 | fi 9 | -------------------------------------------------------------------------------- /gnu-netcat/gnu-netcat.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | 3 | post_install() { 4 | install-info $infodir/netcat.info.gz $infodir/dir 2> /dev/null 5 | } 6 | 7 | post_upgrade() { 8 | post_install $1 9 | } 10 | 11 | pre_remove() { 12 | install-info --delete $infodir/netcat.info.gz $infodir/dir 2> /dev/null 13 | } 14 | -------------------------------------------------------------------------------- /perl/perl-binary-module-dependency-1.template: -------------------------------------------------------------------------------- 1 | if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.dll") ]]; then 2 | _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') 3 | _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') 4 | depends+=("perl>=$_perlver_min" "perl<$_perlver_max") 5 | fi 6 | -------------------------------------------------------------------------------- /zsh/zsh.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | grep -qe '^/bin/zsh$' etc/shells || echo '/bin/zsh' >> etc/shells 3 | grep -qe '^/usr/bin/zsh$' etc/shells || echo '/usr/bin/zsh' >> etc/shells 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | pre_remove() { 11 | sed -i -r '/^(\/usr)?\/bin\/zsh$/d' etc/shells 12 | } 13 | -------------------------------------------------------------------------------- /filesystem/07-pacman-key.post: -------------------------------------------------------------------------------- 1 | maybe_init_keyring () 2 | { 3 | if [ ! -d /etc/pacman.d/gnupg ] 4 | then 5 | /usr/bin/pacman-key --init 6 | /usr/bin/pacman-key --populate msys2 || true 7 | /usr/bin/pacman-key --refresh-keys || true 8 | 9 | MAYBE_FIRST_START=true 10 | fi 11 | } 12 | 13 | maybe_init_keyring 14 | -------------------------------------------------------------------------------- /ruby/2.4.0-cygwin-compile.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/ruby-2.2.2/ext/-test-/printf/printf.c 2014-11-03 23:03:50.000000000 -0600 2 | +++ src/ruby-2.2.2/ext/-test-/printf/printf.c 2015-05-20 00:14:25.985606800 -0500 3 | @@ -1,3 +1,4 @@ 4 | +#define __STRICT_ANSI__ /* avoid conflicting utoa */ 5 | #include 6 | #include 7 | 8 | -------------------------------------------------------------------------------- /ruby/2.4.0-cygwin-rubygems.patch: -------------------------------------------------------------------------------- 1 | --- src/ruby-2.4.0/lib/rubygems.rb.orig 2016-10-30 02:32:48.000000000 -0400 2 | +++ src/ruby-2.4.0/lib/rubygems.rb 2017-03-07 23:37:48.944394100 -0500 3 | @@ -121,7 +121,6 @@ 4 | 5 | WIN_PATTERNS = [ 6 | /bccwin/i, 7 | - /cygwin/i, 8 | /djgpp/i, 9 | /mingw/i, 10 | /mswin/i, 11 | -------------------------------------------------------------------------------- /mingw-w64-cross-zlib/03-dont-put-sodir-into-L.mingw.patch: -------------------------------------------------------------------------------- 1 | --- a/zlib-1.2.7/zlib.pc.in.orig 2013-03-31 22:30:40 +0400 2 | +++ b/zlib-1.2.7/zlib.pc.in 2013-04-03 02:06:26 +0400 3 | @@ -9,5 +9,5 @@ 4 | Version: @VERSION@ 5 | 6 | Requires: 7 | -Libs: -L${libdir} -L${sharedlibdir} -lz 8 | +Libs: -L${libdir} -lz 9 | Cflags: -I${includedir} 10 | -------------------------------------------------------------------------------- /zlib/1.2.11-cygwin-no-widechar.patch: -------------------------------------------------------------------------------- 1 | --- zlib-1.2.11/gzguts.h.orig 2017-01-25 07:59:56.957392500 +0300 2 | +++ zlib-1.2.11/gzguts.h 2017-01-25 08:00:03.311603900 +0300 3 | @@ -39,7 +39,7 @@ 4 | # include 5 | #endif 6 | 7 | -#if defined(_WIN32) || defined(__CYGWIN__) 8 | +#if defined(_WIN32) 9 | # define WIDECHAR 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /texinfo/texinfo-remove.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Remove 4 | Target = usr/share/info/* 5 | 6 | [Action] 7 | Description = Removing old entries from the info directory file... 8 | When = PreTransaction 9 | Exec = /usr/bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done' 10 | NeedsTargets 11 | -------------------------------------------------------------------------------- /editorconfig-vim/vimdoc.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo -n "Updating vim help tags..." 3 | /usr/bin/vim --noplugins -u NONE -U NONE \ 4 | --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 5 | echo "done." 6 | } 7 | 8 | post_upgrade() { 9 | post_install 10 | } 11 | 12 | post_remove() { 13 | post_install 14 | } 15 | -------------------------------------------------------------------------------- /perl/perlbin.fish: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | 4 | if status --is-login 5 | for perldir in /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl 6 | if test -d $perldir 7 | set PATH $PATH $perldir 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /texinfo/texinfo-install.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/share/info/* 6 | 7 | [Action] 8 | Description = Updating the info directory file... 9 | When = PostTransaction 10 | Exec = /usr/bin/sh -c 'while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done' 11 | NeedsTargets 12 | -------------------------------------------------------------------------------- /bisoncpp/manual_license.patch: -------------------------------------------------------------------------------- 1 | --- a/documentation/manual/conditions/gpl.yo 2012-02-08 19:53:51.000000000 +0000 2 | +++ b/documentation/manual/conditions/gpl.yo 2014-10-23 00:51:58.123510386 +0100 3 | @@ -4,5 +4,5 @@ 4 | 5 | The GPL is shown below: 6 | 7 | -verbinclude(/usr/share/common-licenses/GPL) 8 | +https://www.gnu.org/licenses/gpl-3.0.en.html 9 | 10 | -------------------------------------------------------------------------------- /libpsl/0.16.0-install-dafsa.patch: -------------------------------------------------------------------------------- 1 | --- libpsl-0.16.0/src/Makefile.am 2016-12-06 13:00:23.000000000 -0600 2 | +++ libpsl-0.16.0/src/Makefile.am 2016-12-15 04:11:54.570845600 -0600 3 | @@ -27,4 +27,5 @@ suffixes_dafsa.c: $(PSL_FILE) $(srcdir)/ 4 | 5 | EXTRA_DIST = psl-make-dafsa LICENSE.chromium 6 | 7 | +bin_SCRIPTS = psl-make-dafsa 8 | dist_man_MANS = psl-make-dafsa.1 9 | -------------------------------------------------------------------------------- /p11-kit/0001-allow-gtkdocize.all.patch: -------------------------------------------------------------------------------- 1 | --- p11-kit-0.20.3/configure.ac.orig 2014-07-04 13:54:47.000000000 +0000 2 | +++ p11-kit-0.20.3/configure.ac 2014-07-28 05:38:48.690066400 +0000 3 | @@ -36,6 +36,7 @@ 4 | AC_PROG_CPP 5 | AM_PROG_CC_C_O 6 | PKG_PROG_PKG_CONFIG 7 | +GTK_DOC_CHECK(1.2) 8 | 9 | LINGUAS="" 10 | AM_GNU_GETTEXT([external], [need-ngettext]) 11 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.1p1-bs.patch: -------------------------------------------------------------------------------- 1 | diff -up cvs-1.11.23/src/sanity.sh.bs cvs-1.11.23/src/sanity.sh 2 | --- cvs-1.11.23/src/sanity.sh.bs 2008-07-15 15:38:59.000000000 -0400 3 | +++ cvs-1.11.23/src/sanity.sh 2008-07-15 15:40:29.000000000 -0400 4 | @@ -18,6 +18,8 @@ 5 | # 6 | # Original Author: K. Richard Pixley 7 | 8 | +exit 0 9 | + 10 | # usage: 11 | usage () 12 | { 13 | -------------------------------------------------------------------------------- /automake1.8/automake1.8-vs-modern-libtool.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/automake-1.8.5/lib/am/libtool.am 2003-06-02 03:08:40.000000000 -0400 2 | +++ src/automake-1.8.5/lib/am/libtool.am 2008-10-26 22:19:04.909673600 -0400 3 | @@ -28,4 +28,4 @@ 4 | 5 | ?TOPDIR?distclean-am: distclean-libtool 6 | ?TOPDIR?distclean-libtool: 7 | -?TOPDIR? -rm -f libtool 8 | +?TOPDIR? -rm -f libtool config.lt 9 | -------------------------------------------------------------------------------- /automake1.9/automake1.9-vs-modern-libtool.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/automake-1.9.6/lib/am/libtool.am 2005-05-14 16:21:06.000000000 -0400 2 | +++ src/automake-1.9.6/lib/am/libtool.am 2008-10-27 08:43:38.058048000 -0400 3 | @@ -28,4 +28,4 @@ 4 | 5 | ?TOPDIR?distclean-am: distclean-libtool 6 | ?TOPDIR?distclean-libtool: 7 | -?TOPDIR? -rm -f libtool 8 | +?TOPDIR? -rm -f libtool config.lt 9 | -------------------------------------------------------------------------------- /dash/dash.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | grep -q '/usr/bin/ash' etc/shells || echo '/usr/bin/ash' >> etc/shells 3 | grep -q '/usr/bin/dash' etc/shells || echo '/usr/bin/dash' >> etc/shells 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | pre_remove() { 11 | sed -i '/^\/usr\/bin\/ash/d' etc/shells 12 | sed -i '/^\/usr\/bin\/dash/d' etc/shells 13 | } 14 | -------------------------------------------------------------------------------- /libpsl/019.1-implement-private-libs.patch: -------------------------------------------------------------------------------- 1 | --- libpsl-0.19.1/libpsl.pc.in.orig 2018-02-12 11:00:02.234548800 +0300 2 | +++ libpsl-0.19.1/libpsl.pc.in 2018-02-12 11:04:03.706374100 +0300 3 | @@ -8,4 +8,5 @@ 4 | Version: @PACKAGE_VERSION@ 5 | URL: @PACKAGE_URL@ 6 | Libs: -L${libdir} -lpsl 7 | +Libs.private: @LIBICU_LIBS@ @LIBIDN2_LIBS@ @LIBIDN_LIBS@ 8 | Cflags: -I${includedir} 9 | -------------------------------------------------------------------------------- /mksh/mksh.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | grep -q '/usr/bin/ksh' etc/shells || echo '/usr/bin/ksh' >> etc/shells 3 | grep -q '/usr/bin/mksh' etc/shells || echo '/usr/bin/mksh' >> etc/shells 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | pre_remove() { 11 | sed -i '/^\/usr\/bin\/ksh/d' etc/shells 12 | sed -i '/^\/usr\/bin\/mksh/d' etc/shells 13 | } 14 | -------------------------------------------------------------------------------- /tcsh/tcsh.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | grep -q '/usr/bin/csh' etc/shells || echo '/usr/bin/csh' >> etc/shells 3 | grep -q '/usr/bin/tcsh' etc/shells || echo '/usr/bin/tcsh' >> etc/shells 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | pre_remove() { 11 | sed -i '/^\/usr\/bin\/csh/d' etc/shells 12 | sed -i '/^\/usr\/bin\/tcsh/d' etc/shells 13 | } 14 | -------------------------------------------------------------------------------- /sed/sed-4.4-1.src.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/sed-4.4/po/Makefile.in.in 2017-02-03 19:15:46.000000000 -0600 2 | +++ src/sed-4.4/po/Makefile.in.in 2017-02-11 10:43:24.798903500 -0600 3 | @@ -473,3 +473,5 @@ force: 4 | # Tell versions [3.59,3.63) of GNU make not to export all variables. 5 | # Otherwise a system limit (for SysV at least) may be exceeded. 6 | .NOEXPORT: 7 | + 8 | +install-html: 9 | -------------------------------------------------------------------------------- /tmux/msys-platform.patch: -------------------------------------------------------------------------------- 1 | --- tmux-git/configure.ac.orig 2014-08-01 09:02:43.557200000 +0400 2 | +++ tmux-git/configure.ac 2014-08-01 09:03:03.306800000 +0400 3 | @@ -504,6 +504,10 @@ 4 | AC_MSG_RESULT(cygwin) 5 | PLATFORM=cygwin 6 | ;; 7 | + *msys*) 8 | + AC_MSG_RESULT(msys) 9 | + PLATFORM=msys 10 | + ;; 11 | *) 12 | AC_MSG_RESULT(unknown) 13 | PLATFORM=unknown 14 | -------------------------------------------------------------------------------- /heimdal/7.5.0-use-python2.patch: -------------------------------------------------------------------------------- 1 | --- heimdal-heimdal-7.5.0/lib/wind/Makefile.am.orig 2018-06-27 08:06:04.710877500 +0300 2 | +++ heimdal-heimdal-7.5.0/lib/wind/Makefile.am 2018-06-27 08:06:10.480885600 +0300 3 | @@ -89,7 +89,7 @@ 4 | 5 | LDADD = libwind.la $(LIB_roken) 6 | 7 | -PYTHON = python 8 | +PYTHON = python2 9 | 10 | if !MAINTAINER_MODE 11 | skip_python = test -f $@ || 12 | -------------------------------------------------------------------------------- /texinfo/0005-fix-makeinfo-exeext.msys2.patch: -------------------------------------------------------------------------------- 1 | --- texinfo-5.1/tp/Makefile.am.orig 2013-02-24 23:34:40.000000000 +0000 2 | +++ texinfo-5.1/tp/Makefile.am 2013-07-27 05:34:30.382901100 +0000 3 | @@ -52,6 +52,8 @@ 4 | rm -f $@ 5 | -$(LN_S) texi2any $@ 6 | 7 | +makeinfo.exe: makeinfo 8 | + 9 | modulesdir = $(pkgdatadir)/Texinfo 10 | dist_modules_DATA = \ 11 | Texinfo/Parser.pm \ 12 | -------------------------------------------------------------------------------- /ucl/003-no-undefined.patch: -------------------------------------------------------------------------------- 1 | --- ucl-1.03/src/Makefile.am.orig 2015-02-22 22:24:15.619000000 +0300 2 | +++ ucl-1.03/src/Makefile.am 2015-02-22 22:24:26.663800000 +0300 3 | @@ -12,7 +12,7 @@ 4 | 5 | lib_LTLIBRARIES = libucl.la 6 | 7 | -libucl_la_LDFLAGS = -version-info 1:0:0 8 | +libucl_la_LDFLAGS = -version-info 1:0:0 -no-undefined 9 | 10 | libucl_la_SOURCES = \ 11 | alloc.c \ 12 | -------------------------------------------------------------------------------- /emacs/configure.ac.diff: -------------------------------------------------------------------------------- 1 | --- configure.ac 2016-07-25 15:08:36.000000000 +0800 2 | +++ configure_ricky.ac 2016-10-20 13:46:29.466294000 +0800 3 | @@ -625,6 +625,11 @@ 4 | opsys=cygwin 5 | ;; 6 | 7 | + ## MSYS2 ports 8 | + *-*-msys ) 9 | + opsys=cygwin 10 | + ;; 11 | + 12 | ## HP 9000 series 700 and 800, running HP/UX 13 | hppa*-hp-hpux10.2* ) 14 | opsys=hpux10-20 15 | -------------------------------------------------------------------------------- /pkgfile/001-cygwin-alloca.patch: -------------------------------------------------------------------------------- 1 | --- pkgfile-19/src/pkgfile.c.orig 2018-11-26 10:15:54.557508000 +0300 2 | +++ pkgfile-19/src/pkgfile.c 2018-11-26 10:16:07.630330900 +0300 3 | @@ -8,6 +8,9 @@ 4 | #include 5 | #include 6 | #include 7 | +#if defined(__CYGWIN__) 8 | +#include 9 | +#endif 10 | 11 | #include "macro.h" 12 | #include "match.h" 13 | -------------------------------------------------------------------------------- /ccache/ccache.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | mkdir -p /usr/lib/ccache/bin 3 | for compiler in c++ cc cpp gcc g++ {i686,x86_64}-{pc-msys,w64-mingw32}-{g++,c++,gcc}; do 4 | MSYS='winsymlinks:lnk' ln -sf /usr/bin/ccache /usr/lib/ccache/bin/${compiler} 5 | done 6 | } 7 | 8 | pre_remove() { rm -rf /usr/lib/ccache; } 9 | pre_upgrade() { pre_remove; } 10 | post_upgrade() { post_install; } 11 | -------------------------------------------------------------------------------- /expect/5.45-msysize.patch: -------------------------------------------------------------------------------- 1 | --- expect5.45/tclconfig/tcl.m4.orig 2010-11-09 19:42:10.000000000 +0000 2 | +++ expect5.45/tclconfig/tcl.m4 2015-06-29 21:58:04.038084800 +0100 3 | @@ -1406,7 +1406,7 @@ 4 | CC_SEARCH_FLAGS="" 5 | LD_SEARCH_FLAGS="" 6 | ;; 7 | - CYGWIN_*) 8 | + CYGWIN_*|MSYS_*) 9 | SHLIB_CFLAGS="" 10 | SHLIB_LD='${CC} -shared' 11 | SHLIB_SUFFIX=".dll" 12 | -------------------------------------------------------------------------------- /sharutils/install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(sharutils.info.gz) 3 | 4 | post_install() { 5 | for file in ${filelist[@]}; do 6 | install-info $infodir/$file $infodir/dir 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install 12 | } 13 | 14 | pre_remove() { 15 | for file in ${filelist[@]}; do 16 | install-info --delete $infodir/$file $infodir/dir 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /bison/bison.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=bison.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /ed/ed.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=ed.info 3 | 4 | post_install() { 5 | for file in ${filelist}; do 6 | install-info $infodir/$file.gz $infodir/dir 2>/dev/null 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | 14 | pre_remove() { 15 | for file in ${filelist}; do 16 | install-info --delete $infodir/$file.gz $infodir/dir 2>/dev/null 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /gperf/gperf.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=gperf.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /gzip/gzip.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | 3 | post_install() { 4 | [ -x usr/bin/install-info ] || return 0 5 | usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null 6 | } 7 | 8 | post_upgrade() { 9 | post_install $1 10 | } 11 | 12 | pre_remove() { 13 | [ -x usr/bin/install-info ] || return 0 14 | usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null 15 | } 16 | -------------------------------------------------------------------------------- /nano/2.2.4-wchar.patch: -------------------------------------------------------------------------------- 1 | The joys of ncurses "ABI 6". 2 | 3 | --- origsrc/nano-2.2.4/src/nano.h 2009-12-01 21:36:42.000000000 -0600 4 | +++ src/nano-2.2.4/src/nano.h 2010-05-28 13:52:18.936447000 -0500 5 | @@ -86,6 +86,7 @@ 6 | #define KEY_IC SL_KEY_IC 7 | /* Ncurses support. */ 8 | #elif defined(HAVE_NCURSES_H) 9 | +#define NCURSES_INTERNALS 10 | #include 11 | #else 12 | /* Curses support. */ 13 | -------------------------------------------------------------------------------- /util-linux/2.24.2-libintl.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/util-linux-2.24.2/configure.ac 2014-04-24 04:23:25.576928900 -0500 2 | +++ src/util-linux-2.24.2/configure.ac 2014-07-08 19:30:13.525360200 -0500 3 | @@ -1559,7 +1559,7 @@ AC_ARG_VAR([SOLIB_CFLAGS], 4 | AC_ARG_VAR([SOLIB_LDFLAGS], 5 | [LDFLAGS used for shared libraries]) 6 | 7 | -LIBS="" 8 | +LIBS="$LIBINTL" 9 | 10 | 11 | AC_CONFIG_HEADERS([config.h]) 12 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | What we need to do: 2 | 3 | * msys2-runtime: properly mangle paths in "complex" arguments that contain 4 | some arguments in one string. 5 | 6 | * msys2-runtime: skip trying mangling arguments that contain absolute 7 | windows paths with '/' as path separator. 8 | 9 | * ncurses: Fix it to properly work in Windows API based consoles. 10 | 11 | * Fix key shortcuts working in bash (like Ctrl+Home, Ctrl+End) -------------------------------------------------------------------------------- /cgdb/cgdb.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=cgdb.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /expect/5.45-openpty.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/expect5.45/pty_termios.c 2010-08-27 16:51:53.000000000 -0500 2 | +++ src/expect5.45/pty_termios.c 2013-03-18 15:34:39.233085300 -0500 3 | @@ -77,6 +77,10 @@ with openpty which supports 4000 while p 4 | #include 5 | #endif 6 | 7 | +#ifdef HAVE_OPENPTY 8 | +#include 9 | +#endif 10 | + 11 | #ifdef HAVE_PTYTRAP 12 | #include 13 | #endif 14 | -------------------------------------------------------------------------------- /grep/grep.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=grep.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 16 | } 17 | 18 | -------------------------------------------------------------------------------- /rarian/user-segfault.patch: -------------------------------------------------------------------------------- 1 | --- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200 2 | +++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200 3 | @@ -160,6 +160,11 @@ 4 | { 5 | char *filename = NULL; 6 | char *user = getenv ("USERNAME"); 7 | + 8 | + if (user == NULL) { 9 | + user = getenv ("USER"); 10 | + } 11 | + 12 | char *basepath = NULL; 13 | int i=0; 14 | int last = 0; 15 | -------------------------------------------------------------------------------- /gcc/gcc-fortran.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file="gfortran.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /lftp/lftp-configure-needtrio.patch: -------------------------------------------------------------------------------- 1 | diff -urN lftp-4.7.1.orig/m4/needtrio.m4 lftp-4.7.1/m4/needtrio.m4 2 | --- lftp-4.7.1.orig/m4/needtrio.m4 2016-02-20 08:57:52.000000000 -0500 3 | +++ lftp-4.7.1/m4/needtrio.m4 2016-04-05 05:02:03.114909100 -0400 4 | @@ -9,6 +9,7 @@ 5 | else 6 | 7 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ 8 | + #include 9 | int main() 10 | { 11 | unsigned long long x=0,x1; 12 | -------------------------------------------------------------------------------- /libtirpc/0.2.4-cygwin-pthread.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/libtirpc-0.2.4/tirpc/reentrant.h 2014-06-09 17:08:42.522558900 -0500 2 | +++ src/libtirpc-0.2.4/tirpc/reentrant.h 2014-06-09 17:08:43.133636500 -0500 3 | @@ -36,7 +36,7 @@ 4 | * These definitions are only guaranteed to be valid on Linux. 5 | */ 6 | 7 | -#if defined(__linux__) 8 | +#if defined(__linux__) || defined(__CYGWIN__) 9 | 10 | #include 11 | 12 | -------------------------------------------------------------------------------- /unzip/unzip-6.0-nostrip.patch: -------------------------------------------------------------------------------- 1 | diff -up unzip60/unix/configure.nostrip unzip60/unix/configure 2 | --- unzip60/unix/configure.nostrip 2009-11-30 10:18:09.000000000 +0100 3 | +++ unzip60/unix/configure 2009-11-30 10:21:08.354264213 +0100 4 | @@ -17,7 +17,7 @@ CFLAGSR=${CFLAGS} 5 | IZ_BZIP2=${3} 6 | CFLAGS="${CFLAGS} -I. -DUNIX" 7 | LFLAGS1="" 8 | -LFLAGS2="-s" 9 | +LFLAGS2="" 10 | LN="ln -s" 11 | 12 | CFLAGS_OPT='' 13 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.19-tagname.patch: -------------------------------------------------------------------------------- 1 | --- cvs-1.11.19/src/rcs.c.old 2005-03-14 13:09:39.000000000 +0100 2 | +++ cvs-1.11.19/src/rcs.c 2005-03-14 13:08:24.000000000 +0100 3 | @@ -3382,7 +3382,7 @@ 4 | RCS_check_tag (tag) 5 | const char *tag; 6 | { 7 | - char *invalid = "$,.:;@"; /* invalid RCS tag characters */ 8 | + char *invalid = "$,.:;@/"; /* invalid RCS tag characters */ 9 | const char *cp; 10 | 11 | /* 12 | -------------------------------------------------------------------------------- /perl/perl.cygwin-auto-image-base.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/perl-5.22.0/Makefile.SH 2 | +++ origsrc/perl-5.22.0/Makefile.SH 3 | @@ -71,7 +71,7 @@ true) 4 | -install_name \$(shrpdir)/\$@" 5 | ;; 6 | cygwin*) 7 | - shrpldflags="$shrpldflags -Wl,--out-implib=libperl.dll.a -Wl,--image-base,0x52000000" 8 | + shrpldflags="$shrpldflags -Wl,--out-implib=libperl.dll.a" 9 | linklibperl="-L. -lperl" 10 | ;; 11 | sunos*) 12 | -------------------------------------------------------------------------------- /coreutils/coreutils.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=coreutils.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 16 | } 17 | 18 | -------------------------------------------------------------------------------- /glib2/2.36.4-gspawn-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/glib-2.36.4/glib/gspawn.c 2013-08-07 09:36:32.000000000 -0500 2 | +++ src/glib-2.36.4/glib/gspawn.c 2013-10-21 13:25:34.502441400 -0500 3 | @@ -1040,7 +1040,7 @@ fdwalk (int (*cb)(void *data, int fd), v 4 | struct rlimit rl; 5 | #endif 6 | 7 | -#ifdef __linux__ 8 | +#if defined(__linux__) || defined(__CYGWIN__) 9 | DIR *d; 10 | 11 | if ((d = opendir("/proc/self/fd"))) { 12 | -------------------------------------------------------------------------------- /help2man/help2man.install: -------------------------------------------------------------------------------- 1 | info_dir=/usr/share/info 2 | info_files=help2man.info 3 | 4 | post_install() { 5 | for f in ${info_files}; do 6 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install 12 | } 13 | 14 | pre_remove() { 15 | for f in ${info_files}; do 16 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /inetutils/osockaddr.h: -------------------------------------------------------------------------------- 1 | #ifndef __OSOCKADDR_H__ 2 | #define __OSOCKADDR_H__ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* 4.3BSD sockaddr structure (used by talk protocol). */ 9 | struct osockaddr { 10 | u_short sa_family; /* address family */ 11 | char sa_data[14]; /* up to 14 bytes of direct address */ 12 | }; 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | 19 | #endif /* __OSOCKADDR_H__ */ 20 | -------------------------------------------------------------------------------- /libxml2/libxml2-cygwin-reentrant.patch: -------------------------------------------------------------------------------- 1 | --- libxml2-2.9.9/include/libxml/xmlexports.h.orig 2019-02-07 12:00:37.188549300 +0300 2 | +++ libxml2-2.9.9/include/libxml/xmlexports.h 2019-02-07 12:00:45.644764200 +0300 3 | @@ -150,6 +150,9 @@ 4 | #endif 5 | #define XMLCALL __cdecl 6 | #define XMLCDECL __cdecl 7 | + #if !defined _REENTRANT 8 | + #define _REENTRANT 9 | + #endif 10 | #endif 11 | 12 | /* Compatibility */ 13 | -------------------------------------------------------------------------------- /libtasn1/libtasn1.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=libtasn1.info 3 | 4 | post_install() { 5 | for f in ${info_files}; do 6 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | 14 | pre_remove() { 15 | for f in ${info_files}; do 16 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /luit/luit-20190106-fix-ldflags.patch: -------------------------------------------------------------------------------- 1 | --- configure.in.orig 2018-06-26 17:21:54.000000000 +0800 2 | +++ configure.in 2019-02-13 16:11:00.378262500 +0800 3 | @@ -179,6 +179,7 @@ 4 | AM_ICONV 5 | AC_DEFINE(USE_ICONV,1,[Define to 1 if iconv-libraries should be used]) 6 | CF_ADD_LIBS($LIBICONV) 7 | + AM_LDFLAGS = -liconv 8 | EXTRASRCS="$EXTRASRCS luitconv.c builtin.c" 9 | EXTRAOBJS="$EXTRAOBJS luitconv\$o builtin\$o" 10 | fi 11 | -------------------------------------------------------------------------------- /p11-kit/0015-0.18.7-parallel-make.patch: -------------------------------------------------------------------------------- 1 | The stock gtk-doc macros aren't used, so gtkdocize is not an option 2 | 3 | --- p11-kit-0.18.7-orig/build/gtk-doc.make 2013-10-14 07:15:57.000000000 -0500 4 | +++ p11-kit-0.18.7/build/gtk-doc.make 2014-01-24 01:10:15.790983600 -0600 5 | @@ -257,3 +257,5 @@ 6 | @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html 7 | 8 | .PHONY : dist-hook-local docs 9 | + 10 | +.NOTPARALLEL: 11 | -------------------------------------------------------------------------------- /util-linux/2.32.1-testsuite.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/util-linux-2.32.1/tests/helpers/test_tiocsti.c 2018-06-04 02:57:02.891445100 -0500 2 | +++ src/util-linux-2.32.1/tests/helpers/test_tiocsti.c 2019-01-01 19:05:38.793054600 -0600 3 | @@ -21,7 +21,11 @@ 4 | 5 | int main(void) 6 | { 7 | +#ifdef TIOCSTI 8 | char *cmd = "id -u -n\n"; 9 | while(*cmd) 10 | ioctl(0, TIOCSTI, cmd++); 11 | +#else 12 | + return 77; 13 | +#endif 14 | } 15 | -------------------------------------------------------------------------------- /colordiff/002-build-fix.patch: -------------------------------------------------------------------------------- 1 | diff -aurN 001/Makefile 002/Makefile 2 | --- 001/Makefile 3 | +++ 002/Makefile 4 | @@ -21,7 +21,7 @@ 5 | perl -p -i -e 's#
\ 12 | ${DESTDIR}${INSTALL_DIR}/colordiff 13 | -------------------------------------------------------------------------------- /fish/01-msysize.patch: -------------------------------------------------------------------------------- 1 | --- fish-2.1.2/config.guess.orig 2015-05-07 10:50:52.817400000 +0300 2 | +++ fish-2.1.2/config.guess 2015-05-07 10:51:53.610600000 +0300 3 | @@ -844,6 +844,9 @@ 4 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 5 | echo x86_64-unknown-cygwin 6 | exit ;; 7 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 8 | + echo x86_64-unknown-msys 9 | + exit ;; 10 | p*:CYGWIN*:*) 11 | echo powerpcle-unknown-cygwin 12 | exit ;; 13 | -------------------------------------------------------------------------------- /mingw-w64-cross-gcc-git/gcc-4.7-stdthreads.patch: -------------------------------------------------------------------------------- 1 | --- a/libgcc/gthr-posix.h (revision 186092) 2 | +++ b/libgcc/gthr-posix.h (working copy) 3 | @@ -88,7 +88,7 @@ 4 | # define __GTHREAD_COND_INIT_FUNCTION __gthread_cond_init_function 5 | #endif 6 | 7 | -#if SUPPORTS_WEAK && GTHREAD_USE_WEAK 8 | +#if SUPPORTS_WEAK && GTHREAD_USE_WEAK && !defined(__MINGW32__) 9 | # ifndef __gthrw_pragma 10 | # define __gthrw_pragma(pragma) 11 | # endif 12 | -------------------------------------------------------------------------------- /cvs/cvs.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist="cvs.info cvs-info-1 cvs-info-2 cvsclient.info" 3 | 4 | post_install() { 5 | for file in ${filelist}; do 6 | install-info $infodir/$file $infodir/dir 2> /dev/null 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | 14 | pre_remove() { 15 | for file in ${filelist}; do 16 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /groff/site.tmac: -------------------------------------------------------------------------------- 1 | . 2 | .if n \{\ 3 | . \" Character translations for non-keyboard 4 | . \" characters - to make them searchable 5 | . if '\*[.T]'utf8' \{\ 6 | . char \- \N'45' 7 | . char - \N'45' 8 | . char ' \N'39' 9 | . char \' \N'39' 10 | . \} 11 | . 12 | . \" Shut off SGR by default (groff colors) 13 | . \" Require GROFF_SGR envvar defined to turn it on 14 | . if '\V[GROFF_SGR]'' \ 15 | . output x X tty: sgr 0 16 | .\} 17 | -------------------------------------------------------------------------------- /libtirpc/0.2.4-cygwin-rpc-types.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/libtirpc-0.2.4/tirpc/rpc/types.h 2013-12-09 14:59:51.000000000 -0600 2 | +++ src/libtirpc-0.2.4/tirpc/rpc/types.h 2014-06-09 17:08:43.136136800 -0500 3 | @@ -40,6 +40,11 @@ 4 | 5 | #include 6 | 7 | +#ifdef __CYGWIN__ 8 | +typedef long long quad_t; 9 | +typedef unsigned long long u_quad_t; 10 | +#endif 11 | + 12 | typedef int32_t bool_t; 13 | typedef int32_t enum_t; 14 | 15 | -------------------------------------------------------------------------------- /xproto/0001-msysize.msys.patch: -------------------------------------------------------------------------------- 1 | --- xproto-7.0.24/config.guess.orig 2013-06-15 15:28:50.269926300 +0000 2 | +++ xproto-7.0.24/config.guess 2013-06-15 15:30:52.725976200 +0000 3 | @@ -841,6 +844,9 @@ 4 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 5 | echo x86_64-unknown-cygwin 6 | exit ;; 7 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 8 | + echo x86_64-unknown-msys 9 | + exit ;; 10 | p*:CYGWIN*:*) 11 | echo powerpcle-unknown-cygwin 12 | exit ;; -------------------------------------------------------------------------------- /apr/fix-debian-layout.patch: -------------------------------------------------------------------------------- 1 | --- apr-1.4.8/config.layout.orig 2004-11-25 01:51:51.000000000 +0300 2 | +++ apr-1.4.8/config.layout 2013-11-05 19:12:38.554600000 +0400 3 | @@ -216,7 +216,7 @@ 4 | # Debian layout 5 | 6 | prefix: 7 | - exec_prefix: ${prefix}/usr 8 | + exec_prefix: ${prefix} 9 | bindir: ${exec_prefix}/bin 10 | sbindir: ${exec_prefix}/sbin 11 | libdir: ${exec_prefix}/lib 12 | -------------------------------------------------------------------------------- /libssh2/1.2.7-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/libssh2-1.2.7/configure.ac 2010-04-14 16:35:40.000000000 -0500 2 | +++ src/libssh2-1.2.7/configure.ac 2010-11-03 01:40:28.457278200 -0500 3 | @@ -33,9 +33,6 @@ case "$host" in 4 | CFLAGS="$CFLAGS -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200" 5 | LIBS="$LIBS -lws2_32" 6 | ;; 7 | - *-cygwin) 8 | - CFLAGS="$CFLAGS -DLIBSSH2_WIN32" 9 | - ;; 10 | *darwin*) 11 | CFLAGS="$CFLAGS -DLIBSSH2_DARWIN" 12 | ;; 13 | -------------------------------------------------------------------------------- /mingw-w64-cross-zlib/02-no-undefined.mingw.patch: -------------------------------------------------------------------------------- 1 | --- a/zlib-1.2.7/contrib/minizip/Makefile.am.orig 2013-03-31 04:43:24 +0400 2 | +++ b/zlib-1.2.7/contrib/minizip/Makefile.am 2013-03-31 04:45:10 +0400 3 | @@ -8,7 +8,7 @@ 4 | zlib_top_builddir = $(top_builddir)/../.. 5 | 6 | AM_CPPFLAGS = -I$(zlib_top_srcdir) 7 | -AM_LDFLAGS = -L$(zlib_top_builddir) 8 | +AM_LDFLAGS = -L$(zlib_top_builddir) -no-undefined 9 | 10 | if WIN32 11 | iowin32_src = iowin32.c 12 | -------------------------------------------------------------------------------- /perl-Probe-Perl/Probe-Perl-0.01.patch: -------------------------------------------------------------------------------- 1 | diff -Naur Probe-Perl-0.02/lib/Probe/Perl.pm Probe-Perl-0.02/lib/Probe/Perl.pm 2 | --- Probe-Perl-0.02/lib/Probe/Perl.pm 2013-04-19 11:38:14.000000000 +0000 3 | +++ Probe-Perl-0.02/lib/Probe/Perl.pm 2013-06-16 15:34:13.776921900 +0000 4 | @@ -124,6 +124,7 @@ 5 | solaris Unix 6 | sunos Unix 7 | cygwin Unix 8 | + msys Unix 9 | os2 Unix 10 | 11 | dos Windows 12 | -------------------------------------------------------------------------------- /autogen/autogen.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist="autogen.info autogen.info-1 autogen.info-2" 3 | 4 | post_install() { 5 | for file in ${filelist}; do 6 | install-info $infodir/${file}.gz $infodir/dir 2> /dev/null 7 | done 8 | } 9 | 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | 14 | pre_remove() { 15 | for file in ${filelist}; do 16 | install-info --delete $infodir/${file}.gz $infodir/dir 2> /dev/null 17 | done 18 | } 19 | -------------------------------------------------------------------------------- /man-db/man-db.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo "it's recommended to create an initial" 3 | echo "database running as root:" 4 | echo "\"/usr/bin/mandb --quiet\"" 5 | } 6 | 7 | post_upgrade() { 8 | # force database rebuild to get rid off badly imported pages 9 | if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then 10 | echo "(re)building database..." 11 | mandb -c --quiet 12 | fi 13 | } 14 | 15 | post_remove() { 16 | rm -rf /var/cache/man 17 | } 18 | -------------------------------------------------------------------------------- /perl-XML-SAX/perl-xml-sax.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 3 | perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null 4 | fi 5 | } 6 | 7 | post_upgrade() { 8 | if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 9 | perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null 10 | fi 11 | } 12 | -------------------------------------------------------------------------------- /tmux/no-check-dirs-permission.patch: -------------------------------------------------------------------------------- 1 | diff --git tmux.c tmux.c 2 | index 62f8a80..d8ed280 100644 3 | --- tmux.c 4 | +++ tmux.c 5 | @@ -149,7 +149,11 @@ makesocketpath(const char *label) 6 | errno = ENOTDIR; 7 | return (NULL); 8 | } 9 | +#ifdef __MSYS__ 10 | + if (sb.st_uid != uid) { 11 | +#else /* __MSYS__ */ 12 | if (sb.st_uid != uid || (sb.st_mode & S_IRWXO) != 0) { 13 | +#endif /* __MSYS__ */ 14 | errno = EACCES; 15 | return (NULL); 16 | } 17 | -------------------------------------------------------------------------------- /heimdal/1.5.2-roken-signal.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/heimdal-1.5.2/lib/roken/signal.c 2012-01-10 15:53:51.000000000 -0600 2 | +++ src/heimdal-1.5.2/lib/roken/signal.c 2012-07-15 20:57:21.426819000 -0500 3 | @@ -40,7 +40,7 @@ 4 | * We would like to always use this signal but there is a link error 5 | * on NEXTSTEP 6 | */ 7 | -#if !defined(NeXT) && !defined(__APPLE__) 8 | +#if !defined(NeXT) && !defined(__APPLE__) && !defined(__CYGWIN__) 9 | /* 10 | * Bugs: 11 | * 12 | -------------------------------------------------------------------------------- /isl/isl-0.14.1-no-undefined.patch: -------------------------------------------------------------------------------- 1 | --- isl-0.14.1/Makefile.am.orig 2015-06-09 00:57:27.063200000 +0400 2 | +++ isl-0.14.1/Makefile.am 2015-06-09 00:59:20.587200000 +0400 3 | @@ -164,7 +164,7 @@ 4 | isl_vertices_private.h \ 5 | isl_vertices.c 6 | libisl_la_LIBADD = @MP_LIBS@ 7 | -libisl_la_LDFLAGS = -version-info @versioninfo@ \ 8 | +libisl_la_LDFLAGS = -version-info @versioninfo@ -no-undefined \ 9 | @MP_LDFLAGS@ 10 | 11 | isl_test_LDFLAGS = @MP_LDFLAGS@ 12 | -------------------------------------------------------------------------------- /python/930-fix-missing-tcp-include.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.5/Modules/socketmodule.h.orig 2020-07-20 15:01:32.000000000 +0200 2 | +++ Python-3.8.5/Modules/socketmodule.h 2020-07-23 09:32:42.727747500 +0200 3 | @@ -8,9 +8,7 @@ 4 | # include 5 | # endif 6 | # include 7 | -# if !defined(__CYGWIN__) 8 | -# include 9 | -# endif 10 | +# include 11 | 12 | #else /* MS_WINDOWS */ 13 | # include 14 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.21-sort.patch: -------------------------------------------------------------------------------- 1 | --- cvs-1.11.21/contrib/rcs2log.sh.old 2005-08-02 22:46:43.000000000 +0200 2 | +++ cvs-1.11.21/contrib/rcs2log.sh 2006-05-09 11:49:10.000000000 +0200 3 | @@ -68,6 +68,9 @@ 4 | For more information about these matters, see the files named COPYING. 5 | Author: Paul Eggert ' 6 | 7 | +# set old environment for sort (bug #190009) 8 | +export _POSIX2_VERSION=199209 9 | + 10 | # functions 11 | @MKTEMP_SH_FUNCTION@ 12 | 13 | -------------------------------------------------------------------------------- /msys2-unlocker/resource.rc: -------------------------------------------------------------------------------- 1 | #include "resource.h" 2 | #include "winuser.h" 3 | 4 | IDI_ID ICON "msys2.ico" 5 | 6 | #include "splash_frames.rc2" 7 | 8 | IDC_UNLOCKERDIALOG DIALOGEX 0, 0, 330, 100 9 | STYLE DS_CENTER | WS_THICKFRAME | WS_SYSMENU | WS_HSCROLL | WS_VSCROLL 10 | CAPTION "MSYS2 needs to replace some in-use files. Please close the following programs" 11 | FONT 8, "MS Sans Serif", 0, 0, 0x0 12 | BEGIN 13 | // LTEXT "Distance",IDC_STATIC,7,48,29,8 14 | END 15 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Declare files that always have LF line endings on checkout 2 | * text eol=lf 3 | 4 | # Windows batch files need to have CRLF line endings on checkout 5 | *.cmd text eol=crlf 6 | 7 | # Denote all files that are truly binary and should not be modified 8 | *.bz2 binary 9 | *.gz binary 10 | *.xz binary 11 | *.exe binary 12 | *.dll binary 13 | *.lzma binary 14 | *.ttf binary 15 | *.tgz binary 16 | *.zip binary 17 | *.rar binary 18 | *.lib binary 19 | *.a binary 20 | -------------------------------------------------------------------------------- /bash/bash.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=bash.info 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files}; do 7 | usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for f in ${info_files}; do 14 | usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 15 | done 16 | } 17 | -------------------------------------------------------------------------------- /gcc/gcc-libs.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="libgomp.info libquadmath.info" 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for file in ${filelist}; do 14 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 15 | done 16 | } 17 | -------------------------------------------------------------------------------- /mingw-w64-cross-conemu-git/0006-MainThread.h.patch: -------------------------------------------------------------------------------- 1 | diff --git conemu.orig/src/ConEmuHk/MainThread.h conemu/src/ConEmuHk/MainThread.h 2 | index b300f9c..e70793f 100644 3 | --- conemu.orig/src/ConEmuHk/MainThread.h 4 | +++ conemu/src/ConEmuHk/MainThread.h 5 | @@ -28,6 +28,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6 | 7 | #pragma once 8 | 9 | +#include "../common/Memory.h" 10 | #include "../common/MMap.h" 11 | #include 12 | 13 | -------------------------------------------------------------------------------- /colormake-git/colormake.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | # Create the make wrapper without overriding make.exe 3 | echo '#!/bin/bash' > /usr/bin/make.sh 4 | echo 'COLORMAKE_COMMAND=make.exe colormake "${@}"' >> /usr/bin/make.sh 5 | /usr/bin/cmd //c "ren $(cygpath -w /usr/bin/make.sh) make" 6 | } 7 | 8 | pre_remove() { 9 | # Remove the make wrapper not make.exe 10 | /usr/bin/cmd //c "del /q $(cygpath -w /usr/bin/make)" 11 | } 12 | -------------------------------------------------------------------------------- /git/1.7.9-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/git-1.7.9/git-gui/Makefile 2012-01-27 13:51:04.000000000 -0700 2 | +++ src/git-1.7.9/git-gui/Makefile 2012-02-11 12:07:50.890625000 -0700 3 | @@ -136,7 +136,7 @@ GITGUI_SCRIPT := $$0 4 | GITGUI_RELATIVE := 5 | GITGUI_MACOSXAPP := 6 | 7 | -ifeq ($(uname_O),Cygwin) 8 | +ifeq ($(uname_O),noThanks) 9 | GITGUI_SCRIPT := `cygpath --windows --absolute "$(GITGUI_SCRIPT)"` 10 | 11 | # Is this a Cygwin Tcl/Tk binary? If so it knows how to do 12 | -------------------------------------------------------------------------------- /mingw-w64-cross-gcc-git/gcc-4.8-libstdc++export.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver 2 | index cd0be4e..759dcfb 100644 3 | --- a/libstdc++-v3/config/abi/pre/gnu.ver 4 | +++ b/libstdc++-v3/config/abi/pre/gnu.ver 5 | @@ -1513,7 +1513,7 @@ CXXABI_1.3.6 { 6 | __cxa_allocate_dependent_exception; 7 | __cxa_free_dependent_exception; 8 | __cxa_deleted_virtual; 9 | - 10 | + _ZTC*; 11 | } CXXABI_1.3.5; 12 | 13 | 14 | -------------------------------------------------------------------------------- /tcl/8.5.10-tea-m4.patch: -------------------------------------------------------------------------------- 1 | For backwards compatibility 2 | 3 | --- origsrc/tcl8.5.10/tcl.m4 2011-10-24 20:47:16.878248200 -0500 4 | +++ src/tcl8.5.10/tcl.m4 2011-10-24 20:50:38.013444700 -0500 5 | @@ -3106,6 +3106,7 @@ AC_DEFUN([TEA_SETUP_COMPILER_CC], [ 6 | 7 | AC_PROG_CC 8 | AC_PROG_CPP 9 | + AC_PROG_INSTALL 10 | 11 | #-------------------------------------------------------------------- 12 | # Checks to see if the make program sets the $MAKE variable. 13 | -------------------------------------------------------------------------------- /dtc/02-pyext-install.patch: -------------------------------------------------------------------------------- 1 | --- dtc-1.5.0/pylibfdt/Makefile.pylibfdt.orig 2019-07-17 10:50:34.316040400 +0300 2 | +++ dtc-1.5.0/pylibfdt/Makefile.pylibfdt 2019-07-17 10:50:43.566856700 +0300 3 | @@ -21,7 +21,7 @@ 4 | 5 | install_pylibfdt: $(PYMODULE) 6 | @$(VECHO) INSTALL-PYLIB 7 | - $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX) 8 | + $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(DESTDIR)$(PREFIX) 9 | 10 | pylibfdt_clean: 11 | @$(VECHO) CLEAN "(pylibfdt)" 12 | -------------------------------------------------------------------------------- /mc/4.7.5.2-ncursesw-term.h.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/mc-4.7.5.2/lib/tty/tty-ncurses.c 2011-04-08 03:55:56.000000000 -0500 2 | +++ src/mc-4.7.5.2/lib/tty/tty-ncurses.c 2011-07-10 21:28:07.525141000 -0500 3 | @@ -52,7 +52,9 @@ 4 | 5 | /* include at last !!! */ 6 | #ifdef WANT_TERM_H 7 | -#ifdef HAVE_NCURSES_TERM_H 8 | +#if defined HAVE_NCURSESW_CURSES_H 9 | +#include 10 | +#elif defined HAVE_NCURSES_TERM_H 11 | #include 12 | #else 13 | #include 14 | -------------------------------------------------------------------------------- /ruby/2.5.0-pkgconfig-version.patch: -------------------------------------------------------------------------------- 1 | --- ruby-2.5.0/template/ruby.pc.in.orig 2018-02-08 21:31:08.867483500 -0500 2 | +++ ruby-2.5.0/template/ruby.pc.in 2018-02-08 21:35:41.229623700 -0500 3 | @@ -8,7 +8,7 @@ includedir=@includedir@ 4 | MAJOR=@MAJOR@ 5 | MINOR=@MINOR@ 6 | TEENY=@TEENY@ 7 | -ruby_version=@ruby_version@ 8 | +ruby_version=@RUBY_PROGRAM_VERSION@ 9 | RUBY_API_VERSION=@RUBY_API_VERSION@ 10 | RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@ 11 | RUBY_BASE_NAME=@RUBY_BASE_NAME@ 12 | -------------------------------------------------------------------------------- /protobuf/01-msysize.patch: -------------------------------------------------------------------------------- 1 | diff -rupN protobuf-3.6.1-orig/configure.ac protobuf-3.6.1/configure.ac 2 | --- protobuf-3.6.1-orig/configure.ac 2018-08-02 21:26:04.124338200 +1000 3 | +++ protobuf-3.6.1/configure.ac 2018-08-02 21:26:12.444697000 +1000 4 | @@ -190,7 +190,7 @@ ACX_PTHREAD 5 | AC_CXX_STL_HASH 6 | 7 | case "$target_os" in 8 | - mingw* | cygwin* | win* | aix*) 9 | + mingw* | cygwin* | win* | msys* | aix*) 10 | ;; 11 | *) 12 | # Need to link against rt on Solaris 13 | -------------------------------------------------------------------------------- /python/960-fix-parallel-make.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.5/Makefile.pre.in.orig 2020-08-14 12:32:57.031236300 -0700 2 | +++ Python-3.8.5/Makefile.pre.in 2020-08-14 12:33:19.884645300 -0700 3 | @@ -1256,7 +1256,7 @@ 4 | $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ 5 | fi 6 | 7 | -bininstall: altbininstall 8 | +bininstall: altbininstall commoninstall 9 | if test ! -d $(DESTDIR)$(LIBPC); then \ 10 | echo "Creating directory $(LIBPC)"; \ 11 | $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \ 12 | -------------------------------------------------------------------------------- /readline/readline.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="history.info readline.info rluserman.info" 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for file in ${filelist}; do 14 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 15 | done 16 | } 17 | 18 | -------------------------------------------------------------------------------- /rlwrap/rlwrap.install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | post_install() { 4 | cat < /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /python/010-3.8-nis-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.0a4-orig/setup.py 2019-05-19 12:20:42.157823300 -0400 2 | +++ Python-3.8.0a4/setup.py 2019-05-19 14:13:32.603602100 -0400 3 | @@ -2216,7 +2216,7 @@ class PyBuildExt(build_ext): 4 | depends=sha3_deps)) 5 | 6 | def detect_nis(self): 7 | - if MS_WINDOWS or CYGWIN or HOST_PLATFORM == 'qnx6': 8 | + if MS_WINDOWS or HOST_PLATFORM == 'qnx6': 9 | self.missing.append('nis') 10 | return 11 | 12 | -------------------------------------------------------------------------------- /sed/sed.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=sed.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /wget/wget.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=wget.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /which/which.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=which.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /gcc/gcc-go.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=gccgo.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /libffi/libffi.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=libffi.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /libksba/libksba.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=ksba.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } -------------------------------------------------------------------------------- /pkgfile/pkgfile.install: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | post_install() { 4 | printf "==> Run 'pkgfile --update' to initialize the database\n" 5 | } 6 | 7 | post_remove() { 8 | # the cache dir might not be removed, notify the user 9 | if [ -d var/cache/pkgfile ]; then 10 | printf "==> /var/cache/pkgfile has not been removed\n" 11 | fi 12 | } 13 | 14 | post_upgrade() { 15 | if [ "$(vercmp 5 "$2")" -eq 1 ]; then 16 | printf "==> DB format has changed. Please run pkgfile -uu\n" 17 | fi 18 | } 19 | -------------------------------------------------------------------------------- /zstd/zstd-1.4.5-fix-install-shared-library.patch: -------------------------------------------------------------------------------- 1 | --- zstd-1.4.5/build/cmake/lib/CMakeLists.txt.orig 2020-05-25 11:23:42.926850300 +0300 2 | +++ zstd-1.4.5/build/cmake/lib/CMakeLists.txt 2020-05-25 11:25:39.595943300 +0300 3 | @@ -163,6 +163,7 @@ 4 | INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" 5 | ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" 6 | LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" 7 | + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" 8 | ) 9 | 10 | # uninstall target 11 | -------------------------------------------------------------------------------- /gdbm/gdbm.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=gdbm.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /libffi-git/libffi.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=libffi.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /mingw-w64-cross-conemu-git/0004-CEStr.h.patch: -------------------------------------------------------------------------------- 1 | diff --git conemu.orig/src/common/CEStr.h conemu/src/common/CEStr.h 2 | index d723522..05f769f 100644 3 | --- conemu.orig/src/common/CEStr.h 4 | +++ conemu/src/common/CEStr.h 5 | @@ -63,7 +63,7 @@ public: 6 | // *** Not copyable, not implemented, use explicit Set method *** 7 | #if defined(__GNUC__) 8 | public: 9 | - CEStr(const CEStr&) = delete; 10 | + // CEStr(const CEStr&) = delete; 11 | CEStr& operator=(const CEStr &) = delete; 12 | #else 13 | private: 14 | -------------------------------------------------------------------------------- /mpc/mpc.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=mpc.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files}; do 7 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files}; do 18 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /mpfr/mpfr.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=mpfr.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files}; do 7 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files}; do 18 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /nettle/nettle.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="nettle.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /perl-XML-Parser/XML-Parser-2.41.patch: -------------------------------------------------------------------------------- 1 | diff -Naur XML-Parser-2.41/inc/Devel/CheckLib.pm XML-Parser-2.41/inc/Devel/CheckLib.pm 2 | --- XML-Parser-2.41/inc/Devel/CheckLib.pm 2011-05-25 03:39:14.000000000 +0000 3 | +++ XML-Parser-2.41/inc/Devel/CheckLib.pm 2013-06-16 15:38:01.556218800 +0000 4 | @@ -385,7 +385,7 @@ 5 | 6 | =over 7 | 8 | -=item gcc (on Linux, *BSD, Mac OS X, Solaris, Cygwin) 9 | +=item gcc (on Linux, *BSD, Mac OS X, Solaris, Cygwin, Msys) 10 | 11 | =item Sun's compiler tools on Solaris 12 | 13 | -------------------------------------------------------------------------------- /python/011-3.8-parser-cygwin.patch: -------------------------------------------------------------------------------- 1 | Modules/parsermodule.o:parsermodule.c: undefined reference to `_PyParser_Grammar' 2 | 3 | --- Python-3.8.0a4-orig/Modules/Setup 2019-05-06 14:30:25.000000000 -0400 4 | +++ Python-3.8.0a4/Modules/Setup 2019-05-19 14:14:54.663297000 -0400 5 | @@ -327,7 +327,7 @@ _symtable symtablemodule.c 6 | #binascii binascii.c 7 | 8 | # Fred Drake's interface to the Python parser 9 | -#parser parsermodule.c 10 | +parser parsermodule.c 11 | 12 | 13 | # Andrew Kuchling's zlib module. 14 | -------------------------------------------------------------------------------- /rarian/0.8-no-undefined.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/rarian-0.8.0/librarian/Makefile.am 2008-03-09 13:46:22.000000000 -0500 2 | +++ src/rarian-0.8.0/librarian/Makefile.am 2008-05-25 23:46:31.406250000 -0500 3 | @@ -30,4 +30,4 @@ 4 | endif 5 | 6 | librarian_la_CFLAGS = -DDATADIR=\""$(datadir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE 7 | -librarian_la_LDFLAGS = -export-symbols-regex "^rrn_.*" 8 | \ No newline at end of file 9 | +librarian_la_LDFLAGS = -export-symbols-regex "^rrn_.*" -no-undefined 10 | -------------------------------------------------------------------------------- /time/time.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="time.info.gz" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in "${filelist}"; do 7 | install-info "$infodir/$file" "$infodir/dir" 2>/dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install "$1" 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in "${filelist}"; do 18 | install-info --delete "$infodir/$file" "$infodir/dir" 2>/dev/null 19 | done 20 | } -------------------------------------------------------------------------------- /autoconf/autoconf.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=autoconf.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /db/5.3-tcl.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/db-5.3.21/dist/aclocal/tcl.m4 2012-05-11 12:57:48.000000000 -0500 2 | +++ src/db-5.3.21/dist/aclocal/tcl.m4 2013-03-08 00:21:33.268494500 -0600 3 | @@ -107,7 +107,7 @@ AC_DEFUN(SC_LOAD_TCLCONFIG, [ 4 | # given by the Tcl spec are insufficient for our use. [#5779],[#17109] 5 | # 6 | case "$host_os" in 7 | - aix*) 8 | + aix*|cygwin*) 9 | LIBTSO_LIBS="$LIBTSO_LIBS $TCL_LIB_SPEC $TCL_LIB_FLAG" 10 | LIBTSO_LIBS="$LIBTSO_LIBS -L$TCL_EXEC_PREFIX/lib -ltcl$TCL_VERSION";; 11 | esac 12 | -------------------------------------------------------------------------------- /gettext/0.19.8.1-cygwin-ftm.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h 2016-06-09 17:56:00.000000000 -0500 2 | +++ src/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h 2016-10-20 11:03:43.187813700 -0500 3 | @@ -435,7 +435,7 @@ extern int vswprintf (wchar_t *, size_t, 4 | extern char *setlocale (int, const char *); 5 | #endif 6 | 7 | -#if @HAVE_NEWLOCALE@ 8 | +#if @HAVE_NEWLOCALE@ && __POSIX_VISIBLE >= 200809 9 | 10 | #undef newlocale 11 | #define newlocale libintl_newlocale 12 | -------------------------------------------------------------------------------- /gettext/0.19.8.1-have_wprintf.patch: -------------------------------------------------------------------------------- 1 | --- gettext-0.19.8.1-2.x86_64/origsrc/gettext-0.19.8.1/gettext-runtime/m4/intl.m4 2016-03-20 02:37:53.000000000 -0500 2 | +++ gettext-0.19.8.1-2.x86_64/src/gettext-0.19.8.1/gettext-runtime/m4/intl.m4 2016-10-20 11:07:16.828746100 -0500 3 | @@ -94,7 +94,7 @@ 4 | HAVE_NEWLOCALE=0 5 | fi 6 | AC_SUBST([HAVE_NEWLOCALE]) 7 | - if test "$ac_cv_func_wprintf" = yes; then 8 | + if test "$ac_cv_func_fwprintf" = yes; then 9 | HAVE_WPRINTF=1 10 | else 11 | HAVE_WPRINTF=0 12 | -------------------------------------------------------------------------------- /libgcrypt/libgcrypt.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gcrypt.info.gz" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /libgpg-error/gpg-error-static-linking.patch: -------------------------------------------------------------------------------- 1 | --- libgpg-error-1.37/src/gpg-error.pc.in.orig 2020-05-22 12:39:05.295785700 +0300 2 | +++ libgpg-error-1.37/src/gpg-error.pc.in 2020-05-22 12:40:43.406658300 +0300 3 | @@ -11,5 +11,5 @@ 4 | Version: @PACKAGE_VERSION@ 5 | Cflags: @GPG_ERROR_CONFIG_CFLAGS@ 6 | Libs: @GPG_ERROR_CONFIG_LIBS@ 7 | -Libs.private: @GPG_ERROR_CONFIG_LIBS_PRIVATE@ 8 | +Libs.private: @GPG_ERROR_CONFIG_LIBS_PRIVATE@ @LIBINTL@ @LIBICONV@ 9 | URL: https://www.gnupg.org/software/libgpg-error/index.html 10 | -------------------------------------------------------------------------------- /neon/neon-0.30.2-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -durN neon-0.30.2.orig/config.guess neon-0.30.2/config.guess 2 | --- neon-0.30.2.orig/config.guess 2016-09-30 17:33:33.000000000 +0800 3 | +++ neon-0.30.2/config.guess 2017-05-20 10:55:55.421875000 +0800 4 | @@ -866,6 +866,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | p*:CYGWIN*:*) 12 | echo powerpcle-unknown-cygwin 13 | exit ;; 14 | -------------------------------------------------------------------------------- /sed/sed-4.4-msys-use-text-mode.patch: -------------------------------------------------------------------------------- 1 | --- sed-4.4/sed/sed.c.orig 2017-02-23 22:01:05.503921600 +0300 2 | +++ sed-4.4/sed/sed.c 2017-02-23 22:01:46.289254400 +0300 3 | @@ -61,7 +61,11 @@ 4 | char *in_place_extension = NULL; 5 | 6 | /* The mode to use to read/write files, either "r"/"w" or "rb"/"wb". */ 7 | +#ifdef __MSYS__ 8 | +char const *read_mode = "rt"; 9 | +#else 10 | char const *read_mode = "r"; 11 | +#endif 12 | char const *write_mode = "w"; 13 | 14 | /* Do we need to be pedantically POSIX compliant? */ 15 | -------------------------------------------------------------------------------- /zsh/Makefile.in.patch: -------------------------------------------------------------------------------- 1 | --- Doc/Makefile.in.orig 2014-08-01 16:50:26.000000000 +0900 2 | +++ Doc/Makefile.in 2014-08-01 16:51:22.000000000 +0900 3 | @@ -319,7 +319,7 @@ 4 | $(INSTALL_DATA) help/* $(DESTDIR)$(runhelpdir); \ 5 | while read from to; do \ 6 | rm -f $(DESTDIR)$(runhelpdir)/$$to || : ; \ 7 | - $(LN_S) $$from $(DESTDIR)$(runhelpdir)/$$to; \ 8 | + $(LN_S) $(sdir)/help/$$from $(DESTDIR)$(runhelpdir)/$$to; \ 9 | done < help.txt; \ 10 | fi 11 | .PHONY: install.runhelp 12 | -------------------------------------------------------------------------------- /diffutils/diffutils.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=diffutils.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /m4/m4.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="m4.info m4.info-1 m4.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /autoconf2.13/autoconf.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=autoconf2.13.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.21-diff-kk.patch: -------------------------------------------------------------------------------- 1 | --- cvs-1.11.21/src/diff.c.old 2005-12-19 11:01:59.000000000 +0100 2 | +++ cvs-1.11.21/src/diff.c 2005-12-21 15:45:40.000000000 +0100 3 | @@ -438,7 +438,7 @@ 4 | 5 | /* Send the current files unless diffing two revs from the archive */ 6 | if (diff_rev2 == NULL && diff_date2 == NULL) 7 | - send_files (argc, argv, local, 0, 0); 8 | + send_files (argc, argv, local, 0, options[0] == '\0' ? 0 : SEND_FORCE); 9 | else 10 | send_files (argc, argv, local, 0, SEND_NO_CONTENTS); 11 | 12 | -------------------------------------------------------------------------------- /python/009-3.8-export-PySignal_SetWakeupFd.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.0a2-orig/Include/cpython/pyerrors.h 2019-02-25 07:08:32.000000000 -0500 2 | +++ Python-3.8.0a2/Include/cpython/pyerrors.h 2019-03-11 11:35:44.868187500 -0400 3 | @@ -132,7 +132,7 @@ PyAPI_FUNC(PyObject *) _PyErr_TrySetFrom 4 | 5 | /* In signalmodule.c */ 6 | 7 | -int PySignal_SetWakeupFd(int fd); 8 | +PyAPI_FUNC(int) PySignal_SetWakeupFd(int fd); 9 | PyAPI_FUNC(int) _PyErr_CheckSignals(void); 10 | 11 | /* Support for adding program text to SyntaxErrors */ 12 | -------------------------------------------------------------------------------- /apr-util/apr-util-1.5.3-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur apr-util-1.5.2-orig/build/config.guess apr-util-1.5.2/build/config.guess 2 | --- apr-util-1.5.2-orig/build/config.guess 2011-05-20 20:22:23.000000000 +0000 3 | @@ -870,6 +870,9 @@ 4 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 5 | echo x86_64-unknown-cygwin 6 | exit ;; 7 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 8 | + echo x86_64-unknown-msys 9 | + exit ;; 10 | prep*:SunOS:5.*:*) 11 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 12 | exit ;; 13 | -------------------------------------------------------------------------------- /gmp/gmp.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files="gmp.info gmp.info-1 gmp.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files}; do 7 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files}; do 18 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /make/make.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="make.info make.info-1 make.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /tar/tar.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="tar.info tar.info-1 tar.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | -------------------------------------------------------------------------------- /perl-Params-Util/01-msysize.patch: -------------------------------------------------------------------------------- 1 | --- Params-Util-1.07/Makefile.PL.orig 2019-09-30 15:38:01.640045900 +0300 2 | +++ Params-Util-1.07/Makefile.PL 2012-03-11 04:39:46.000000000 +0400 3 | @@ -14,7 +14,7 @@ 4 | unless ( defined $make_xs ) { 5 | $make_xs = can_xs(); 6 | } 7 | -if ( $^O eq 'cygwin' and $make_xs == 1 and not /^-xs/ ) { 8 | +if ( ($^O eq 'cygwin' or $^O eq 'msys') and $make_xs == 1 and not /^-xs/ ) { 9 | # Cygwin goes bonkers breaking `` if using Params::Util XS version 10 | # for no apparent reason. 11 | $make_xs = 0; 12 | -------------------------------------------------------------------------------- /gcc/gcc-ada.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gnat-style.info gnat_rm.info gnat_ugn.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /make-git/make-git.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="make.info make.info-1 make.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /pinentry/pinentry.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files="pinentry.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files}; do 7 | usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in $info_files; do 18 | usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /subversion/remove-checking-symlink.patch: -------------------------------------------------------------------------------- 1 | --- subversion-1.8.5/configure.ac.orig 2013-10-24 08:02:16.000000000 +0400 2 | +++ subversion-1.8.5/configure.ac 2013-12-17 13:27:49.179600000 +0400 3 | @@ -872,9 +872,6 @@ 4 | dnl svn_error's default warning handler uses vfprintf() 5 | AC_FUNC_VPRINTF 6 | 7 | -dnl check for functions needed in special file handling 8 | -AC_CHECK_FUNCS(symlink readlink) 9 | - 10 | dnl check for uname and ELF headers 11 | AC_CHECK_HEADERS(sys/utsname.h, [AC_CHECK_FUNCS(uname)], []) 12 | AC_CHECK_HEADERS(elf.h) 13 | -------------------------------------------------------------------------------- /wget/fix-gettext-version.patch: -------------------------------------------------------------------------------- 1 | --- wget-1.16.2/configure.ac.orig 2015-03-04 09:15:13.615800000 +0300 2 | +++ wget-1.16.2/configure.ac 2015-03-04 09:15:33.817800000 +0300 3 | @@ -48,7 +48,7 @@ 4 | dnl 5 | dnl Automake setup 6 | dnl 7 | -AM_INIT_AUTOMAKE([1.9]) 8 | +AM_INIT_AUTOMAKE([1.14]) 9 | 10 | dnl 11 | dnl Get cannonical host 12 | @@ -200,7 +200,7 @@ 13 | dnl Gettext 14 | dnl 15 | AM_GNU_GETTEXT([external],[need-ngettext]) 16 | -AM_GNU_GETTEXT_VERSION([0.17]) 17 | +AM_GNU_GETTEXT_VERSION([0.19]) 18 | 19 | AC_PROG_RANLIB 20 | 21 | -------------------------------------------------------------------------------- /libtool/libtool.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="libtool.info libtool.info-1 libtool.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /pinentry/1.0.0-libiconv.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/pinentry-1.0.0/w32/Makefile.am 2016-04-14 09:39:51.000000000 -0500 2 | +++ src/pinentry-1.0.0/w32/Makefile.am 2017-06-29 02:06:33.906651400 -0500 3 | @@ -35,7 +35,7 @@ pinentry_w32_SOURCES = main.c pinentry-w 4 | pinentry_w32_LDFLAGS = -mwindows 5 | pinentry_w32_LDADD = pinentry-w32.o \ 6 | ../pinentry/libpinentry.a ../secmem/libsecmem.a \ 7 | - $(COMMON_LIBS) 8 | + $(COMMON_LIBS) $(LIBICONV) 9 | 10 | pinentry-w32.o: pinentry-w32.rc resource.h $(logos) 11 | $(WINDRES) -I.. -v -o $@ $< 12 | -------------------------------------------------------------------------------- /pkg-config/pkg-config-0.28-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur pkg-config-0.28/config.guess pkg-config-0.28-msys/config.guess 2 | --- pkg-config-0.28/config.guess 2012-10-01 13:15:51.000000000 +0000 3 | +++ pkg-config-0.28-msys/config.guess 2013-04-15 18:56:46.103515600 +0000 4 | @@ -844,6 +844,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | p*:CYGWIN*:*) 12 | echo powerpcle-unknown-cygwin 13 | exit ;; 14 | -------------------------------------------------------------------------------- /scons/mingw_w64.py: -------------------------------------------------------------------------------- 1 | """SCons.Tool.mingw_w64 2 | 3 | Tool-specific initialization for MinGW-w64 (http://mingw-w64.sourceforge.net) 4 | 5 | """ 6 | 7 | # 8 | # Copyright (c) 2015 Renato Silva 9 | # This module is based on SCons.Tool.mingw and is licensed under the same terms 10 | # 11 | 12 | __revision__ = "unknown" 13 | from SCons.Tool.mingw import * 14 | import SCons.Tool.mingw 15 | import SCons.Util 16 | 17 | def find(env): 18 | path = env.WhereIs('gcc') 19 | if (path): 20 | return path 21 | return SCons.Util.WhereIs('gcc') 22 | -------------------------------------------------------------------------------- /tree/Makefile-Uncomment-for-Cygwin.patch: -------------------------------------------------------------------------------- 1 | --- tree-1.7.0/Makefile.old 2014-04-19 02:35:39.000000000 +0900 2 | +++ tree-1.7.0/Makefile 2014-09-14 02:24:32.800993500 +0900 3 | @@ -47,10 +47,10 @@ 4 | #MANDIR=${prefix}/share/man/man1 5 | 6 | # Uncomment for Cygwin: 7 | -#CFLAGS=-O2 -Wall -fomit-frame-pointer -DCYGWIN 8 | -#LDFLAGS=-s 9 | -#TREE_DEST=tree.exe 10 | -#OBJS+=strverscmp.o 11 | +CFLAGS=-O2 -Wall -fomit-frame-pointer -DCYGWIN 12 | +LDFLAGS=-s 13 | +TREE_DEST=tree.exe 14 | +OBJS+=strverscmp.o 15 | 16 | # Uncomment for OS X: 17 | #CC=cc 18 | -------------------------------------------------------------------------------- /automake1.15/automake-1.15.1-perl-escape-curly-bracket.patch: -------------------------------------------------------------------------------- 1 | --- automake-1.15.1/bin/automake.in.orig 2017-10-01 16:51:34.179938300 -0400 2 | +++ automake-1.15.1/bin/automake.in 2017-10-01 18:13:47.444365300 -0400 3 | @@ -3879,7 +3879,7 @@ sub substitute_ac_subst_variables_worker 4 | sub substitute_ac_subst_variables 5 | { 6 | my ($text) = @_; 7 | - $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; 8 | + $text =~ s/\$[\{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; 9 | return $text; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /crosstool-ng-git/0001-stat-check.patch: -------------------------------------------------------------------------------- 1 | diff -Naur crosstool-ng.orig/configure.ac crosstool-ng/configure.ac 2 | --- crosstool-ng.orig/configure.ac 3 | +++ crosstool-ng/configure.ac 4 | @@ -240,7 +240,7 @@ AC_CACHE_CHECK([whether stat takes GNU or BSD format], 5 | rm -f conftest 6 | AS_IF([test "$attr_bsd" = "642"], 7 | [acx_cv_stat_flavor=BSD], 8 | - [test "$attr_gnu" = "642"], 9 | + [test "$attr_gnu" = "644"], 10 | [acx_cv_stat_flavor=GNU], 11 | [AC_MSG_ERROR([cannot determine stat(1) format option])])]) 12 | -------------------------------------------------------------------------------- /git/git.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="git.info.gz gitman.info.gz" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /glib2/2.38.2-gconvert-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/glib-2.38.2/glib/gconvert.c 2014-04-02 01:48:25.505447200 -0500 2 | +++ src/glib-2.38.2/glib/gconvert.c 2014-04-02 02:22:47.959345500 -0500 3 | @@ -1583,7 +1583,9 @@ g_filename_from_uri (const gchar *uri, 4 | return NULL; 5 | } 6 | 7 | - if (has_case_prefix (path_part, "///")) 8 | + if (has_case_prefix (path_part, "////")) 9 | + path_part += 1; 10 | + else if (has_case_prefix (path_part, "///")) 11 | path_part += 2; 12 | else if (has_case_prefix (path_part, "//")) 13 | { 14 | -------------------------------------------------------------------------------- /libbobcat/fix-light-build.patch: -------------------------------------------------------------------------------- 1 | --- libbobcat/bobcat/CLASSES.orig 2020-04-20 16:24:39.415646700 +0300 2 | +++ libbobcat/bobcat/CLASSES 2020-04-20 16:25:17.450432400 +0300 3 | @@ -104,6 +104,5 @@ 4 | typetrait 5 | user 6 | x2a 7 | -cryptbuf 8 | eoibuf 9 | eoi 10 | --- libbobcat/bobcat/SSLCLASSES.orig 2020-04-20 16:24:48.569034800 +0300 11 | +++ libbobcat/bobcat/SSLCLASSES 2020-04-20 16:25:33.020435300 +0300 12 | @@ -3,6 +3,7 @@ 13 | pf_iterator 14 | pf_iteratorstream 15 | bigint 16 | +cryptbuf 17 | decryptbuf 18 | diffiehellman 19 | digestbuf 20 | -------------------------------------------------------------------------------- /texinfo/0006-match-msys-gettext-version.patch: -------------------------------------------------------------------------------- 1 | --- texinfo-6.7/configure.ac.orig 2020-04-20 18:30:32.028533900 +0300 2 | +++ texinfo-6.7/configure.ac 2020-04-20 18:30:58.115891400 +0300 3 | @@ -314,7 +314,7 @@ 4 | # i18n support. To update to a new version of gettext, run: 5 | # gettextize -f --po-dir=po --po-dir=po_document 6 | # See http://gnu.org/s/gnulib/manual/html_node/gettextize-and-autopoint.html. 7 | -AM_GNU_GETTEXT_VERSION([0.20]) 8 | +AM_GNU_GETTEXT_VERSION([0.19.8]) 9 | AM_GNU_GETTEXT([external]) 10 | 11 | USE_EXTERNAL_LIBINTL=no 12 | -------------------------------------------------------------------------------- /automake1.6/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=automake1.6.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.7/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=automake1.7.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.8/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=automake1.8.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /elfutils/002-disable-new-dtags-flag.patch: -------------------------------------------------------------------------------- 1 | --- elfutils-0.173/libdw/Makefile.am.orig 2018-07-30 10:45:42.116360700 +0300 2 | +++ elfutils-0.173/libdw/Makefile.am 2018-07-30 10:46:09.978009700 +0300 3 | @@ -115,7 +115,6 @@ 4 | # not fly in a setuid executable that links in libdw. 5 | $(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \ 6 | -Wl,--soname,$@.$(VERSION) \ 7 | - -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \ 8 | -Wl,--version-script,$<,--no-undefined \ 9 | -Wl,--whole-archive $(libdw_so_LIBS) -Wl,--no-whole-archive \ 10 | $(libdw_so_LDLIBS) 11 | -------------------------------------------------------------------------------- /gawk/gawk.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gawk.info.gz gawkinet.info.gz" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /nano-syntax-highlighting-git/nano-syntax-highlighting.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | cat << _EOF 3 | 4 | ==> IMPORTANT!!! 5 | ==> To prevent overwriting your existing configuration, nanorc 6 | ==> was installed to /usr/share/nano-syntax-highlighting/nanorc.sample 7 | ==> 8 | ==> To install you should add the languages you want to your nano configuration file /etc/nanorc or ~/.nanorc 9 | ==> $ cat /usr/share/nano-syntax-highlighting/nanorc.sample | xargs -0 echo >> ~/.nanorc 10 | 11 | _EOF 12 | } 13 | 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | -------------------------------------------------------------------------------- /rebase/002-rebaseall-add-python-exts.patch: -------------------------------------------------------------------------------- 1 | --- a/rebaseall.in 2013-02-18 14:04:43.000000000 +0400 2 | +++ b/rebaseall.in 2014-02-28 18:44:17.784400000 +0400 3 | @@ -218,6 +218,7 @@ 4 | # some interpreters include a method for installing addons outside of the 5 | # package manager, such as CPAN and RubyGems. 6 | for d in /usr/lib/perl5/site_perl /usr/lib/py*/site-packages \ 7 | + /usr/lib/py*/lib-dynload \ 8 | /usr/lib/php /usr/lib/R/site-library /usr/lib/rub*/gems \ 9 | /usr/lib/octave/site 10 | do 11 | -------------------------------------------------------------------------------- /tftp-hpa/msysize.patch: -------------------------------------------------------------------------------- 1 | --- tftp-hpa-5.2-orig/configure.in 2014-12-12 13:15:56.678600000 +0300 2 | +++ tftp-hpa-5.2/configure.in 2014-12-12 13:17:06.879400000 +0300 3 | @@ -168,6 +168,13 @@ 4 | *-liberty* ) 5 | LIBS=`echo $LIBS | sed -e 's@-liberty@-lcygwin -liberty@g'` ;; 6 | esac 7 | + ;; 8 | + *-*-msys*) 9 | + case "$LIBS" in 10 | + *-liberty* ) 11 | + LIBS=`echo $LIBS | sed -e 's@-liberty@-lmsys-2.0 -liberty@g'` ;; 12 | + esac 13 | + ;; 14 | esac 15 | 16 | PA_SEARCH_LIBS_AND_ADD(bsd_signal, bsd, bsdsignal) 17 | -------------------------------------------------------------------------------- /gcc/gcc.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="cpp.info cppinternals.info gcc.info gccinstall.info gccint.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /gpgme/gpgme-1.4.2-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur gpgme-1.4.2-cygwin/build-aux/config.guess gpgme-1.4.2/build-aux/config.guess 2 | --- gpgme-1.4.2-cygwin/build-aux/config.guess 2013-10-30 11:19:41.396200000 +0400 3 | +++ gpgme-1.4.2/build-aux/config.guess 2013-10-30 11:20:47.805400000 +0400 4 | @@ -844,6 +844,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | p*:CYGWIN*:*) 12 | echo powerpcle-unknown-cygwin 13 | exit ;; 14 | -------------------------------------------------------------------------------- /fish/config.fish: -------------------------------------------------------------------------------- 1 | # Put system-wide fish configuration entries here 2 | # or in .fish files in conf.d/ 3 | # Files in conf.d can be overridden by the user 4 | # by files with the same name in $XDG_CONFIG_HOME/fish/conf.d 5 | 6 | # This file is run by all fish instances. 7 | # To include configuration only for login shells, use 8 | # if status --is-login 9 | # ... 10 | # end 11 | # To include configuration only for interactive shells, use 12 | # if status --is-interactive 13 | # ... 14 | # end 15 | 16 | if status --is-login 17 | source /etc/fish/msys2.fish 18 | end -------------------------------------------------------------------------------- /flex/flex.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="flex.info flex.info-1 flex.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /gettext/gettext.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gettext.info.gz autosprintf.info.gz" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /libunistring/libunistring.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=libunistring.info 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /perl-DBI/DBI-1.627.patch: -------------------------------------------------------------------------------- 1 | diff -Naur DBI-1.627_94/t/09trace.t DBI-1.627_94/t/09trace.t 2 | --- DBI-1.627_94/t/09trace.t 2013-04-05 02:17:19.000000000 +0400 3 | +++ DBI-1.627_94/t/09trace.t 2013-07-17 08:42:48.167968700 +0400 4 | @@ -37,7 +37,7 @@ 5 | DBI->trace(0, undef); # turn off and restore to STDERR 6 | 7 | SKIP: { 8 | - skip "cygwin has buffer flushing bug", 1 if ($^O =~ /cygwin/i); 9 | + skip "cygwin has buffer flushing bug", 1 if ($^O =~ /cygwin|msys/i); 10 | ok( -s $trace_file, "trace file size = " . -s $trace_file); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /tmux/inherit-msystem-var.patch: -------------------------------------------------------------------------------- 1 | diff --git a/options-table.c b/options-table.c 2 | index f5e973e..29f16f4 100644 3 | --- a/options-table.c 4 | +++ b/options-table.c 5 | @@ -508,7 +508,7 @@ const struct options_table_entry options_table[] = { 6 | .type = OPTIONS_TABLE_ARRAY, 7 | .scope = OPTIONS_TABLE_SESSION, 8 | .default_str = "DISPLAY KRB5CCNAME SSH_ASKPASS SSH_AUTH_SOCK " 9 | - "SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" 10 | + "SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY MSYSTEM" 11 | }, 12 | 13 | { .name = "visual-activity", 14 | -------------------------------------------------------------------------------- /findutils/findutils.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist="find-maint.info find.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /fish/perlbin.fish: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | # Added /usr/bin/*_perl dirs for scripts 4 | # Remove /usr/lib/perl5/*_perl/bin in next release 5 | 6 | function __addpath 7 | set -l p $argv[1] 8 | if test -d $p 9 | set PATH $PATH $p 10 | end 11 | end 12 | 13 | __addpath /usr/bin/site_perl 14 | __addpath /usr/lib/perl5/site_perl/bin 15 | __addpath /usr/bin/vendor_perl 16 | __addpath /usr/lib/perl5/vendor_perl/bin 17 | __addpath /usr/bin/core_perl 18 | 19 | functions -e __addpath -------------------------------------------------------------------------------- /perl-YAML-Syck/msysize.patch: -------------------------------------------------------------------------------- 1 | --- YAML-Syck-1.31/inc/ExtUtils/HasCompiler.pm.orig 2013-11-10 13:42:56.977200000 +0400 2 | +++ YAML-Syck-1.31/inc/ExtUtils/HasCompiler.pm 2013-11-10 13:48:13.062400000 +0400 3 | @@ -104,7 +104,7 @@ 4 | my $lib = '-l' . ($libperl =~ /lib([^.]+)\./)[0]; 5 | push @extra, "$abs_basename.def", $lib, $perllibs; 6 | } 7 | - elsif ($^O eq 'cygwin') { 8 | + elsif ($^O eq 'cygwin' or $^O eq 'msys') { 9 | push @extra, catfile($incdir, $config->get('useshrplib') ? 'libperl.dll.a' : 'libperl.a'); 10 | } 11 | elsif ($^O eq 'aix') { 12 | -------------------------------------------------------------------------------- /perl-ack/0002-ack-2.12-match-makefiles-with-more-generality.patch: -------------------------------------------------------------------------------- 1 | diff -urN ack-v3.0.0.orig/lib/App/Ack/ConfigDefault.pm ack-v.3.0.0/lib/App/Ack/ConfigDefault.pm 2 | --- ack-v3.0.0.orig/lib/App/Ack/ConfigDefault.pm 2013-11-30 18:34:00.000000000 +0000 3 | +++ ack-v.3.0.0/lib/App/Ack/ConfigDefault.pm 2014-04-20 12:19:57.886341400 +0100 4 | @@ -176,6 +176,7 @@ 5 | --type-add=make:is:Makefile.Debug 6 | --type-add=make:is:Makefile.Release 7 | --type-add=make:is:GNUmakefile 8 | +--type-add=make:match:.*(M|m)akefile.* 9 | 10 | # Rakefiles 11 | # http://rake.rubyforge.org/ 12 | -------------------------------------------------------------------------------- /zsh/zsh-doc.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="zsh.info zsh.info-1 zsh.info-2 zsh.info-3 zsh.info-4 zsh.info-5 zsh.info-6" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /groff/groff.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="groff.info groff.info-1 groff.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/${file}.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/${file}.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /diffstat/diffstat-1.62-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur diffstat-1.62/config.guess diffstat-1.62-msys/config.guess 2 | --- diffstat-1.62/config.guess 2013-02-10 14:28:37.000000000 +0000 3 | +++ diffstat-1.62-msys/config.guess 2013-04-10 11:28:19.249023400 +0000 4 | @@ -883,6 +883,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | prep*:SunOS:5.*:*) 12 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" 13 | exit ;; 14 | -------------------------------------------------------------------------------- /perl-Sys-CPU/0001-Cygwin-is-as-per-Windows.patch: -------------------------------------------------------------------------------- 1 | diff -urN Sys-CPU-0.61.orig/CPU.xs Sys-CPU-0.61/CPU.xs 2 | --- Sys-CPU-0.61.orig/CPU.xs 2015-01-19 21:41:05.230451600 +0000 3 | +++ Sys-CPU-0.61/CPU.xs 2015-01-19 21:41:08.702650200 +0000 4 | @@ -11,7 +11,7 @@ 5 | **************************************************************************************/ 6 | 7 | #define MAX_IDENT_SIZE 256 8 | -#if defined(_WIN32) || defined(WIN32) 9 | +#if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) 10 | #define _have_cpu_type 11 | #define _have_cpu_clock 12 | #define WINDOWS 13 | -------------------------------------------------------------------------------- /unzip/unzip-6.0-symlink.patch: -------------------------------------------------------------------------------- 1 | diff --git a/process.c b/process.c 2 | index 1e9a1e1..905732b 100644 3 | --- a/process.c 4 | +++ b/process.c 5 | @@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G) /* return PK-type error code */ 6 | = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11); 7 | #endif 8 | 9 | +#ifdef SYMLINKS 10 | + /* Initialize the symlink flag, may be set by the platform-specific 11 | + mapattr function. */ 12 | + G.pInfo->symlink = 0; 13 | +#endif 14 | + 15 | return PK_COOL; 16 | 17 | } /* end function process_cdir_file_hdr() */ 18 | -------------------------------------------------------------------------------- /lftp/lftp-correct-gettext-macros.patch: -------------------------------------------------------------------------------- 1 | --- lftp-4.7.3/configure.ac.orig 2016-10-25 09:21:36.467149200 +0300 2 | +++ lftp-4.7.3/configure.ac 2016-10-25 09:21:41.308158000 +0300 3 | @@ -138,7 +138,7 @@ 4 | 5 | ALL_LINGUAS="de es fr it ja ko pl pt_BR ru uk zh_CN zh_TW zh_HK cs" 6 | AM_GNU_GETTEXT([external]) 7 | -AM_GNU_GETTEXT_VERSION([0.15]) 8 | +AM_GNU_GETTEXT_VERSION([0.19]) 9 | test "$MSGFMT" = "no" && MSGFMT ="$missing_dir/missing msgfmt" 10 | test "$GMSGFMT" = "no" && GMSGFMT ="$missing_dir/missing msgfmt" 11 | test "$XGETTEXT" = ":" && XGETTEXT="$missing_dir/missing xgettext" 12 | -------------------------------------------------------------------------------- /automake1.9/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.9.info automake1.9.info-1 automake1.9.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /bzip2/bzip2-1.0.6-msys-dll.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile-libbz2_so 2 | +++ b/Makefile-libbz2_so 3 | @@ -35,10 +35,8 @@ 4 | bzlib.o 5 | 6 | all: $(OBJS) 7 | - $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS) 8 | - $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.8 9 | - rm -f libbz2.so.1.0 10 | - ln -s libbz2.so.1.0.8 libbz2.so.1.0 11 | + $(CC) $(CFLAGS) -shared -Wl,--out-implib -Wl,libbz2.dll.a -o msys-bz2-1.dll $(OBJS) 12 | + $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.dll.a 13 | 14 | clean: 15 | rm -f $(OBJS) bzip2.o libbz2.so.1.0.8 libbz2.so.1.0 bzip2-shared 16 | -------------------------------------------------------------------------------- /libyaml/yaml-0.1.7-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -durN yaml-0.1.7.orig/config/config.guess yaml-0.1.7/config/config.guess 2 | --- yaml-0.1.7.orig/config/config.guess 2017-05-12 11:17:41.015625000 +0800 3 | +++ yaml-0.1.7/config/config.guess 2017-05-12 11:35:35.640625000 +0800 4 | @@ -867,6 +867,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | prep*:SunOS:5.*:*) 12 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" 13 | exit ;; 14 | -------------------------------------------------------------------------------- /perl-IPC-Run3/IPC-Run3-0.045.patch: -------------------------------------------------------------------------------- 1 | diff -Naur IPC-Run3-0.046/t/fork.t IPC-Run3-0.046/t/fork.t 2 | --- IPC-Run3-0.046/t/fork.t 2009-01-15 15:28:27.000000000 +0000 3 | +++ IPC-Run3-0.046/t/fork.t 2013-06-16 15:27:23.818914100 +0000 4 | @@ -2,7 +2,7 @@ 5 | 6 | use Test::More; 7 | plan skip_all => "Test::More 0.31 required for no_ending()" if $Test::More::VERSION <= 0.31; 8 | -plan skip_all => "tests fail on Win32 and Cygwin" if $^O =~ /^(MSWin32|cygwin)$/; 9 | +plan skip_all => "tests fail on Win32 and Cygwin" if $^O =~ /^(MSWin32|cygwin|msys)$/; 10 | plan tests => 5; 11 | 12 | use IPC::Run3; 13 | -------------------------------------------------------------------------------- /vim/pretend-cygwin-msys.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/configure.ac b/src/configure.ac-patched 2 | index ff1f482..b99c7e2 100644 3 | --- a/src/configure.ac 4 | +++ b/src/configure.ac-patched 5 | @@ -618,6 +618,8 @@ 6 | fi 7 | if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then 8 | vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll" 9 | + elif test -f "${vi_cv_path_lua_pfx}/bin/msys-lua-${vi_cv_version_lua}.dll"; then 10 | + vi_cv_dll_name_lua="msys-lua-${vi_cv_version_lua}.dll" 11 | else 12 | if test "x$MACOSX" = "xyes"; then 13 | ext="dylib" 14 | -------------------------------------------------------------------------------- /automake1.10/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.10.info automake1.10.info-1 automake1.10.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.11/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.11.info automake1.11.info-1 automake1.11.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /cyrus-sasl/03-fix-plugins.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | From: David Rothenberger 4 | 5 | 6 | --- 7 | common/plugin_common.h | 2 +- 8 | 1 files changed, 1 insertions(+), 1 deletions(-) 9 | 10 | diff --git a/common/plugin_common.h b/common/plugin_common.h 11 | index 0f75897..3e844c7 100644 12 | --- a/common/plugin_common.h 13 | +++ b/common/plugin_common.h 14 | @@ -63,7 +63,7 @@ 15 | #include 16 | #include 17 | 18 | -#ifdef WIN32 19 | +#if defined(WIN32) || defined(__CYGWIN__) 20 | #define PLUG_API __declspec(dllexport) 21 | #else 22 | #define PLUG_API extern 23 | -------------------------------------------------------------------------------- /git/git-zsh-completion-fixes.patch: -------------------------------------------------------------------------------- 1 | --- 2 | contrib/completion/git-completion.zsh | 1 + 3 | 1 file changed, 1 insertion(+) 4 | 5 | --- a/contrib/completion/git-completion.zsh 6 | +++ b/contrib/completion/git-completion.zsh 7 | @@ -31,6 +31,7 @@ if [ -z "$script" ]; then 8 | local e 9 | locations=( 10 | $(dirname ${funcsourcetrace[1]%:*})/git-completion.bash 11 | + '/etc/bash_completion.d/git.sh' # suse 12 | '/etc/bash_completion.d/git' # fedora, old debian 13 | '/usr/share/bash-completion/completions/git' # arch, ubuntu, new debian 14 | '/usr/share/bash-completion/git' # gentoo 15 | -------------------------------------------------------------------------------- /mingw-w64-cross-conemu-git/0007-ConEmuHk-makefile_gcc.patch: -------------------------------------------------------------------------------- 1 | diff -durN conemu.orig/src/ConEmuHK/makefile_gcc conemu/src/ConEmuHK/makefile_gcc 2 | --- conemu.orig/src/ConEmuHK/makefile_gcc 2017-05-28 21:08:05.281250000 +0800 3 | +++ conemu/src/ConEmuHK/makefile_gcc 2017-05-28 22:46:11.828125000 +0800 4 | @@ -57,6 +57,7 @@ 5 | ../common/WObjects.cpp \ 6 | ../common/WThreads.cpp \ 7 | ../common/WUser.cpp \ 8 | + ../common/WSession.cpp \ 9 | ../modules/minhook/src/buffer.c \ 10 | ../modules/minhook/src/hook.c \ 11 | ../modules/minhook/src/trampoline.c \ 12 | -------------------------------------------------------------------------------- /gdbm/gdbm-1.10-zeroheaders.patch: -------------------------------------------------------------------------------- 1 | diff -Naur gdbm-1.15.orig/src/gdbmopen.c gdbm-1.15/src/gdbmopen.c 2 | --- gdbm-1.15.orig/src/gdbmopen.c 2018-05-06 21:50:23.243439700 -0400 3 | +++ gdbm-1.15/src/gdbmopen.c 2018-05-07 14:15:12.620590400 -0400 4 | @@ -656,7 +656,7 @@ 5 | for (index = 0; index < size; index++) 6 | { 7 | (dbf->bucket_cache[index]).ca_bucket = 8 | - malloc (dbf->header->bucket_size); 9 | + calloc (1, dbf->header->bucket_size); 10 | if ((dbf->bucket_cache[index]).ca_bucket == NULL) 11 | { 12 | GDBM_SET_ERRNO (dbf, GDBM_MALLOC_ERROR, TRUE); -------------------------------------------------------------------------------- /heimdal/1.5.2-install-catman.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/heimdal-1.5.2/cf/install-catman.sh 2012-01-10 15:53:51.000000000 -0600 2 | +++ src/heimdal-1.5.2/cf/install-catman.sh 2012-01-25 20:22:35.502695800 -0600 3 | @@ -38,8 +38,9 @@ for f in "$@"; do 4 | fi 5 | if test "$cmd" = install ; then 6 | target="$mandir/$link.$section" 7 | - for lncmd in "ln -f $mandir/$base.$section $target" \ 8 | + for lncmd in \ 9 | "ln -s $base.$section $target" \ 10 | + "ln -f $mandir/$base.$section $target" \ 11 | "cp -f $mandir/$base.$section $target" 12 | do 13 | if eval "$lncmd"; then 14 | -------------------------------------------------------------------------------- /perl-Authen-SASL/Authen-SASL-2.16.patch: -------------------------------------------------------------------------------- 1 | diff -Naur Authen-SASL-2.16/inc/Module/Install/Can.pm.orig Authen-SASL-2.16/inc/Module/Install/Can.pm 2 | --- Authen-SASL-2.16/inc/Module/Install/Can.pm.orig 2012-07-13 18:18:19.000000000 +0000 3 | +++ Authen-SASL-2.16/inc/Module/Install/Can.pm 2013-06-16 16:04:01.880437500 +0000 4 | @@ -132,7 +132,7 @@ 5 | } 6 | 7 | # Fix Cygwin bug on maybe_command(); 8 | -if ( $^O eq 'cygwin' ) { 9 | +if ( $^O eq 'cygwin' or $^O eq 'msys' ) { 10 | require ExtUtils::MM_Cygwin; 11 | require ExtUtils::MM_Win32; 12 | if ( ! defined(&ExtUtils::MM_Cygwin::maybe_command) ) { 13 | -------------------------------------------------------------------------------- /python/027-install-import-library.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.2/Makefile.pre.in.orig 2020-04-16 14:57:03.823588900 +0300 2 | +++ Python-3.8.2/Makefile.pre.in 2020-04-16 15:06:58.593432800 +0300 3 | @@ -1235,6 +1235,7 @@ 4 | if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \ 5 | if test -n "$(DLLLIBRARY)" ; then \ 6 | $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \ 7 | + $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBDIR); \ 8 | else \ 9 | $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \ 10 | if test $(LDLIBRARY) != $(INSTSONAME); then \ 11 | -------------------------------------------------------------------------------- /apr/tests-disable_testproc.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | From: David Rothenberger 4 | 5 | 6 | --- 7 | test/abts_tests.h | 2 ++ 8 | 1 files changed, 2 insertions(+), 0 deletions(-) 9 | 10 | diff --git a/test/abts_tests.h b/test/abts_tests.h 11 | index 13d8b4e..65a4cbb 100644 12 | --- a/test/abts_tests.h 13 | +++ b/test/abts_tests.h 14 | @@ -51,7 +51,9 @@ const struct testlist { 15 | {testpipe}, 16 | {testpoll}, 17 | {testpool}, 18 | +#if ! defined CYGWIN || ! defined MSYS 19 | {testproc}, 20 | +#endif 21 | {testprocmutex}, 22 | {testrand}, 23 | {testsleep}, 24 | -------------------------------------------------------------------------------- /cmake/disable-curses-for-msys.patch: -------------------------------------------------------------------------------- 1 | diff -aur cmake-3.5.2/CMakeLists.txt.orig-2 cmake-3.5.2/CMakeLists.txt 2 | --- cmake-3.5.2/CMakeLists.txt.orig-2 2016-05-22 15:54:50.164818300 -0400 3 | +++ cmake-3.5.2/CMakeLists.txt 2016-05-22 15:54:50.186949300 -0400 4 | @@ -454,7 +454,7 @@ 5 | 6 | #--------------------------------------------------------------------- 7 | # Use curses? 8 | - if (UNIX) 9 | + if (UNIX AND NOT MSYS) 10 | # there is a bug in the Syllable libraries which makes linking ccmake fail, Alex 11 | if(NOT CMAKE_SYSTEM_NAME MATCHES syllable) 12 | set(CURSES_NEED_NCURSES TRUE) 13 | -------------------------------------------------------------------------------- /gcc/0030-newlib-ftm.patch: -------------------------------------------------------------------------------- 1 | --- gcc-6.4.0/gcc/glimits.h 2016-01-04 08:30:50.652828000 -0600 2 | +++ gcc-6.4.0/gcc/glimits.h 2017-11-13 18:46:28.887539100 -0600 3 | @@ -111,7 +111,7 @@ 4 | # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 5 | #endif 6 | 7 | -#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__) 8 | +#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : defined (__NEWLIB__) ? __GNU_VISIBLE : !defined (__STRICT_ANSI__) 9 | /* Minimum and maximum values a `signed long long int' can hold. */ 10 | # undef LONG_LONG_MIN 11 | # define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL) 12 | -------------------------------------------------------------------------------- /pacman-mirrors/mirrorlist.msys: -------------------------------------------------------------------------------- 1 | ## 2 | ## MSYS2 repository mirrorlist 3 | ## 4 | 5 | ## Primary 6 | ## msys2.org 7 | Server = http://repo.msys2.org/msys/$arch/ 8 | Server = https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/$arch/ 9 | Server = https://www2.futureware.at/~nickoe/msys2-mirror/msys/$arch/ 10 | Server = https://mirror.yandex.ru/mirrors/msys2/msys/$arch/ 11 | Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch/ 12 | Server = http://mirrors.ustc.edu.cn/msys2/msys/$arch/ 13 | Server = http://mirror.bit.edu.cn/msys2/msys/$arch/ 14 | Server = https://mirror.selfnet.de/msys2/msys/$arch/ 15 | -------------------------------------------------------------------------------- /gengetopt/msysize.patch: -------------------------------------------------------------------------------- 1 | diff -Naur gengetopt-2.22.6-orig/build-aux/config.guess gengetopt-2.22.6/build-aux/config.guess 2 | --- gengetopt-2.22.6-orig/build-aux/config.guess 2012-11-02 17:28:51.000000000 +0400 3 | +++ gengetopt-2.22.6/build-aux/config.guess 2014-07-18 00:44:23.362400000 +0400 4 | @@ -844,6 +844,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | prep*:SunOS:5.*:*) 12 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" 13 | exit ;; -------------------------------------------------------------------------------- /getent/msysize.patch: -------------------------------------------------------------------------------- 1 | --- configure.ac.orig 2017-01-28 19:26:38.253796500 +0100 2 | +++ configure.ac 2017-01-28 19:53:12.562170100 +0100 3 | @@ -8,7 +8,7 @@ 4 | AC_PROG_INSTALL 5 | 6 | case "${target}" in 7 | - *-cygwin) 8 | + *-msys) 9 | ;; 10 | *) 11 | echo "The only supported target is cygwin." 12 | @@ -16,7 +16,7 @@ 13 | ;; 14 | esac 15 | 16 | -AC_CHECK_TOOL(CC, ${target_cpu}-pc-cygwin-gcc, ${target_cpu}-pc-cygwin-gcc) 17 | +AC_CHECK_TOOL(CC, ${target_cpu}-pc-msys-gcc, ${target_cpu}-pc-msys-gcc) 18 | if test -z "$CC"; then 19 | AC_CHECK_TOOL(CC, gcc, gcc) 20 | if test -z "$CC"; then 21 | -------------------------------------------------------------------------------- /glib2/2.36.3-visibility.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/glib-2.36.3/configure.ac 2013-08-04 18:11:14.140206800 -0500 2 | +++ src/glib-2.36.3/configure.ac 2013-08-04 18:30:21.852852200 -0500 3 | @@ -3584,7 +3584,7 @@ dnl visibility attributes for symbol exp 4 | dnl 5 | GLIB_HIDDEN_VISIBILITY_CFLAGS="" 6 | case "$host" in 7 | - *-*-mingw*) 8 | + *-*-cygwin*|*-*-mingw*) 9 | dnl on mingw32 we do -fvisibility=hidden and __declspec(dllexport) 10 | AC_DEFINE([_GLIB_EXTERN], [__attribute__((visibility("default"))) __declspec(dllexport) extern], 11 | [defines how to decorate public symbols while building]) 12 | -------------------------------------------------------------------------------- /libedit/libedit-3.0-20120311-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur libedit-20120311-3.0-orig/config.guess libedit-20120311-3.0/config.guess 2 | --- libedit-20120311-3.0-orig/config.guess 2012-03-11 22:01:33.000000000 +0000 3 | +++ libedit-20120311-3.0/config.guess 2013-04-26 16:07:04.552734300 +0000 4 | @@ -846,6 +846,9 @@ 5 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 6 | echo x86_64-unknown-cygwin 7 | exit ;; 8 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 9 | + echo x86_64-unknown-msys 10 | + exit ;; 11 | prep*:SunOS:5.*:*) 12 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" 13 | exit ;; 14 | -------------------------------------------------------------------------------- /mingw-w64-cross-conemu-git/0005-ConEmuC.cpp.patch: -------------------------------------------------------------------------------- 1 | diff --git conemu.orig/src/ConEmuC/ConEmuC.cpp conemu/src/ConEmuC/ConEmuC.cpp 2 | index 19d6a56..a4d5e1f 100644 3 | --- conemu.orig/src/ConEmuC/ConEmuC.cpp 4 | +++ conemu/src/ConEmuC/ConEmuC.cpp 5 | @@ -215,7 +215,7 @@ int DoParseArgs(LPCWSTR asCmdLine) 6 | #define HL(fore) Highlighter hl(hOut, csbi.wAttributes, fore) 7 | 8 | #if defined(__GNUC__) 9 | - lstrcpyn(szCLVer, "GNUC"); 10 | + lstrcpyA(szCLVer, "GNUC"); 11 | #elif defined(_MSC_VER) 12 | _wsprintfA(szCLVer, SKIPCOUNT(szCLVer) "VC %u.%u", (int)(_MSC_VER / 100), (int)(_MSC_VER % 100)); 13 | #else 14 | -------------------------------------------------------------------------------- /perl-Devel-GlobalDestruction/01-msysize.patch: -------------------------------------------------------------------------------- 1 | --- Devel-GlobalDestruction-0.14/inc/ExtUtils/HasCompiler.pm.orig 2019-09-30 15:57:14.367607800 +0300 2 | +++ Devel-GlobalDestruction-0.14/inc/ExtUtils/HasCompiler.pm 2019-09-30 15:57:47.767266500 +0300 3 | @@ -113,7 +113,7 @@ 4 | my $lib = '-l' . ($libperl =~ /lib([^.]+)\./)[0]; 5 | push @extra, "$abs_basename.def", $lib, $perllibs; 6 | } 7 | - elsif ($^O eq 'cygwin') { 8 | + elsif ($^O eq 'cygwin' || $^O eq 'msys') { 9 | push @extra, catfile($incdir, $config->get('useshrplib') ? 'libperl.dll.a' : 'libperl.a'); 10 | } 11 | elsif ($^O eq 'aix') { 12 | -------------------------------------------------------------------------------- /procps-ng/procps-ng-3.3.12-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur procps-ng-3.3.12-orig/configure.ac procps-ng-3.3.12/configure.ac 2 | --- procps-ng-3.3.12-orig/configure.ac 2016-07-10 05:49:25.000000000 +0800 3 | +++ procps-ng-3.3.12/configure.ac 2016-10-26 16:29:11.941814400 +0800 4 | @@ -169,6 +169,7 @@ 5 | AM_CONDITIONAL(BUILD_KILL, test "x$enable_kill" = xyes) 6 | AM_CONDITIONAL(LINUX, test "x$host_os" = xlinux-gnu) 7 | AM_CONDITIONAL(CYGWIN, test "x$host_os" = xcygwin) 8 | +AM_CONDITIONAL(CYGWIN, test "x$host_os" = xmsys) 9 | 10 | AC_ARG_ENABLE([skill], 11 | AS_HELP_STRING([--enable-skill], [build skill and snice]), 12 | -------------------------------------------------------------------------------- /automake1.16/automake-1.16.1-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur automake-1.16-orig/t/compile5.sh automake-1.16/t/compile5.sh 2 | --- automake-1.16-orig/t/compile5.sh 2014-12-30 16:49:41.000000000 +0300 3 | +++ automake-1.16/t/compile5.sh 2015-01-07 10:48:12.160000000 +0300 4 | @@ -47,11 +47,11 @@ 5 | ;; 6 | esac 7 | case @build_os@ in 8 | - mingw* | cygwin*) 9 | + mingw* | cygwin* | msys*) 10 | ;; 11 | *) 12 | winepath -w / \ 13 | - || skip_ "not on MinGW or Cygwin, and winepath not available" 14 | + || skip_ "not on MinGW or Cygwin or MSYS, and winepath not available" 15 | ;; 16 | esac 17 | END 18 | -------------------------------------------------------------------------------- /gnutls/libgnutls.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gnutls.info-1 gnutls.info-2 gnutls.info-3 gnutls.info-4 gnutls.info-5 gnutls.info-6 gnutls.info gnutls-guile.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/${file}.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/${file}.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /icmake/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: LoveSy 2 | 3 | pkgname=icmake 4 | pkgver=9.03.01 5 | pkgrel=1 6 | pkgdesc='A program maintenance (make) utility using a C-like grammar' 7 | arch=('i686' 'x86_64') 8 | url='https://fbb-git.gitlab.io/icmake/' 9 | license=('GPL3') 10 | source=("${pkgname}::git+https://gitlab.com/fbb-git/icmake.git#tag=${pkgver}") 11 | sha256sums=('SKIP') 12 | 13 | build() { 14 | cd "${srcdir}/${pkgname}/${pkgname}" 15 | 16 | ./icm_prepare / 17 | ./icm_bootstrap / 18 | } 19 | 20 | package() { 21 | cd "${srcdir}/${pkgname}/${pkgname}" 22 | 23 | ./icm_install all "${pkgdir}" 24 | } 25 | -------------------------------------------------------------------------------- /python/026-3.7-mpdec-msys.patch: -------------------------------------------------------------------------------- 1 | diff -Naur Python-3.8.0-orig/setup.py Python-3.8.0/setup.py 2 | --- Python-3.8.0-orig/setup.py 2019-10-22 10:04:50.085546300 +0300 3 | +++ Python-3.8.0/setup.py 2019-10-22 10:04:54.016753200 +0300 4 | @@ -2165,7 +2165,7 @@ 5 | undef_macros = [] 6 | if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"): 7 | include_dirs = [] 8 | - libraries = [':libmpdec.so.2'] 9 | + libraries = [':libmpdec.dll.a'] 10 | sources = ['_decimal/_decimal.c'] 11 | depends = ['_decimal/docstrings.h'] 12 | else: 13 | -------------------------------------------------------------------------------- /automake1.12/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.12.info automake1.12.info-1 automake1.12.info-2 automake-history1.12.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.13/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.13.info automake1.13.info-1 automake1.13.info-2 automake-history1.13.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.14/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.14.info automake1.14.info-1 automake1.14.info-2 automake-history1.14.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.15/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.15.info automake1.15.info-1 automake1.15.info-2 automake-history1.15.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /automake1.16/automake.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="automake1.16.info automake1.16.info-1 automake1.16.info-2 automake-history1.16.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | # vim:set ts=2 sw=2 et: 23 | -------------------------------------------------------------------------------- /mercurial/mercurial-4.3.1-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur mercurial-5.2-orig/mercurial/posix.py mercurial-5.2/mercurial/posix.py 2 | --- mercurial-5.2-orig/mercurial/posix.py 2013-05-14 23:43:40.000000000 +0000 3 | +++ mercurial-5.2/mercurial/posix.py 2013-05-16 09:11:10.796875000 +0000 4 | @@ -468,7 +468,7 @@ 5 | return encoding.hfsignoreclean(enc) 6 | 7 | 8 | -if pycompat.sysplatform == b'cygwin': 9 | +if pycompat.sysplatform in [b'cygwin', b'msys']: 10 | # workaround for cygwin, in which mount point part of path is 11 | # treated as case sensitive, even though underlying NTFS is case 12 | # insensitive. 13 | -------------------------------------------------------------------------------- /mingw-w64-cross-gcc/0030-newlib-ftm.patch: -------------------------------------------------------------------------------- 1 | --- gcc-6.4.0/gcc/glimits.h 2016-01-04 08:30:50.652828000 -0600 2 | +++ gcc-6.4.0/gcc/glimits.h 2017-11-13 18:46:28.887539100 -0600 3 | @@ -111,7 +111,7 @@ 4 | # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 5 | #endif 6 | 7 | -#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__) 8 | +#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : defined (__NEWLIB__) ? __GNU_VISIBLE : !defined (__STRICT_ANSI__) 9 | /* Minimum and maximum values a `signed long long int' can hold. */ 10 | # undef LONG_LONG_MIN 11 | # define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL) 12 | -------------------------------------------------------------------------------- /pacman-mirrors/mirrorlist.mingw32: -------------------------------------------------------------------------------- 1 | ## 2 | ## 32-bit Mingw-w64 repository mirrorlist 3 | ## 4 | 5 | ## Primary 6 | ## msys2.org 7 | Server = http://repo.msys2.org/mingw/i686/ 8 | Server = https://sourceforge.net/projects/msys2/files/REPOS/MINGW/i686/ 9 | Server = https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/ 10 | Server = https://mirror.yandex.ru/mirrors/msys2/mingw/i686/ 11 | Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/ 12 | Server = http://mirrors.ustc.edu.cn/msys2/mingw/i686/ 13 | Server = http://mirror.bit.edu.cn/msys2/mingw/i686/ 14 | Server = https://mirror.selfnet.de/msys2/mingw/i686/ 15 | -------------------------------------------------------------------------------- /libpsl/0.16.1-make-dafsa-setlocale.patch: -------------------------------------------------------------------------------- 1 | --- libpsl-0.16.1/src/psl-make-dafsa 2016-12-12 04:11:05.000000000 -0600 2 | +++ libpsl-0.16.1/src/psl-make-dafsa 2016-12-15 16:05:03.145989800 -0600 3 | @@ -224,6 +224,7 @@ import sys 4 | import os.path 5 | import time 6 | import hashlib 7 | +import locale 8 | 9 | class InputError(Exception): 10 | """Exception raised for errors in the input file.""" 11 | @@ -633,6 +634,8 @@ def main(): 12 | if len(sys.argv) < 3: 13 | usage() 14 | 15 | + locale.setlocale(locale.LC_CTYPE, 'C.UTF-8') 16 | + 17 | converter = words_to_cxx 18 | parser = parse_psl 19 | utf_mode = True 20 | -------------------------------------------------------------------------------- /libxml2/libxml2-python.install: -------------------------------------------------------------------------------- 1 | PYTHON_SITELIB=usr/lib/python2.7/site-packages 2 | PYTHON_LIB=usr/lib/python2.7 3 | 4 | python_optimize() { 5 | local pyd 6 | 7 | for pyd in "${@:-${PYTHON_SITELIB}}" 8 | do 9 | if [ ! -d ${pyd} ] 10 | then 11 | echo "Error: directory ${pyd} does not exist" 12 | fi 13 | 14 | echo "Compiling ${pyd}..." 15 | usr/bin/python2 ${PYTHON_LIB}/compileall.py -f -q -d ${pyd} ${pyd} 16 | usr/bin/python2 -OO ${PYTHON_LIB}/compileall.py -f -q -d ${pyd} ${pyd} 17 | done 18 | } 19 | 20 | post_install() { 21 | python_optimize 22 | 23 | rm -f ${PYTHON_SITELIB}/*.a 24 | } 25 | -------------------------------------------------------------------------------- /python/007-3.8-dbm-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.0a3-orig/setup.py 2019-03-29 13:42:31.711914000 -0400 2 | +++ Python-3.8.0a3/setup.py 2019-03-29 13:40:09.958984300 -0400 3 | @@ -1208,7 +1208,7 @@ class PyBuildExt(build_ext): 4 | dbm_setup_debug = False # verbose debug prints from this script? 5 | dbm_order = ['gdbm'] 6 | # The standard Unix dbm module: 7 | - if not CYGWIN: 8 | + if not MS_WINDOWS: 9 | config_args = [arg.strip("'") 10 | for arg in sysconfig.get_config_var("CONFIG_ARGS").split()] 11 | dbm_args = [arg for arg in config_args 12 | -------------------------------------------------------------------------------- /libassuan/libassuan.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="assuan.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | local oldIFS=$IFS 7 | IFS=" " 8 | for file in ${filelist}; do 9 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 10 | done 11 | IFS=$oldIFS 12 | } 13 | 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | 18 | pre_remove() { 19 | [ -x usr/bin/install-info ] || return 0 20 | local oldIFS=$IFS 21 | IFS=" " 22 | for file in ${filelist}; do 23 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 24 | done 25 | IFS=$oldIFS 26 | } 27 | -------------------------------------------------------------------------------- /libidn/libidn.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files="libidn.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | local oldIFS=$IFS 7 | IFS=" " 8 | for file in ${info_files}; do 9 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 10 | done 11 | IFS=$oldIFS 12 | } 13 | 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | 18 | pre_remove() { 19 | [ -x usr/bin/install-info ] || return 0 20 | local oldIFS=$IFS 21 | IFS=" " 22 | for file in ${info_files}; do 23 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 24 | done 25 | IFS=$oldIFS 26 | } 27 | -------------------------------------------------------------------------------- /libidn2/libidn2.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files="libidn2.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | local oldIFS=$IFS 7 | IFS=" " 8 | for file in ${info_files}; do 9 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 10 | done 11 | IFS=$oldIFS 12 | } 13 | 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | 18 | pre_remove() { 19 | [ -x usr/bin/install-info ] || return 0 20 | local oldIFS=$IFS 21 | IFS=" " 22 | for file in ${info_files}; do 23 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 24 | done 25 | IFS=$oldIFS 26 | } 27 | -------------------------------------------------------------------------------- /pacman-mirrors/mirrorlist.mingw64: -------------------------------------------------------------------------------- 1 | ## 2 | ## 64-bit Mingw-w64 repository mirrorlist 3 | ## 4 | 5 | ## Primary 6 | ## msys2.org 7 | Server = http://repo.msys2.org/mingw/x86_64/ 8 | Server = https://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64/ 9 | Server = https://www2.futureware.at/~nickoe/msys2-mirror/mingw/x86_64/ 10 | Server = https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/ 11 | Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64/ 12 | Server = http://mirrors.ustc.edu.cn/msys2/mingw/x86_64/ 13 | Server = http://mirror.bit.edu.cn/msys2/mingw/x86_64/ 14 | Server = https://mirror.selfnet.de/msys2/mingw/x86_64/ 15 | -------------------------------------------------------------------------------- /tcl/tcl-8.5.18-msysize.patch: -------------------------------------------------------------------------------- 1 | --- tcl8.5.18/unix/tcl.m4.orig 2015-07-04 09:32:09.729600000 +0300 2 | +++ tcl8.5.18/unix/tcl.m4 2015-07-04 09:32:54.064800000 +0300 3 | @@ -1236,7 +1236,7 @@ 4 | CC_SEARCH_FLAGS="" 5 | LD_SEARCH_FLAGS="" 6 | ;; 7 | - CYGWIN_*) 8 | + CYGWIN_*|MSYS_*) 9 | SHLIB_CFLAGS="" 10 | SHLIB_LD='${CC} -shared' 11 | SHLIB_SUFFIX=".dll" 12 | @@ -2064,7 +2064,7 @@ 13 | case $system in 14 | AIX-*) ;; 15 | BSD/OS*) ;; 16 | - CYGWIN_*|MINGW32_*) ;; 17 | + CYGWIN_*|MSYS_*|MINGW32_*) ;; 18 | IRIX*) ;; 19 | NetBSD-*|FreeBSD-*|OpenBSD-*) ;; 20 | Darwin-*) ;; 21 | -------------------------------------------------------------------------------- /zsh/msys-symlink-hack.patch: -------------------------------------------------------------------------------- 1 | --- zsh-5.0.7/Src/zsh_system.h.old 2014-12-28 03:55:04.657231300 +0900 2 | +++ zsh-5.0.7/Src/zsh_system.h 2014-12-28 04:07:32.618012200 +0900 3 | @@ -784,6 +784,13 @@ 4 | # define IS_DIRSEP(c) ((c) == '/') 5 | #endif 6 | 7 | +#ifdef __MSYS__ 8 | +/* MSYS2 Hack! MSYS2 symlink() cannot create a symbolic link to a non existing files */ 9 | +# ifdef HAVE_SYMLINK 10 | +# undef HAVE_SYMLINK 11 | +# endif 12 | +#endif 13 | + 14 | #if defined(__GNUC__) && (!defined(__APPLE__) || defined(__clang__)) 15 | /* Does the OS X port of gcc still gag on __attribute__? */ 16 | #define UNUSED(x) x __attribute__((__unused__)) 17 | -------------------------------------------------------------------------------- /gnome-doc-utils/0.18.0-abs_top_srcdir.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/gnome-doc-utils-0.18.0/bootstrap.make 2009-09-07 19:38:59.000000000 -0500 2 | +++ src/gnome-doc-utils-0.18.0/bootstrap.make 2009-10-26 23:19:25.335732900 -0500 3 | @@ -1,4 +1,4 @@ 4 | -_xml2po = PYTHONPATH="$(shell pwd)/$(top_builddir)/xml2po:$(shell pwd)/$(top_srcdir)/xml2po:$(PYTHONPATH)" "$(shell pwd)/$(top_builddir)/xml2po/xml2po/xml2po" 5 | +_xml2po = PYTHONPATH="$(abs_top_builddir)/xml2po:$(abs_top_srcdir)/xml2po:$(PYTHONPATH)" "$(abs_top_builddir)/xml2po/xml2po/xml2po" 6 | 7 | _db2html = $(top_srcdir)/xslt/docbook/html/db2html.xsl 8 | _db2omf = $(top_srcdir)/xslt/docbook/omf/db2omf.xsl 9 | -------------------------------------------------------------------------------- /libxslt/libxslt-python.install: -------------------------------------------------------------------------------- 1 | PYTHON_SITELIB=usr/lib/python2.7/site-packages 2 | PYTHON_LIB=usr/lib/python2.7 3 | 4 | python_optimize() { 5 | local pyd 6 | 7 | for pyd in "${@:-${PYTHON_SITELIB}}" 8 | do 9 | if [ ! -d ${D}${pyd} ] 10 | then 11 | echo "Error: directory ${pyd} does not exist" 12 | fi 13 | 14 | echo "Compiling ${pyd}..." 15 | usr/bin/python2 ${PYTHON_LIB}/compileall.py -f -q -d ${pyd} ${D}${pyd} 16 | usr/bin/python2 -OO ${PYTHON_LIB}/compileall.py -f -q -d ${pyd} ${D}${pyd} 17 | done 18 | } 19 | 20 | post_install() { 21 | python_optimize 22 | 23 | rm -f ${PYTHON_SITELIB}/*.a 24 | } 25 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.19-comp.patch: -------------------------------------------------------------------------------- 1 | --- cvs-1.11.19/src/rcs.c.old 2005-03-17 11:21:18.000000000 +0100 2 | +++ cvs-1.11.19/src/rcs.c 2005-03-17 11:21:56.000000000 +0100 3 | @@ -138,7 +138,7 @@ 4 | string comparisons. This macro speeds things up a bit by skipping 5 | the function call when the first characters are different. It 6 | evaluates its arguments multiple times. */ 7 | -#define STREQ(a, b) (*(char *)(a) == *(char *)(b) && strcmp ((a), (b)) == 0) 8 | +#define STREQ(a, b) ((a) != NULL && (b) != NULL && *(char *)(a) == *(char *)(b) && strcmp ((a), (b)) == 0) 9 | 10 | /* 11 | * We don't want to use isspace() from the C library because: 12 | -------------------------------------------------------------------------------- /make-git/0002-no-symlinks-test.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tests/scripts/options/symlinks b/tests/scripts/options/symlinks 2 | index bf8a892..7532f7f 100644 3 | --- a/tests/scripts/options/symlinks 4 | +++ b/tests/scripts/options/symlinks 5 | @@ -10,7 +10,7 @@ $details = "Verify that symlink handling with and without -L works properly."; 6 | # (in that the symlink() function doesn't fail) but it really doesn't, so 7 | # check for it explicitly. 8 | 9 | -if ($port_type eq 'W32' || !( eval { symlink("",""); 1 })) { 10 | +if ($port_type eq 'W32' || $osname =~ /msys/i || !( eval { symlink("",""); 1 })) { 11 | # This test is N/A 12 | return -1; 13 | } 14 | -------------------------------------------------------------------------------- /pkg-config/fix-glib-gettext-m4-error.patch: -------------------------------------------------------------------------------- 1 | --- a/glib/m4macros/glib-gettext.m4.orig 2016-08-30 17:11:06.937292400 +0200 2 | +++ b/glib/m4macros/glib-gettext.m4 2016-08-30 17:11:28.137412200 +0200 3 | @@ -36,8 +36,8 @@ 4 | dnl try to pull in the installed version of these macros 5 | dnl when running aclocal in the glib directory. 6 | dnl 7 | -m4_copy([AC_DEFUN],[glib_DEFUN]) 8 | -m4_copy([AC_REQUIRE],[glib_REQUIRE]) 9 | +m4_copy_force([AC_DEFUN],[glib_DEFUN]) 10 | +m4_copy_force([AC_REQUIRE],[glib_REQUIRE]) 11 | dnl 12 | dnl At the end, if we're not within glib, we'll define the public 13 | dnl definitions in terms of our private definitions. 14 | -------------------------------------------------------------------------------- /delta/0001-Cygwin-MSYS2-WIN32-Reopen-stdin-in-text-mode.patch: -------------------------------------------------------------------------------- 1 | diff -urN delta-2006.08.03.orig/topformflat.c delta-2006.08.03/topformflat.c 2 | --- delta-2006.08.03.orig/topformflat.c 2015-01-19 14:17:12.480653300 +0000 3 | +++ delta-2006.08.03/topformflat.c 2015-01-19 14:28:25.664636800 +0000 4 | @@ -1820,6 +1820,11 @@ 5 | threshold = atoi(argv[1]); // user-specified threshold 6 | } 7 | 8 | +/* Re-open stdin in text mode to prevent CRLF from causing failures */ 9 | +#if defined(__CYGWIN__) || defined(__MSYS__) || defined(_WIN32) 10 | + freopen(NULL, "rt", stdin); 11 | +#endif 12 | + 13 | yyin = stdin; 14 | yylex(); 15 | return 0; 16 | -------------------------------------------------------------------------------- /gpgme/libgpgme.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist="gpgme.info gpgme.info-1 gpgme.info-2" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | local oldIFS=$IFS 7 | IFS=" " 8 | for file in ${filelist}; do 9 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 10 | done 11 | IFS=$oldIFS 12 | } 13 | 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | 18 | pre_remove() { 19 | [ -x usr/bin/install-info ] || return 0 20 | local oldIFS=$IFS 21 | IFS=" " 22 | for file in ${filelist}; do 23 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 24 | done 25 | IFS=$oldIFS 26 | } 27 | -------------------------------------------------------------------------------- /rebase/paths-from-unix-to-windows: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2014, Ray Donnelly 4 | # 5 | # Usage: paths-from-unix-to-windows 6 | # 7 | # File containing a list of Unix filenames. 8 | # 9 | # File to write Windows (mixed) filenames to. 10 | # 11 | # String to replace 12 | 13 | in_filelist=$1; shift 14 | out_filelist=$1; shift 15 | replace=$1 16 | 17 | echo -n "" > ${out_filelist} 18 | 19 | while read line 20 | do 21 | _temp=$(cygpath -m $line) 22 | echo ${_temp#$replace} >> ${out_filelist} 23 | done < ${in_filelist} 24 | 25 | exit 0 26 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.19-tmp.patch: -------------------------------------------------------------------------------- 1 | --- cvs-1.11.19/src/cvsbug.in.old 2004-02-03 15:37:52.000000000 +0100 2 | +++ cvs-1.11.19/src/cvsbug.in 2005-08-22 16:35:06.000000000 +0200 3 | @@ -109,14 +109,14 @@ 4 | /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" | 5 | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP 6 | ORIGINATOR="`cat $TEMP`" 7 | - rm -f $TEMP 8 | + > $TEMP 9 | fi 10 | fi 11 | 12 | if [ "$ORIGINATOR" = "" ]; then 13 | grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP 14 | ORIGINATOR="`cat $TEMP`" 15 | - rm -f $TEMP 16 | + > $TEMP 17 | fi 18 | 19 | if [ -n "$ORGANIZATION" ]; then 20 | -------------------------------------------------------------------------------- /nano/nano-2.3.4-fix-ncurses-location.patch: -------------------------------------------------------------------------------- 1 | --- nano-2.9.2/configure.ac.orig 2018-01-11 15:07:04.197241900 +0100 2 | +++ nano-2.9.2/configure.ac 2018-01-11 15:08:08.022892500 +0100 3 | @@ -531,11 +531,11 @@ 4 | fi 5 | 6 | if eval "test x$CURSES_LIB_NAME = x"; then 7 | - AC_CHECK_HEADERS(ncurses.h) 8 | + AC_CHECK_HEADERS(ncursesw/ncurses.h) 9 | 10 | if test "x$enable_utf8" != xno; then 11 | OLDLIBS="$LIBS" 12 | - AC_CHECK_TOOL(NCURSESW_CONFIG, ncursesw5-config, no) 13 | + AC_CHECK_TOOL(NCURSESW_CONFIG, ncursesw6-config, no) 14 | if test "x$NCURSESW_CONFIG" != xno; then 15 | CURSES_LIB=`$NCURSESW_CONFIG --libs` 16 | LIBS="$CURSES_LIB $LIBS" 17 | -------------------------------------------------------------------------------- /nettle/3.2-dlopen-test-msys-test.patch: -------------------------------------------------------------------------------- 1 | diff -aur nettle-3.2/testsuite/dlopen-test.c.orig nettle-3.2/testsuite/dlopen-test.c > ../3.2-dlopen-test-msys-test.patch 2 | --- nettle-3.2/testsuite/dlopen-test.c.orig 2016-05-17 07:17:36.777183000 -0400 3 | +++ nettle-3.2/testsuite/dlopen-test.c 2016-05-17 07:18:23.983817400 -0400 4 | @@ -9,7 +9,11 @@ 5 | main (int argc UNUSED, char **argv UNUSED) 6 | { 7 | #if HAVE_LIBDL 8 | + #ifdef __MSYS__ 9 | + void *handle = dlopen ("../msys-nettle-8.dll", RTLD_NOW); 10 | + #else 11 | void *handle = dlopen ("../libnettle." SO_EXT, RTLD_NOW); 12 | + #endif 13 | int (*get_version)(void); 14 | if (!handle) 15 | { 16 | -------------------------------------------------------------------------------- /winln/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ilya Rakhlin 2 | 3 | pkgname=winln 4 | pkgver=1.1 5 | pkgrel=1 6 | pkgdesc="Create windows symlinks from inside msys2 shell" 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/irakhlin/winln" 9 | license=('GPL') 10 | source=("https://github.com/irakhlin/winln/releases/download/1.1/winln-1.1.tar.bz2") 11 | sha256sums=('84f9797c3a2054cab00336b3c27bf1e7f9d8625974d34339fc317ca806efb700') 12 | 13 | build() { 14 | cd "$srcdir/${pkgname}-${pkgver}" 15 | ./configure --prefix=/usr 16 | make 17 | } 18 | 19 | package() { 20 | cd "$srcdir/${pkgname}-${pkgver}" 21 | make DESTDIR="${pkgdir}" install 22 | } 23 | -------------------------------------------------------------------------------- /python/014-3.8-xxsubinterpreters-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- Python-3.8.0a3-orig/Modules/_xxsubinterpretersmodule.c 2019-03-25 15:36:40.000000000 -0400 2 | +++ Python-3.8.0a3/Modules/_xxsubinterpretersmodule.c 2019-03-29 13:33:54.880859300 -0400 3 | @@ -1735,7 +1735,7 @@ PyDoc_STRVAR(channelid_doc, 4 | "A channel ID identifies a channel and may be used as an int."); 5 | 6 | static PyTypeObject ChannelIDtype = { 7 | - PyVarObject_HEAD_INIT(&PyType_Type, 0) 8 | + PyVarObject_HEAD_INIT(NULL, 0) 9 | "_xxsubinterpreters.ChannelID", /* tp_name */ 10 | sizeof(channelid), /* tp_basicsize */ 11 | 0, /* tp_itemsize */ 12 | -------------------------------------------------------------------------------- /setconf/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Alexey Pavlov 2 | 3 | pkgname=setconf 4 | pkgver=0.7.7 5 | pkgrel=1 6 | pkgdesc='Utility to easily change settings in configuration files' 7 | arch=('any') 8 | url='https://setconf.roboticoverlords.org/' 9 | license=('GPL2') 10 | depends=('python3') 11 | source=("https://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz") 12 | sha256sums=('19315574540b3181fec31a4059b9e058381e0192317f153d181e7e7e2aa84d86') 13 | 14 | package() { 15 | cd "$pkgname-$pkgver" 16 | 17 | install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname" 18 | install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz" 19 | } 20 | -------------------------------------------------------------------------------- /libtirpc/0.3.2-cygwin-rpcent.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/libtirpc-0.3.2/tirpc/rpc/rpcent.h 2015-06-16 10:35:08.000000000 -0500 2 | +++ src/libtirpc-0.3.2/tirpc/rpc/rpcent.h 2015-10-13 16:51:15.548500000 -0500 3 | @@ -49,7 +49,7 @@ extern "C" { 4 | 5 | /* These are defined in /usr/include/rpc/netdb.h, unless we are using 6 | the C library without RPC support. */ 7 | -#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__) 8 | +#if (defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__)) || (!defined(__GLIBC__) && !defined(__CYGWIN__)) 9 | struct rpcent { 10 | char *r_name; /* name of server for this rpc program */ 11 | char **r_aliases; /* alias list */ 12 | -------------------------------------------------------------------------------- /pacman/0016-excise-fakeroot.patch: -------------------------------------------------------------------------------- 1 | Currently we don't have fakeroot, so let's allow building without it. Most of 2 | the patching is currently done in 0000-pacman-msysize.patch, these are just some 3 | new occurrences. Ideally this removal will be a completely separate patch in 4 | the future. 5 | 6 | --- pacman-5.2.1/scripts/libmakepkg/executable/meson.build 2019-08-12 03:26:42.000000000 +0200 7 | +++ pacman-5.2.1/scripts/libmakepkg/executable/meson.build 2020-05-16 19:32:35.339363400 +0200 8 | @@ -4,7 +4,6 @@ 9 | 'ccache.sh.in', 10 | 'checksum.sh.in', 11 | 'distcc.sh.in', 12 | - 'fakeroot.sh.in', 13 | 'gpg.sh.in', 14 | 'gzip.sh.in', 15 | 'pacman.sh.in', 16 | -------------------------------------------------------------------------------- /docbook-xml/4.2-Add-system.all.patch: -------------------------------------------------------------------------------- 1 | --- docbook-xml-4.2/catalog.xml.orig 2002-07-17 20:14:41 +0400 2 | +++ docbook-xml-4.2/catalog.xml 2012-08-17 09:33:15 +0400 3 | @@ -25,6 +25,12 @@ 4 | 6 | 7 | + 9 | + 10 | + 12 | + 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /perl-XML-LibXML/XML-LibXML-2.0200.patch: -------------------------------------------------------------------------------- 1 | diff -Naur XML-LibXML-2.0200-orig/t/11memory.t XML-LibXML-2.0200/t/11memory.t 2 | --- XML-LibXML-2.0200-orig/t/11memory.t 2016-07-14 07:17:08.000000000 +0300 3 | +++ XML-LibXML-2.0200/t/11memory.t 2019-04-27 20:54:13.399173300 +0300 4 | @@ -10,9 +10,9 @@ 5 | 6 | use constant TIMES_THROUGH => $ENV{MEMORY_TIMES} || 100_000; 7 | 8 | -if (! (($^O eq 'linux') || ($^O eq 'cygwin')) ) 9 | +if (! (($^O eq 'linux') || ($^O eq 'cygwin') || ($^O eq 'msys')) ) 10 | { 11 | - plan skip_all => 'Only runs on Linux and Cygwin.'; 12 | + plan skip_all => 'Only runs on Linux and Cygwin or MSYS.'; 13 | } 14 | elsif (! $ENV{MEMORY_TEST} ) 15 | { 16 | -------------------------------------------------------------------------------- /zlib/1.2.8-zconf-cygwin.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/zlib-1.2.8/zconf.h 2013-04-28 18:57:11.000000000 -0400 2 | +++ src/zlib-1.2.8/zconf.h 2013-05-09 16:40:53.393931700 -0400 3 | @@ -408,11 +408,11 @@ typedef uLong FAR uLongf; 4 | typedef unsigned long z_crc_t; 5 | #endif 6 | 7 | -#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ 8 | +#if 1 /* HAVE_UNISTD_H may be set to #if 1 by ./configure */ 9 | # define Z_HAVE_UNISTD_H 10 | #endif 11 | 12 | -#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */ 13 | +#if 1 /* HAVE_STDARG_H may be set to #if 1 by ./configure */ 14 | # define Z_HAVE_STDARG_H 15 | #endif 16 | 17 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: "[BUG]" 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | ## Describe the bug 11 | 12 | A clear and concise description of what the bug is. 13 | 14 | ## Steps to Reproduce the Problem 15 | 16 | 1. Run '...' 17 | 2. Do something '....' 18 | 3. Catch the error 19 | 20 | Expected behavior: A clear and concise description of what you expected to happen instead. 21 | 22 | ## Additional Context: Operating System, Screenshots 23 | 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | - OS: [e.g. Windows 10 Pro version 1909 64bit] 27 | - '...' 28 | -------------------------------------------------------------------------------- /util-linux/2.33.1-cygwin-ionice.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/util-linux-2.33.1/configure.ac 2020-03-21 20:19:20.952384000 -0400 2 | +++ src/util-linux-2.33.1/configure.ac 2020-03-21 20:42:40.640966200 -0400 3 | @@ -2054,8 +2054,13 @@ 4 | ) 5 | 6 | 7 | -UL_ENABLE_ALIAS([ionice], [schedutils]) 8 | -UL_BUILD_INIT([ionice]) 9 | +AC_ARG_ENABLE([ionice], 10 | + AS_HELP_STRING([--disable-ionice], [disable ionice even if schedutils is enabled]), 11 | + [], [UL_DEFAULT_ENABLE([ionice], [check])] 12 | +) 13 | + 14 | +UL_BUILD_INIT([ionice], [check]) 15 | +UL_REQUIRES_BUILD([ionice], [schedutils]) 16 | UL_REQUIRES_SYSCALL_CHECK([ionice], 17 | [UL_CHECK_SYSCALL([ioprio_set], 18 | [alpha], [442], 19 | -------------------------------------------------------------------------------- /sgml-common/sgml-common-0.6.3-manpage-1.patch: -------------------------------------------------------------------------------- 1 | Submitted By: Thomas Pegg 2 | Date: 2003-11-18 3 | Initial Package Version: 0.6.3 4 | Origin: Thomas Pegg 5 | Description: Fixes syntax of Makefile.am for installation of man pages, 6 | for use with current automake versions 1.7.8 and higher. 7 | 8 | diff -Naur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am 9 | --- sgml-common-0.6.3.orig/doc/man/Makefile.am 2001-01-30 14:42:22.000000000 +0000 10 | +++ sgml-common-0.6.3/doc/man/Makefile.am 2003-11-18 16:48:47.000000000 +0000 11 | @@ -1,2 +1 @@ 12 | -man8dir = $(mandir)/man8 13 | -man8_DATA = *.8 14 | +man_MANS = install-catalog.8 15 | -------------------------------------------------------------------------------- /git-crypt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ladislav Laska 2 | 3 | pkgname="git-crypt" 4 | pkgver="0.6.0" 5 | pkgrel="1" 6 | pkgdesc="Transparent file encryption in git" 7 | arch=("i686" "x86_64") 8 | url="https://www.agwa.name/projects/git-crypt/" 9 | license=("GPL") 10 | source=( "https://www.agwa.name/projects/git-crypt/downloads/${pkgname}-${pkgver}.tar.gz") 11 | sha256sums=('6d30fcd99442d50f4b3c8d554067ff1d980cdf9f3120ee774131172dba98fd6f') 12 | makedepends=("openssl-devel") 13 | depends=("gnupg" "git") 14 | 15 | build () { 16 | cd "$pkgname-$pkgver" 17 | make 18 | } 19 | package () { 20 | cd "$pkgname-$pkgver" 21 | make PREFIX="/usr" DESTDIR="${pkgdir}" install 22 | } 23 | -------------------------------------------------------------------------------- /msys2-keyring/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Alexey Pavlov 2 | 3 | PKGEXT='.pkg.tar.xz' 4 | pkgname=msys2-keyring 5 | pkgver=r21.b39fb11 6 | pkgrel=1 7 | pkgdesc='MSYS2 PGP keyring' 8 | arch=('any') 9 | url='https://github.com/Alexpux/MSYS2-keyring' 10 | license=('GPL') 11 | install="${pkgname}.install" 12 | makedepends=("git") 13 | source=(${pkgname}::"git+https://github.com/Alexpux/MSYS2-keyring.git") 14 | sha256sums=('SKIP') 15 | 16 | pkgver() { 17 | cd "${srcdir}/${pkgname}" 18 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" 19 | } 20 | 21 | package() { 22 | cd "${srcdir}/${pkgname}" 23 | make PREFIX=/usr DESTDIR=${pkgdir} install 24 | } 25 | -------------------------------------------------------------------------------- /filesystem/bash.bash_logout: -------------------------------------------------------------------------------- 1 | # To the extent possible under law, the author(s) have dedicated all 2 | # copyright and related and neighboring rights to this software to the 3 | # public domain worldwide. This software is distributed without any warranty. 4 | # You should have received a copy of the CC0 Public Domain Dedication along 5 | # with this software. 6 | # If not, see . 7 | 8 | # /etc/bash.bash_logout: executed by bash(1) when login shell exits. 9 | 10 | # System-wide bashrc file 11 | 12 | # when leaving the console clear the screen to increase privacy 13 | if [ "$SHLVL" = 1 ]; then 14 | [ -x /usr/bin/clear ] && /usr/bin/clear 15 | fi 16 | -------------------------------------------------------------------------------- /glib2/2.34.3-m4macros.patch: -------------------------------------------------------------------------------- 1 | Fix for -Werror=nested-externs 2 | 3 | --- origsrc/glib-2.34.3/m4macros/glib-gettext.m4 2012-11-20 08:27:12.000000000 -0600 4 | +++ src/glib-2.34.3/m4macros/glib-gettext.m4 2013-04-15 02:04:25.707401500 -0500 5 | @@ -222,8 +222,8 @@ msgstr "" 6 | AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 7 | GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 8 | [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) 9 | - AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; 10 | - return _nl_msg_cat_cntr], 11 | + AC_TRY_LINK([extern int _nl_msg_cat_cntr;], 12 | + [return _nl_msg_cat_cntr], 13 | [CATOBJEXT=.gmo 14 | DATADIRNAME=share], 15 | [case $host in 16 | -------------------------------------------------------------------------------- /icon-naming-utils/remove-legacy-calc.patch: -------------------------------------------------------------------------------- 1 | diff -Nur icon-naming-utils-0.8.90.orig/legacy-icon-mapping.xml icon-naming-utils-0.8.90/legacy-icon-mapping.xml 2 | --- icon-naming-utils-0.8.90.orig/legacy-icon-mapping.xml 2011-06-06 12:18:27.059555925 +0000 3 | +++ icon-naming-utils-0.8.90/legacy-icon-mapping.xml 2011-06-06 12:18:47.709737921 +0000 4 | @@ -427,11 +427,6 @@ 5 | 6 | 7 | 8 | - 9 | - gnome-calculator 10 | - kcalc 11 | - calc 12 | - 13 | 14 | gnome-character-map 15 | gucharmap 16 | -------------------------------------------------------------------------------- /pass/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: micbou 2 | 3 | pkgname='pass' 4 | pkgver=1.7.3 5 | pkgrel=2 6 | pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely' 7 | arch=('any') 8 | url='https://www.passwordstore.org' 9 | license=('GPL2') 10 | depends=('bash' 'gnupg' 'tree') 11 | makedepends=('libqrencode-devel') 12 | optdepends=('git: Git support' 13 | 'libqrencode: QR Code support') 14 | source=(https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz) 15 | sha256sums=('2b6c65846ebace9a15a118503dcd31b6440949a30d3b5291dfb5b1615b99a3f4') 16 | 17 | package() { 18 | cd "${srcdir}/password-store-$pkgver/" 19 | make DESTDIR=${pkgdir} install 20 | } 21 | -------------------------------------------------------------------------------- /automake1.9/automake1.9-cygwin-test-fixes.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/automake-1.9.6/tests/subst.test 2005-05-14 16:21:27.000000000 -0400 2 | +++ src/automake-1.9.6/tests/subst.test 2008-10-27 19:28:56.286828800 -0400 3 | @@ -24,8 +24,14 @@ 4 | . ./defs || exit 1 5 | 6 | cat >> configure.in << 'END' 7 | -AC_SUBST($1) 8 | -AC_SUBST([$]$1) dnl this is the actual invocation that was used 9 | +dnl This test used to have the following lines, which cannot have 10 | +dnl worked sensibly with Autoconf for years, however: 11 | +dnl AC_SUBST($1) 12 | +dnl AC_SUBST([$]$1) dnl this is the actual invocation that was used 13 | +dnl 14 | +AC_DEFUN([FOO], 15 | +[AC_SUBST([$1])]) 16 | +FOO([BAR]) 17 | END 18 | 19 | : > Makefile.am 20 | -------------------------------------------------------------------------------- /libtool/0010-libtool-2.4.2-include-process-h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in 2 | index 0418007..91276c2 100644 3 | --- a/build-aux/ltmain.in 4 | +++ b/build-aux/ltmain.in 5 | @@ -4163,6 +4163,7 @@ 6 | # include 7 | # include 8 | # ifdef __CYGWIN__ 9 | +# include 10 | # include 11 | # endif 12 | #endif 13 | diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh 14 | index 0418007..91276c2 100644 15 | --- a/build-aux/ltmain.sh 16 | +++ b/build-aux/ltmain.sh 17 | @@ -4163,6 +4163,7 @@ 18 | # include 19 | # include 20 | # ifdef __CYGWIN__ 21 | +# include 22 | # include 23 | # endif 24 | #endif 25 | -------------------------------------------------------------------------------- /unzip/unzip-6.0-attribs-overflow.patch: -------------------------------------------------------------------------------- 1 | diff -up unzip60/zipinfo.c.attribs-overflow unzip60/zipinfo.c 2 | --- unzip60/zipinfo.c.attribs-overflow 2009-11-30 09:55:39.000000000 +0100 3 | +++ unzip60/zipinfo.c 2009-11-30 09:56:42.844263244 +0100 4 | @@ -1881,7 +1881,7 @@ static int zi_short(__G) /* return PK- 5 | #endif 6 | int k, error, error_in_archive=PK_COOL; 7 | unsigned hostnum, hostver, methid, methnum, xattr; 8 | - char *p, workspace[12], attribs[16]; 9 | + char *p, workspace[12], attribs[17]; 10 | char methbuf[5]; 11 | static ZCONST char dtype[5]="NXFS"; /* normal, maximum, fast, superfast */ 12 | static ZCONST char Far os[NUM_HOSTS+1][4] = { 13 | -------------------------------------------------------------------------------- /guile/0104-test-ffi.patch: -------------------------------------------------------------------------------- 1 | --- guile-2.0.14/test-suite/standalone/test-ffi 2013-03-01 17:50:05.000000000 +0100 2 | +++ b/test-suite/standalone/test-ffi 2017-03-25 12:49:48.062647800 +0100 3 | @@ -266,11 +266,11 @@ 4 | (define global (dynamic-link)) 5 | 6 | (define strerror 7 | - (pointer->procedure '* (dynamic-func "strerror" global) 8 | + (pointer->procedure '* (dynamic-func "strerror" (dynamic-link "msys-2.0")) 9 | (list int))) 10 | 11 | (define strlen 12 | - (pointer->procedure size_t (dynamic-func "strlen" global) 13 | + (pointer->procedure size_t (dynamic-func "strlen" (dynamic-link "msys-2.0")) 14 | (list '*))) 15 | 16 | (let* ((ptr (strerror ENOENT)) 17 | -------------------------------------------------------------------------------- /make-git/0001-remove-Werror.patch: -------------------------------------------------------------------------------- 1 | diff --git a/maintMakefile b/maintMakefile 2 | index a467ac0..792becb 100644 3 | --- a/maintMakefile 4 | +++ b/maintMakefile 5 | @@ -32,7 +32,7 @@ PERLFLAGS := -w 6 | # We like mondo-warnings! 7 | # Also force comments to be preserved. This helps when using ccache, in 8 | # combination with GCC 7's implicit-fallthrough warning. 9 | -MAKE_CFLAGS := -C -Wall -Wextra -Werror -Wwrite-strings -Wshadow \ 10 | +MAKE_CFLAGS := -C -Wall -Wextra -Wwrite-strings -Wshadow \ 11 | -Wdeclaration-after-statement -Wbad-function-cast -Wformat-security \ 12 | -Wtype-limits -Wunused-but-set-parameter -Wlogical-op -Wpointer-arith \ 13 | -Wignored-qualifiers -Wformat-signedness -Wduplicated-cond 14 | -------------------------------------------------------------------------------- /sshpass/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Alexey Pavlov 2 | 3 | pkgname=sshpass 4 | pkgver=1.06 5 | pkgrel=1 6 | pkgdesc='Fool ssh into accepting an interactive password non-interactively' 7 | arch=('i686' 'x86_64') 8 | url='https://sourceforge.net/projects/sshpass/' 9 | groups=('net-utils') 10 | license=('GPL') 11 | depends=('openssh') 12 | source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") 13 | sha256sums=('c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60') 14 | 15 | build() { 16 | cd $pkgname-$pkgver 17 | ./configure --build=${CHOST} --prefix=/usr 18 | make 19 | } 20 | 21 | package() { 22 | cd $pkgname-$pkgver 23 | make DESTDIR="$pkgdir" install 24 | } 25 | -------------------------------------------------------------------------------- /cvs/cvs-1.11.23-remove_undefined_date_from_cvs_1_header.patch: -------------------------------------------------------------------------------- 1 | From 51ac6e634d6a53f4f2c78eafae599079c628e28e Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 3 | Date: Mon, 25 Oct 2010 16:21:54 +0200 4 | Subject: [PATCH] Remove undefinded date from cvs(1) header 5 | 6 | --- 7 | doc/cvs.1 | 2 +- 8 | 1 files changed, 1 insertions(+), 1 deletions(-) 9 | 10 | diff --git a/doc/cvs.1 b/doc/cvs.1 11 | index b696d9a..07b7923 100644 12 | --- a/doc/cvs.1 13 | +++ b/doc/cvs.1 14 | @@ -23,7 +23,7 @@ 15 | .ds Rv \\$3 16 | .ds Dt \\$4 17 | .. 18 | -.TH CVS 1 "\*(Dt" 19 | +.TH CVS 1 20 | .\" Full space in nroff; half space in troff 21 | .de SP 22 | .if n .sp 23 | -- 24 | 1.7.2.3 25 | 26 | -------------------------------------------------------------------------------- /irssi/0000_msysize.patch: -------------------------------------------------------------------------------- 1 | diff -ur irssi-orig/irssi.conf irssi/irssi.conf 2 | --- irssi-orig/irssi.conf 2015-03-14 12:09:29.769857100 -0500 3 | +++ irssi/irssi.conf 2015-03-14 12:10:59.681229900 -0500 4 | @@ -97,6 +97,7 @@ 5 | { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; }, 6 | { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; }, 7 | { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; }, 8 | + { name = "#msys2"; chatnet = "Freenode"; autojoin = "No"; }, 9 | { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; }, 10 | { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; }, 11 | { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; }, 12 | -------------------------------------------------------------------------------- /pacman/0017-excise-sudo.patch: -------------------------------------------------------------------------------- 1 | Currently we don't have sudo and most people have their MSYS2 roots 2 | user-writable anyway, so let's completely remove the usage of sudo. Most of the 3 | patching is currently done in 0000-pacman-msysize.patch, these are just some new 4 | occurrences. Ideally this removal will be a completely separate patch in the 5 | future. 6 | 7 | --- pacman-5.2.1/scripts/libmakepkg/executable/meson.build 2019-08-12 03:26:42.000000000 +0200 8 | +++ pacman-5.2.1/scripts/libmakepkg/executable/meson.build 2020-05-16 19:33:16.467336500 +0200 9 | @@ -8,8 +8,7 @@ 10 | 'gpg.sh.in', 11 | 'gzip.sh.in', 12 | 'pacman.sh.in', 13 | 'strip.sh.in', 14 | - 'sudo.sh.in', 15 | 'vcs.sh.in', 16 | ] 17 | 18 | -------------------------------------------------------------------------------- /yelp-tools/yelp-no-symlinks.patch: -------------------------------------------------------------------------------- 1 | --- yelp-tools-3.12.1/tools/yelp.m4.orig 2014-02-02 23:28:10.000000000 +0400 2 | +++ yelp-tools-3.12.1/tools/yelp.m4 2014-07-22 18:58:17.925000000 +0400 3 | @@ -179,8 +179,8 @@ 4 | $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \ 5 | elif test "x$$lc" != "xC"; then \ 6 | if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \ 7 | - echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \ 8 | - $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \ 9 | + echo "$(INSTALL_DATA) $$d/C/$$f $$helpdir$$f"; \ 10 | + $(INSTALL_DATA) "$$d/C/$$f" "$$helpdir$$f" || exit 1; \ 11 | fi; \ 12 | fi; \ 13 | done; \ 14 | -------------------------------------------------------------------------------- /irssi-git/0000-msys2ize.patch: -------------------------------------------------------------------------------- 1 | diff -ur irssi-orig/irssi.conf irssi/irssi.conf 2 | --- irssi-orig/irssi.conf 2015-03-14 12:09:29.769857100 -0500 3 | +++ irssi/irssi.conf 2015-03-14 12:10:59.681229900 -0500 4 | @@ -97,6 +97,7 @@ 5 | { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; }, 6 | { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; }, 7 | { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; }, 8 | + { name = "#msys2"; chatnet = "Freenode"; autojoin = "No"; }, 9 | { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; }, 10 | { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; }, 11 | { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; }, 12 | -------------------------------------------------------------------------------- /rebase/autorebasebase1st.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Copyright (c) 2014, Ray Donnelly 3 | 4 | set PATH=%~dp0\usr\bin;%PATH% 5 | 6 | echo Querying 'base' packages for DLLs .. 7 | %~dp0\usr\bin\bash /usr/bin/pacman-rec-filename-grep base base-dlls-unix.txt ".*\.(dll|so|oct)$" 8 | %~dp0\usr\bin\bash /usr/bin/paths-from-unix-to-windows base-dlls-unix.txt base-dlls.txt %CD:\=/% 9 | 10 | echo Rebasing all DLLs, 'base' ones first .. 11 | REM -i is new; it means ignore database and 12 | REM rebase from end of {cygwin1,msys-2.0}.dll 13 | REM it work by avoiding passing -s to rebase.exe 14 | REM which has modifications to support this mode. 15 | %~dp0\usr\bin\dash /usr/bin/rebaseall -T base-dlls.txt -i -p 16 | -------------------------------------------------------------------------------- /which/am-1.14.all.patch: -------------------------------------------------------------------------------- 1 | --- which-2.20/Makefile.am.orig 2007-10-10 00:11:42.000000000 +0000 2 | +++ which-2.20/Makefile.am 2013-07-25 11:44:32.103848400 +0000 3 | @@ -1,5 +1,5 @@ 4 | AUTOMAKE_OPTIONS = no-texinfo.tex 5 | -ACLOCAL_AMFLAGS=@ACLOCAL_CWFLAGS@ 6 | +ACLOCAL_AMFLAGS = @ACLOCAL_CWFLAGS@ 7 | 8 | SUBDIRS = tilde . 9 | 10 | --- which-2.20/tilde/Makefile.am.orig 2008-01-16 17:51:57.000000000 +0000 11 | +++ which-2.20/tilde/Makefile.am 2013-07-25 11:45:06.456210600 +0000 12 | @@ -1,4 +1,4 @@ 13 | -ACLOCAL_AMFLAGS=@ACLOCAL_CWFLAGS@ 14 | +ACLOCAL_AMFLAGS = @ACLOCAL_CWFLAGS@ 15 | AUTOMAKE_OPTIONS = foreign 16 | noinst_LIBRARIES = libtilde.a 17 | libtilde_a_SOURCES = tilde.c shell.c tilde.h ansi_stdlib.h bashansi.h xmalloc.h 18 | -------------------------------------------------------------------------------- /gdbm/1.11-parallel-make.patch: -------------------------------------------------------------------------------- 1 | --- origsrc/gdbm-1.11/src/Makefile.am 2014-05-26 21:27:28.220164600 -0500 2 | +++ src/gdbm-1.11/src/Makefile.am 2014-05-26 21:27:43.507105800 -0500 3 | @@ -89,8 +89,8 @@ libgdbmapp_a_SOURCES =\ 4 | bin_PROGRAMS = gdbmtool gdbm_load gdbm_dump 5 | 6 | gdbmtool_LDADD = \ 7 | - ./libgdbmapp.a\ 8 | - ./libgdbm.la\ 9 | + libgdbmapp.a \ 10 | + libgdbm.la \ 11 | @READLINE_LIBS@ 12 | 13 | gdbmtool_SOURCES = \ 14 | @@ -92,5 +92,5 @@ gdbmtool_SOURCES = \ 15 | AM_YFLAGS = -dtv 16 | #AM_LFLAGS = -d 17 | 18 | -gdbm_load_LDADD = ./libgdbmapp.a ./libgdbm.la 19 | -gdbm_dump_LDADD = ./libgdbmapp.a ./libgdbm.la 20 | +gdbm_load_LDADD = libgdbmapp.a libgdbm.la 21 | +gdbm_dump_LDADD = libgdbmapp.a libgdbm.la 22 | -------------------------------------------------------------------------------- /pwgen/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: micbou 2 | 3 | pkgname=pwgen 4 | pkgver=2.08 5 | pkgrel=1 6 | pkgdesc='Password generator for creating easily memorable passwords' 7 | arch=('x86_64' 'i686') 8 | url='https://sourceforge.net/projects/pwgen/' 9 | license=('GPL') 10 | source=("https://downloads.sourceforge.net/sourceforge/pwgen/$pkgname-$pkgver.tar.gz") 11 | sha256sums=('dab03dd30ad5a58e578c5581241a6e87e184a18eb2c3b2e0fffa8a9cf105c97b') 12 | 13 | prepare() { 14 | cd "$pkgname-$pkgver" 15 | autoconf 16 | } 17 | 18 | build() { 19 | cd "$pkgname-$pkgver" 20 | ./configure --prefix=/usr --mandir=/usr/share/man 21 | make 22 | } 23 | 24 | package() { 25 | make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install 26 | } 27 | -------------------------------------------------------------------------------- /man-pages-posix/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: John Butera 2 | 3 | pkgname=(man-pages-posix) 4 | _srcver=2013-a 5 | pkgver=2013_a 6 | pkgrel=1 7 | pkgdesc="POSIX Manual Pages" 8 | arch=('any') 9 | license=("custom:posix") 10 | url="https://www.kernel.org/doc/man-pages" 11 | depends=(man) 12 | source=("https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-${_srcver}.tar.xz") 13 | sha256sums=('19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808') 14 | 15 | prepare() { 16 | cd "$srcdir/$pkgname-$_srcver" 17 | } 18 | 19 | build() { 20 | cd "$srcdir/$pkgname-$_srcver" 21 | make gz 22 | } 23 | 24 | package() { 25 | cd "$srcdir/$pkgname-$_srcver" 26 | make install DESTDIR=${pkgdir} 27 | } 28 | -------------------------------------------------------------------------------- /perl/perlbin.sh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | # Added /usr/bin/*_perl dirs for scripts 4 | # Remove /usr/lib/perl5/*_perl/bin in next release 5 | 6 | [ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl 7 | [ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin 8 | 9 | [ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl 10 | [ -d /usr/lib/perl5/vendor_perl/bin ] && PATH=$PATH:/usr/lib/perl5/vendor_perl/bin 11 | 12 | [ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl 13 | 14 | export PATH 15 | 16 | # If you have modules in non-standard directories you can add them here. 17 | #export PERLLIB=dir1:dir2 18 | -------------------------------------------------------------------------------- /ruby/ruby.install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | print_gem_default_target() { 4 | echo 'The default location of gem installs is $HOME/.gem/ruby' 5 | echo 'Add the following line to your PATH if you plan to install using gem' 6 | echo '$(ruby -rubygems -e "puts Gem.user_dir")/bin' 7 | echo 'If you want to install to the system wide location, you must either:' 8 | echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' 9 | } 10 | 11 | # arg 1: the new package version 12 | post_install() { 13 | print_gem_default_target 14 | } 15 | 16 | # arg 1: the new package version 17 | # arg 2: the old package version 18 | post_upgrade() { 19 | if [ "$(vercmp $2 1.9.3_p125-4)" -lt 0 ]; then 20 | print_gem_default_target 21 | fi 22 | } 23 | -------------------------------------------------------------------------------- /subversion/19-remove-contrib-from-configure.patch: -------------------------------------------------------------------------------- 1 | Remove contrib 2 | 3 | From: David Rothenberger 4 | 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index a758b73..209f3e9 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -1655,7 +1655,7 @@ AC_OUTPUT 15 | if test "$abs_srcdir" != "$abs_builddir" 16 | then 17 | AC_MSG_NOTICE([Creating build directories]) 18 | - (cd "$abs_srcdir"; find subversion tools contrib -type d) | xargs $MKDIR 19 | + (cd "$abs_srcdir"; find subversion tools -type d) | xargs $MKDIR 20 | fi 21 | 22 | # ==== Print final messages to user ========================================== 23 | -------------------------------------------------------------------------------- /ucl/000-msys2.patch: -------------------------------------------------------------------------------- 1 | --- a/acconfig/config.sub.orig 2004-07-20 01:01:47.000000000 +0200 2 | +++ b/acconfig/config.sub 2015-02-21 21:28:00.383690700 +0100 3 | @@ -1160,7 +1160,7 @@ 4 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 5 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 6 | | -chorusos* | -chorusrdb* \ 7 | - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 8 | + | -msys* | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 9 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 10 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 11 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 12 | -------------------------------------------------------------------------------- /breezy/0002-add-msys2-certs-location.patch: -------------------------------------------------------------------------------- 1 | diff -aurN 0001/breezy/transport/http/__init__.py 0002/breezy/transport/http/__init__.py 2 | --- 0001/breezy/transport/http/__init__.py 2016-04-15 17:08:16.998146000 -0300 3 | +++ 0002/breezy/transport/http/__init__.py 2016-04-15 17:12:58.067000000 -0300 4 | @@ -104,6 +104,7 @@ 5 | # Note for packagers: if there is no package providing certs for your platform, 6 | # the curl project produces http://curl.haxx.se/ca/cacert.pem weekly. 7 | _ssl_ca_certs_known_locations = [ 8 | + u'/usr/ssl/certs/ca-bundle.crt', # MSYS2 9 | u'/etc/ssl/certs/ca-certificates.crt', # Ubuntu/debian/gentoo 10 | u'/etc/pki/tls/certs/ca-bundle.crt', # Fedora/CentOS/RH 11 | u'/etc/ssl/ca-bundle.pem', # OpenSuse 12 | -------------------------------------------------------------------------------- /fzy/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Erich Gubler 2 | 3 | pkgname=fzy 4 | pkgver=1.0 5 | pkgrel=1 6 | pkgdesc="A better fuzzy finder" 7 | url="https://github.com/jhawthorn/fzy" 8 | arch=('i686' 'x86_64') 9 | license=('MIT') 10 | source=(https://github.com/jhawthorn/${pkgname}/archive/${pkgver}.tar.gz) 11 | sha512sums=('de5ed1af035260f4ae550c53b08c4ff302c978350784cbfd2981d1691f55d9c0f26b9333c74adea939b3f4578dd47e66ee99112e10afc5497c64011827d19dbc') 12 | 13 | build() { 14 | cd "${srcdir}/${pkgname}-${pkgver}/" 15 | make 16 | } 17 | 18 | package() { 19 | cd "${srcdir}/${pkgname}-${pkgver}/" 20 | make PREFIX=/usr DESTDIR="$pkgdir/" install 21 | install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE 22 | } 23 | -------------------------------------------------------------------------------- /cyrus-sasl/02-exeext.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | From: David Rothenberger 4 | 5 | 6 | --- 7 | m4/sasldb.m4 | 2 +- 8 | 1 files changed, 1 insertions(+), 1 deletions(-) 9 | 10 | diff --git a/m4/sasldb.m4 b/m4/sasldb.m4 11 | index b28b087..85e769a 100644 12 | --- a/m4/sasldb.m4 13 | +++ b/m4/sasldb.m4 14 | @@ -98,7 +98,7 @@ AC_MSG_RESULT($dblib) 15 | SASL_DB_BACKEND="db_${dblib}.lo" 16 | SASL_DB_BACKEND_STATIC="db_${dblib}.o allockey.o" 17 | SASL_DB_BACKEND_STATIC_SRCS="\$(top_srcdir)/sasldb/db_${dblib}.c \$(top_srcdir)/sasldb/allockey.c" 18 | -SASL_DB_UTILS="saslpasswd2 sasldblistusers2" 19 | +SASL_DB_UTILS='saslpasswd2$(EXEEXT) sasldblistusers2$(EXEEXT)' 20 | SASL_DB_MANS="saslpasswd2.8 sasldblistusers2.8" 21 | 22 | case "$dblib" in 23 | -------------------------------------------------------------------------------- /pacman/0014-fix-asciidoc-argparse.patch: -------------------------------------------------------------------------------- 1 | a2x seems to fail when a value to an argument looks like an argument itself. 2 | The best fix seems to be to attach the value to the argument using an equal 3 | sign. 4 | 5 | https://bugs.python.org/issue9334 6 | 7 | --- pacman-5.2.1/doc/meson.build 2019-08-12 03:26:42.000000000 +0200 8 | +++ pacman-5.2.1/doc/meson.build 2020-05-16 09:46:38.677111500 +0200 9 | @@ -57,7 +57,7 @@ 10 | '-f', 'manpage', 11 | '--xsltproc-opts', '-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0', 12 | '-D', '@OUTDIR@', 13 | - '--asciidoc-opts', ' '.join(asciidoc_opts), 14 | + '--asciidoc-opts=' + ' '.join(asciidoc_opts), 15 | '@INPUT@', 16 | ], 17 | input : input, 18 | -------------------------------------------------------------------------------- /mingw-w64-cross-conemu-git/0003-min-max-uppercase.patch: -------------------------------------------------------------------------------- 1 | diff --git conemu.orig/src/common/defines.h conemu/src/common/defines.h 2 | index 0a47cf8..c32f6d8 100644 3 | --- conemu.orig/src/common/defines.h 4 | +++ conemu/src/common/defines.h 5 | @@ -51,12 +51,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6 | #define WARNING(s) 7 | #define PRAGMA_ERROR(s) 8 | 9 | -#ifndef max 10 | -#define max(a,b) (((a) > (b)) ? (a) : (b)) 11 | +#ifndef MAX 12 | +#define MAX(a,b) (((a) > (b)) ? (a) : (b)) 13 | #endif 14 | 15 | -#ifndef min 16 | -#define min(a,b) (((a) < (b)) ? (a) : (b)) 17 | +#ifndef MIN 18 | +#define MIN(a,b) (((a) < (b)) ? (a) : (b)) 19 | #endif 20 | 21 | //#define _ASSERT(f) 22 | -------------------------------------------------------------------------------- /msys2-runtime/tests/do_old.bat: -------------------------------------------------------------------------------- 1 | set MSYS64=%1 2 | set REPOMSYS2=%2 3 | %MSYS64%/usr/bin/bash.exe --login -i -c "pacman -U --noconfirm /var/cache/pacman/pkg/msys2-runtime*.xz" 4 | %MSYS64%/usr/bin/bash.exe --login -i -c "LANG=C cd %REPOMSYS2%/msys2-runtime && sed -i 's,^#define DISABLE_NEW_STUFF .*$,#define DISABLE_NEW_STUFF 1,g' ./src/msys2-runtime/winsup/cygwin/mount.cc && pushd src/build-x86_64-pc-msys && make EXTRA_CPPFLAGS=fbreak-it && make -j1 DESTDIR=%REPOMSYS2%/msys2-runtime/src/dest install && rm -rf %REPOMSYS2%/msys2-runtime/src/dest/etc && popd && makepkg -RLf && pacman -U --noconfirm msys2-runtime*.xz && exit" 5 | %MSYS64%/usr/bin/strace.exe %MSYS64%/usr/bin/ls.exe /bin > meh-bin-old.txt 6 | %MSYS64%/usr/bin/strace.exe %MSYS64%/usr/bin/g++ > meh-g++-old.txt 7 | -------------------------------------------------------------------------------- /libcrypt/msysize.patch: -------------------------------------------------------------------------------- 1 | --- crypt/Makefile.orig 2014-10-31 00:14:16.525400000 +0300 2 | +++ crypt/Makefile 2014-10-31 00:14:39.395000000 +0300 3 | @@ -8,11 +8,11 @@ 4 | bindir=$(prefix)/bin 5 | libdir=$(prefix)/lib 6 | incdir=$(prefix)/include 7 | -docdir=$(prefix)/share/doc/Cygwin 8 | +docdir=$(prefix)/share/doc/Msys 9 | DLLVER=0 10 | 11 | STATICLIB=libcrypt.a 12 | -SHAREDLIB=cygcrypt-$(DLLVER).dll 13 | +SHAREDLIB=msys-crypt-$(DLLVER).dll 14 | IMPORTLIB=libcrypt.dll.a 15 | 16 | LIBS=$(STATICLIB) $(SHAREDLIB) 17 | --- crypt/crypt.def.orig 2014-11-01 00:41:22.483000000 +0300 18 | +++ crypt/crypt.def 2014-11-01 00:41:27.865000000 +0300 19 | @@ -1,4 +1,4 @@ 20 | -LIBRARY "cygcrypt-0.dll" 21 | +LIBRARY "msys-crypt-0.dll" 22 | 23 | EXPORTS 24 | encrypt 25 | -------------------------------------------------------------------------------- /asciidoc/0001-W32-confdir.msys2.patch: -------------------------------------------------------------------------------- 1 | --- asciidoc-8.6.7/asciidoc.py.orig 2012-03-14 03:07:34 +0400 2 | +++ asciidoc-8.6.7/asciidoc.py 2012-03-27 18:16:41 +0400 3 | @@ -4556,6 +4556,12 @@ 4 | APP_FILE = os.path.realpath(cmd) 5 | global APP_DIR 6 | APP_DIR = os.path.dirname(APP_FILE) 7 | + global CONF_DIR 8 | + if not os.path.isdir (CONF_DIR) and os.name == 'nt': 9 | + app_dir_real = os.path.realpath (APP_DIR) 10 | + app_prefix, app_last_dir = os.path.split (app_dir_real) 11 | + if len (app_prefix) > 0 and app_last_dir == 'bin': 12 | + CONF_DIR = os.path.join (app_prefix, 'etc', 'asciidoc') 13 | global USER_DIR 14 | USER_DIR = userdir() 15 | if USER_DIR is not None: 16 | -------------------------------------------------------------------------------- /elinks-git/msys-platform.patch: -------------------------------------------------------------------------------- 1 | --- elinks-git/config/config.sub.orig 2014-08-15 12:23:58.771142800 +0900 2 | +++ elinks-git/config/config.sub 2014-08-15 12:36:39.360838700 +0900 3 | @@ -1188,7 +1188,7 @@ 4 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 5 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 6 | | -chorusos* | -chorusrdb* \ 7 | - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 8 | + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 9 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 10 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 11 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 12 | -------------------------------------------------------------------------------- /isl/isl-0.12.1-msys2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur isl-0.12.1-orig/config.guess isl-0.12.1/config.guess 2 | --- isl-0.12.1-orig/config.guess 2013-07-16 14:46:31.000000000 +0400 3 | +++ isl-0.12.1/config.guess 2013-09-02 09:13:51.055664100 +0400 4 | @@ -801,6 +801,9 @@ 5 | i*:CYGWIN*:*) 6 | echo ${UNAME_MACHINE}-pc-cygwin 7 | exit ;; 8 | + i*:MSYS*:*) 9 | + echo ${UNAME_MACHINE}-pc-msys 10 | + exit ;; 11 | *:MINGW*:*) 12 | echo ${UNAME_MACHINE}-pc-mingw32 13 | exit ;; 14 | @@ -844,6 +847,9 @@ 15 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 16 | echo x86_64-unknown-cygwin 17 | exit ;; 18 | + amd64:MSYS*:*:* | x86_64:MSYS*:*:*) 19 | + echo x86_64-unknown-msys 20 | + exit ;; 21 | p*:CYGWIN*:*) 22 | echo powerpcle-unknown-cygwin 23 | exit ;; 24 | 25 | -------------------------------------------------------------------------------- /perl/perlbin.csh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | # Added /usr/bin/*_perl dirs for scripts 4 | # Remove /usr/lib/perl5/*_perl/bin in next release 5 | 6 | [ -d /usr/bin/site_perl ] && setenv PATH ${PATH}:/usr/bin/site_perl 7 | [ -d /usr/lib/perl5/site_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/site_perl/bin 8 | 9 | [ -d /usr/bin/vendor_perl ] && setenv PATH ${PATH}:/usr/bin/vendor_perl 10 | [ -d /usr/lib/perl5/vendor_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/vendor_perl/bin 11 | 12 | [ -d /usr/bin/core_perl ] && setenv PATH ${PATH}:/usr/bin/core_perl 13 | 14 | # If you have modules in non-standard directories you can add them here. 15 | #export PERLLIB=dir1:dir2 16 | -------------------------------------------------------------------------------- /remake-git/guile-2.2-support.patch: -------------------------------------------------------------------------------- 1 | --- remake/configure.ac.orig 2017-12-04 11:47:01.148856700 +0300 2 | +++ remake/configure.ac 2017-12-04 11:47:33.690518200 +0300 3 | @@ -181,9 +181,10 @@ 4 | # comes with it's own PC file so we have to specify them as individual 5 | # packages. Ugh. 6 | AS_IF([test "x$with_guile" != xno], 7 | -[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], 8 | - [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes], 9 | - [have_guile=no])]) 10 | +[ PKG_CHECK_MODULES([GUILE], [guile-2.2], [have_guile=yes], 11 | + [ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], 12 | + [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes], 13 | + [have_guile=no])])]) 14 | ]) 15 | 16 | AS_IF([test "$have_guile" = yes], 17 | -------------------------------------------------------------------------------- /txt2tags/PKGBUILD: -------------------------------------------------------------------------------- 1 | # borrowed from Arch without changes 2 | # Maintainer: Norbert Pfeiler 3 | 4 | pkgname=txt2tags 5 | pkgver=3.7 6 | pkgrel=1 7 | pkgdesc='A text formatting and conversion tool.' 8 | arch=('any') 9 | url='https://www.txt2tags.org/' 10 | license=('GPL') 11 | depends=('python') 12 | makedepends=('python-setuptools') 13 | source=(https://pypi.python.org/packages/source/t/txt2tags/txt2tags-${pkgver}.tar.gz) 14 | sha256sums=('27969387206d12b4e4a0eb13d0d5dd957d71dbb932451b0dceeab5e3dbb6178a') 15 | 16 | build() { 17 | cd "${srcdir}/${pkgname}-${pkgver}" 18 | /usr/bin/python setup.py build 19 | } 20 | 21 | package() { 22 | cd "${srcdir}/${pkgname}-${pkgver}" 23 | /usr/bin/python setup.py install --root="${pkgdir}" 24 | } 25 | -------------------------------------------------------------------------------- /heimdal/1.5.3-fix-detect-libedit.patch: -------------------------------------------------------------------------------- 1 | --- heimdal-7.1.0/configure.ac.orig 2016-01-12 12:08:18.406147300 +0300 2 | +++ heimdal-7.1.0/configure.ac 2016-01-12 12:10:33.177960000 +0300 3 | @@ -299,14 +299,14 @@ 4 | 5 | rk_TEST_PACKAGE(libedit, 6 | [#include 7 | -#if defined(HAVE_READLINE_READLINE_H) 8 | -#include 9 | +#if defined(HAVE_EDITLINE_READLINE_H) 10 | +#include 11 | #elif defined(HAVE_READLINE_H) 12 | #include 13 | #elif defined(HAVE_EDITLINE_READLINE_H) 14 | #include 15 | #endif 16 | -],-ledit,,, READLINE,, [readline.h readline/readline.h editline/readline.h]) 17 | +],-ledit,,, READLINE,, [readline.h editline/readline.h]) 18 | 19 | AC_CONFIG_SUBDIRS([lib/libedit]) 20 | 21 | -------------------------------------------------------------------------------- /.drone.yml: -------------------------------------------------------------------------------- 1 | build: 2 | image: teaci/msys$$arch 3 | pull: true 4 | shell: msys$$arch 5 | commands: 6 | # TODO: remove this option when not anymore needed 7 | - if [ $$arch = 32 ]; then export DISABLE_QUALITY_CHECK=true; fi 8 | - ./ci-build.sh 9 | 10 | notify: 11 | irc: 12 | prefix: build 13 | nick: MSYS2-packages 14 | channel: msys2-ci 15 | server: 16 | host: irc.oftc.net 17 | port: 6667 18 | 19 | matrix: 20 | arch: 21 | - 64 22 | - 32 23 | #FIXME: When a matrix build is done, only the build status of the last job in a matrix is sent to notification plugins, this confuses our irc plugin, see https://github.com/drone/drone/issues/1459. Github pull request Web UI status and Tea CI Web UI status works fine with matrix build. 24 | -------------------------------------------------------------------------------- /libxslt/libxslt-cygwin-reentrant.patch: -------------------------------------------------------------------------------- 1 | --- libxslt-1.1.33/libexslt/exsltexports.h.orig 2019-02-07 11:57:33.833426800 +0300 2 | +++ libxslt-1.1.33/libexslt/exsltexports.h 2019-02-07 11:57:41.851840900 +0300 3 | @@ -128,6 +128,9 @@ 4 | #endif 5 | #endif 6 | #define EXSLTCALL __cdecl 7 | + #if !defined _REENTRANT 8 | + #define _REENTRANT 9 | + #endif 10 | #endif 11 | 12 | /* Compatibility */ 13 | --- libxslt-1.1.33/libxslt/xsltexports.h.orig 2019-02-07 11:57:55.080664100 +0300 14 | +++ libxslt-1.1.33/libxslt/xsltexports.h 2019-02-07 11:58:02.833877800 +0300 15 | @@ -130,6 +130,9 @@ 16 | #endif 17 | #endif 18 | #define XSLTCALL __cdecl 19 | + #if !defined _REENTRANT 20 | + #define _REENTRANT 21 | + #endif 22 | #endif 23 | 24 | /* Compatibility */ 25 | -------------------------------------------------------------------------------- /automake1.10/automake-1.10-perl-escape-curly-bracket.patch: -------------------------------------------------------------------------------- 1 | From: Pavel Raiskup 2 | Date: Tue, 7 Jul 2015 10:54:24 +0200 3 | Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern 4 | 5 | Resolves: rhbz#1239379 6 | Upstream report: 7 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001 8 | 9 | diff --git a/automake.in b/automake.in 10 | index eedc8bc..a679d16 100644 11 | --- a/automake.in 12 | +++ b/automake.in 13 | @@ -4030,7 +4030,7 @@ sub substitute_ac_subst_variables_worker 14 | sub substitute_ac_subst_variables ($) 15 | { 16 | my ($text) = @_; 17 | - $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 18 | + $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 19 | return $text; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /automake1.11/automake-1.11-perl-escape-curly-bracket.patch: -------------------------------------------------------------------------------- 1 | From: Pavel Raiskup 2 | Date: Tue, 7 Jul 2015 10:54:24 +0200 3 | Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern 4 | 5 | Resolves: rhbz#1239379 6 | Upstream report: 7 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001 8 | 9 | diff --git a/automake.in b/automake.in 10 | index eedc8bc..a679d16 100644 11 | --- a/automake.in 12 | +++ b/automake.in 13 | @@ -4030,7 +4030,7 @@ sub substitute_ac_subst_variables_worker 14 | sub substitute_ac_subst_variables ($) 15 | { 16 | my ($text) = @_; 17 | - $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 18 | + $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 19 | return $text; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /automake1.12/automake-1.12-perl-escape-curly-bracket.patch: -------------------------------------------------------------------------------- 1 | From: Pavel Raiskup 2 | Date: Tue, 7 Jul 2015 10:54:24 +0200 3 | Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern 4 | 5 | Resolves: rhbz#1239379 6 | Upstream report: 7 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001 8 | 9 | diff --git a/automake.in b/automake.in 10 | index eedc8bc..a679d16 100644 11 | --- a/automake.in 12 | +++ b/automake.in 13 | @@ -4030,7 +4030,7 @@ sub substitute_ac_subst_variables_worker 14 | sub substitute_ac_subst_variables ($) 15 | { 16 | my ($text) = @_; 17 | - $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 18 | + $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 19 | return $text; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /automake1.13/automake-1.13-perl-escape-curly-bracket.patch: -------------------------------------------------------------------------------- 1 | From: Pavel Raiskup 2 | Date: Tue, 7 Jul 2015 10:54:24 +0200 3 | Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern 4 | 5 | Resolves: rhbz#1239379 6 | Upstream report: 7 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001 8 | 9 | diff --git a/automake.in b/automake.in 10 | index eedc8bc..a679d16 100644 11 | --- a/automake.in 12 | +++ b/automake.in 13 | @@ -3932,7 +3932,7 @@ sub substitute_ac_subst_variables_worker 14 | sub substitute_ac_subst_variables ($) 15 | { 16 | my ($text) = @_; 17 | - $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 18 | + $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 19 | return $text; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /nasm/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Alexey Pavlov 2 | 3 | pkgname=nasm 4 | pkgver=2.15.03 5 | pkgrel=2 6 | pkgdesc="An 80x86 assembler designed for portability and modularity" 7 | arch=('i686' 'x86_64') 8 | url="https://www.nasm.us/" 9 | license=('BSD') 10 | makedepends=('perl-Font-TTF' 'perl-Sort-Versions') 11 | source=("https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz") 12 | sha256sums=('c0c39a305f08ccf0c5c6edba4294dd2851b3925b6d9642dd1efd62f72829822f') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | ./configure --prefix=/usr 17 | make all -j1 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make DESTDIR="${pkgdir}" install 24 | install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/nasm/LICENSE 25 | } 26 | -------------------------------------------------------------------------------- /automake1.9/automake-1.9.6-gentoo-ignore-comments.patch: -------------------------------------------------------------------------------- 1 | http://bugs.gentoo.org/126388 2 | 3 | 2006-03-16 Mike Frysinger 4 | 5 | * aclocal.in (scan_configure_dep): Ignore ## lines. 6 | (scan_file): Remove dnl and # comments. 7 | 8 | --- aclocal.in 9 | +++ aclocal.in 10 | @@ -227,6 +227,8 @@ 11 | foreach (split ("\n", $contents)) 12 | { 13 | ++$line; 14 | + # Ignore `##' lines. 15 | + next if /^##/; 16 | # Remove comments from current line. 17 | s/\bdnl\b.*$//; 18 | s/\#.*$//; 19 | @@ -311,6 +313,10 @@ 20 | 21 | $contents .= $_; 22 | 23 | + # Remove comments from current line. 24 | + s/\bdnl\b.*$//; 25 | + s/\#.*$//; 26 | + 27 | while (/$ac_defun_rx/go) 28 | { 29 | if (! defined $1) 30 | --------------------------------------------------------------------------------