git: b33fce14eacd - main - emulators/winetricks: Fix the corefonts

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 08 Dec 2023 18:14:03 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b33fce14eacd78c4e6c4b222960b53a56e71711b

commit b33fce14eacd78c4e6c4b222960b53a56e71711b
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2023-12-08 17:50:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-08 18:13:49 +0000

    emulators/winetricks: Fix the corefonts
    
    PR:             275497
    Approved by:    submitter is maintainer
---
 emulators/winetricks/Makefile                   |  1 +
 emulators/winetricks/files/patch-src_winetricks | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/emulators/winetricks/Makefile b/emulators/winetricks/Makefile
index d2559ccdbced..219f722c03ee 100644
--- a/emulators/winetricks/Makefile
+++ b/emulators/winetricks/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	winetricks
 PORTVERSION=	20230903
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	Alexander88207@protonmail.com
diff --git a/emulators/winetricks/files/patch-src_winetricks b/emulators/winetricks/files/patch-src_winetricks
index 5a1fae0c6cff..5d8e36c74cc8 100644
--- a/emulators/winetricks/files/patch-src_winetricks
+++ b/emulators/winetricks/files/patch-src_winetricks
@@ -5,7 +5,7 @@
  load_andale()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/7d/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/andale32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "AndaleMo.TTF"
      w_register_font andalemo.ttf "Andale Mono"
@@ -15,8 +15,8 @@
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/5e/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/5d/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
  
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/arial32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Arial*.TTF"
@@ -25,7 +25,7 @@
  load_comicsans()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/52/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/comic32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Comic*.TTF"
      w_register_font comicbd.ttf "Comic Sans MS Bold"
@@ -34,7 +34,7 @@
  load_courier()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/1b/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/courie32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "cour*.ttf"
      w_register_font courbd.ttf "Courier New Bold"
@@ -43,7 +43,7 @@
  load_georgia()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/f0/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/georgi32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Georgia*.TTF"
      w_register_font georgiab.ttf "Georgia Bold"
@@ -52,7 +52,7 @@
  load_impact()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/10/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/impact32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Impact.TTF"
      w_register_font impact.ttf "Impact"
@@ -61,7 +61,7 @@
  load_times()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/fe/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/times32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Times*.TTF"
      w_register_font timesbd.ttf "Times New Roman Bold"
@@ -70,7 +70,7 @@
  load_trebuchet()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/fa/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/trebuc32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "[tT]rebuc*.ttf"
      w_register_font trebucbd.ttf "Trebuchet MS Bold"
@@ -79,7 +79,7 @@
  load_verdana()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/a1/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/verdan32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Verdana*.TTF"
      w_register_font verdanab.ttf "Verdana Bold"
@@ -88,7 +88,7 @@
  load_webdings()
  {
 -    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
-+    w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/95/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
++    w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
      w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/webdin32.exe
      w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Webdings.TTF"
      w_register_font webdings.ttf "Webdings"