diff --git a/common/hooks/post-extract/00-patches.sh b/common/hooks/post-extract/00-patches.sh index 73caa6dd1f2..7aca707fe0f 100644 --- a/common/hooks/post-extract/00-patches.sh +++ b/common/hooks/post-extract/00-patches.sh @@ -20,13 +20,13 @@ _process_patch() { elif [[ $f =~ .bz2$ ]]; then bunzip2 "$wrksrc/${_patch}" _patch=${_patch%%.bz2} - elif [[ $f =~ .diff ]]; then + elif [[ $f =~ .diff$ ]]; then : - elif [[ $f =~ .patch ]]; then + elif [[ $f =~ .patch$ ]]; then : else msg_warn "$pkgver: unknown patch type: $i.\n" - continue + return 0 fi cd "$wrksrc" diff --git a/srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in b/srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in.diff similarity index 100% rename from srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in rename to srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in.diff diff --git a/srcpkgs/autoconf213/patches/patch-aa b/srcpkgs/autoconf213/patches/patch-aa.diff similarity index 100% rename from srcpkgs/autoconf213/patches/patch-aa rename to srcpkgs/autoconf213/patches/patch-aa.diff diff --git a/srcpkgs/autoconf213/patches/patch-ab b/srcpkgs/autoconf213/patches/patch-ab.diff similarity index 100% rename from srcpkgs/autoconf213/patches/patch-ab rename to srcpkgs/autoconf213/patches/patch-ab.diff diff --git a/srcpkgs/autoconf213/patches/patch-ac b/srcpkgs/autoconf213/patches/patch-ac.diff similarity index 100% rename from srcpkgs/autoconf213/patches/patch-ac rename to srcpkgs/autoconf213/patches/patch-ac.diff diff --git a/srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix b/srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix.diff similarity index 100% rename from srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix rename to srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix.diff diff --git a/srcpkgs/elinks/patches/patch-src_network_ssl_socket.c b/srcpkgs/elinks/patches/patch-src_network_ssl_socket.c.diff similarity index 100% rename from srcpkgs/elinks/patches/patch-src_network_ssl_socket.c rename to srcpkgs/elinks/patches/patch-src_network_ssl_socket.c.diff diff --git a/srcpkgs/elinks/patches/patch-src_network_ssl_ssl_c b/srcpkgs/elinks/patches/patch-src_network_ssl_ssl_c.diff similarity index 100% rename from srcpkgs/elinks/patches/patch-src_network_ssl_ssl_c rename to srcpkgs/elinks/patches/patch-src_network_ssl_ssl_c.diff diff --git a/srcpkgs/fetchmail/patches/patch-socket_c b/srcpkgs/fetchmail/patches/patch-socket_c.diff similarity index 100% rename from srcpkgs/fetchmail/patches/patch-socket_c rename to srcpkgs/fetchmail/patches/patch-socket_c.diff diff --git a/srcpkgs/foomatic-db-engine/patches/patch-foomatic-getpjloptions.in b/srcpkgs/foomatic-db-engine/patches/patch-foomatic-getpjloptions.in.diff similarity index 100% rename from srcpkgs/foomatic-db-engine/patches/patch-foomatic-getpjloptions.in rename to srcpkgs/foomatic-db-engine/patches/patch-foomatic-getpjloptions.in.diff diff --git a/srcpkgs/freerdp/patches/patch-libfreerdp-core_ntlmssp_c b/srcpkgs/freerdp/patches/patch-libfreerdp-core_ntlmssp_c.diff similarity index 100% rename from srcpkgs/freerdp/patches/patch-libfreerdp-core_ntlmssp_c rename to srcpkgs/freerdp/patches/patch-libfreerdp-core_ntlmssp_c.diff diff --git a/srcpkgs/freerdp/patches/patch-libfreerdp-core_tls_c b/srcpkgs/freerdp/patches/patch-libfreerdp-core_tls_c.diff similarity index 100% rename from srcpkgs/freerdp/patches/patch-libfreerdp-core_tls_c rename to srcpkgs/freerdp/patches/patch-libfreerdp-core_tls_c.diff diff --git a/srcpkgs/gnome-session/patches/patch-gnome-session_main_c b/srcpkgs/gnome-session/patches/patch-gnome-session_main_c.diff similarity index 100% rename from srcpkgs/gnome-session/patches/patch-gnome-session_main_c rename to srcpkgs/gnome-session/patches/patch-gnome-session_main_c.diff diff --git a/srcpkgs/gpsbabel/patches/A4-doc.txt b/srcpkgs/gpsbabel/patches/A4-doc.txt.diff similarity index 100% rename from srcpkgs/gpsbabel/patches/A4-doc.txt rename to srcpkgs/gpsbabel/patches/A4-doc.txt.diff diff --git a/srcpkgs/hostapd/patches/patch-src_utils_eloop_c b/srcpkgs/hostapd/patches/patch-src_utils_eloop_c.diff similarity index 100% rename from srcpkgs/hostapd/patches/patch-src_utils_eloop_c rename to srcpkgs/hostapd/patches/patch-src_utils_eloop_c.diff diff --git a/srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp b/srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp.diff similarity index 100% rename from srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp rename to srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp.diff diff --git a/srcpkgs/libgadu/patches/musl-sys_types.h b/srcpkgs/libgadu/patches/musl-sys_types.h.diff similarity index 100% rename from srcpkgs/libgadu/patches/musl-sys_types.h rename to srcpkgs/libgadu/patches/musl-sys_types.h.diff diff --git a/srcpkgs/lynx/patches/patch-WWW_Library_Implementation_HTTP.c b/srcpkgs/lynx/patches/patch-WWW_Library_Implementation_HTTP.c.diff similarity index 100% rename from srcpkgs/lynx/patches/patch-WWW_Library_Implementation_HTTP.c rename to srcpkgs/lynx/patches/patch-WWW_Library_Implementation_HTTP.c.diff diff --git a/srcpkgs/minitube/patches/patch-src_mainwindow_cpp b/srcpkgs/minitube/patches/patch-src_mainwindow_cpp.diff similarity index 100% rename from srcpkgs/minitube/patches/patch-src_mainwindow_cpp rename to srcpkgs/minitube/patches/patch-src_mainwindow_cpp.diff diff --git a/srcpkgs/openjade/patches/patch-jade_TeXFOTBuilder.cxx b/srcpkgs/openjade/patches/patch-jade_TeXFOTBuilder.cxx.diff similarity index 100% rename from srcpkgs/openjade/patches/patch-jade_TeXFOTBuilder.cxx rename to srcpkgs/openjade/patches/patch-jade_TeXFOTBuilder.cxx.diff diff --git a/srcpkgs/openjade/patches/patch-jade_TransformFOTBuilder.cxx b/srcpkgs/openjade/patches/patch-jade_TransformFOTBuilder.cxx.diff similarity index 100% rename from srcpkgs/openjade/patches/patch-jade_TransformFOTBuilder.cxx rename to srcpkgs/openjade/patches/patch-jade_TransformFOTBuilder.cxx.diff diff --git a/srcpkgs/pchar/patches/no-SO_BSDCOMPAT-2 b/srcpkgs/pchar/patches/no-SO_BSDCOMPAT-2.diff similarity index 100% rename from srcpkgs/pchar/patches/no-SO_BSDCOMPAT-2 rename to srcpkgs/pchar/patches/no-SO_BSDCOMPAT-2.diff diff --git a/srcpkgs/pchar/patches/no-SO_BSDCOMPAT-3 b/srcpkgs/pchar/patches/no-SO_BSDCOMPAT-3.diff similarity index 100% rename from srcpkgs/pchar/patches/no-SO_BSDCOMPAT-3 rename to srcpkgs/pchar/patches/no-SO_BSDCOMPAT-3.diff diff --git a/srcpkgs/pchar/patches/no-SO_BSDCOMPAT b/srcpkgs/pchar/patches/no-SO_BSDCOMPAT.diff similarity index 100% rename from srcpkgs/pchar/patches/no-SO_BSDCOMPAT rename to srcpkgs/pchar/patches/no-SO_BSDCOMPAT.diff diff --git a/srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_cpp b/srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_cpp.diff similarity index 100% rename from srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_cpp rename to srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_cpp.diff diff --git a/srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp b/srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp.diff similarity index 100% rename from srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp rename to srcpkgs/qt/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp.diff diff --git a/srcpkgs/snapper/patches/musl-unistd.h b/srcpkgs/snapper/patches/musl-unistd.h.diff similarity index 100% rename from srcpkgs/snapper/patches/musl-unistd.h rename to srcpkgs/snapper/patches/musl-unistd.h.diff diff --git a/srcpkgs/socat/patches/patch-doc_xio_help b/srcpkgs/socat/patches/patch-doc_xio_help.diff similarity index 100% rename from srcpkgs/socat/patches/patch-doc_xio_help rename to srcpkgs/socat/patches/patch-doc_xio_help.diff diff --git a/srcpkgs/socat/patches/patch-xio-openssl_c b/srcpkgs/socat/patches/patch-xio-openssl_c.diff similarity index 100% rename from srcpkgs/socat/patches/patch-xio-openssl_c rename to srcpkgs/socat/patches/patch-xio-openssl_c.diff diff --git a/srcpkgs/socat/patches/patch-xioopts_c b/srcpkgs/socat/patches/patch-xioopts_c.diff similarity index 100% rename from srcpkgs/socat/patches/patch-xioopts_c rename to srcpkgs/socat/patches/patch-xioopts_c.diff diff --git a/srcpkgs/socat/patches/patch-xioopts_h b/srcpkgs/socat/patches/patch-xioopts_h.diff similarity index 100% rename from srcpkgs/socat/patches/patch-xioopts_h rename to srcpkgs/socat/patches/patch-xioopts_h.diff diff --git a/srcpkgs/unzip/patches/patch-crypt.c b/srcpkgs/unzip/patches/patch-crypt.c.diff similarity index 100% rename from srcpkgs/unzip/patches/patch-crypt.c rename to srcpkgs/unzip/patches/patch-crypt.c.diff diff --git a/srcpkgs/unzip/patches/patch-extract.c b/srcpkgs/unzip/patches/patch-extract.c.diff similarity index 100% rename from srcpkgs/unzip/patches/patch-extract.c rename to srcpkgs/unzip/patches/patch-extract.c.diff diff --git a/srcpkgs/unzip/patches/patch-fileio.c b/srcpkgs/unzip/patches/patch-fileio.c.diff similarity index 100% rename from srcpkgs/unzip/patches/patch-fileio.c rename to srcpkgs/unzip/patches/patch-fileio.c.diff diff --git a/srcpkgs/unzip/patches/patch-list.c b/srcpkgs/unzip/patches/patch-list.c.diff similarity index 100% rename from srcpkgs/unzip/patches/patch-list.c rename to srcpkgs/unzip/patches/patch-list.c.diff diff --git a/srcpkgs/unzip/patches/patch-process.c b/srcpkgs/unzip/patches/patch-process.c.diff similarity index 100% rename from srcpkgs/unzip/patches/patch-process.c rename to srcpkgs/unzip/patches/patch-process.c.diff diff --git a/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_algos_c b/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_algos_c.diff similarity index 100% rename from srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_algos_c rename to srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_algos_c.diff diff --git a/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_c b/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_c.diff similarity index 100% rename from srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_c rename to srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_c.diff diff --git a/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_h b/srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_h.diff similarity index 100% rename from srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_h rename to srcpkgs/virtuoso/patches/patch-libsrc_Wi_xmlenc_h.diff diff --git a/srcpkgs/wpa_supplicant/patches/patch-src_utils_eloop_c b/srcpkgs/wpa_supplicant/patches/patch-src_utils_eloop_c.diff similarity index 100% rename from srcpkgs/wpa_supplicant/patches/patch-src_utils_eloop_c rename to srcpkgs/wpa_supplicant/patches/patch-src_utils_eloop_c.diff diff --git a/srcpkgs/x11vnc/patches/patch-x11vnc_enc_h b/srcpkgs/x11vnc/patches/patch-x11vnc_enc_h.diff similarity index 100% rename from srcpkgs/x11vnc/patches/patch-x11vnc_enc_h rename to srcpkgs/x11vnc/patches/patch-x11vnc_enc_h.diff diff --git a/srcpkgs/zsnes/patches/patch-makefilein b/srcpkgs/zsnes/patches/patch-makefilein.diff similarity index 100% rename from srcpkgs/zsnes/patches/patch-makefilein rename to srcpkgs/zsnes/patches/patch-makefilein.diff diff --git a/srcpkgs/zsnes/patches/patch-tools_strutil.h b/srcpkgs/zsnes/patches/patch-tools_strutil.h.diff similarity index 100% rename from srcpkgs/zsnes/patches/patch-tools_strutil.h rename to srcpkgs/zsnes/patches/patch-tools_strutil.h.diff diff --git a/srcpkgs/zsnes/patches/patch-zip_zpng.c b/srcpkgs/zsnes/patches/patch-zip_zpng.c.diff similarity index 100% rename from srcpkgs/zsnes/patches/patch-zip_zpng.c rename to srcpkgs/zsnes/patches/patch-zip_zpng.c.diff