git: 3b72aac67735 - main - devel/glib20: Remove stale patch

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 12:28:58 UTC
The branch main has been updated by arrowd:

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

commit 3b72aac67735b22912301ae8eddf9137ea7372d9
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-07-09 12:27:42 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-07-09 12:27:42 +0000

    devel/glib20: Remove stale patch
    
    This patch was added in 2002: https://github.com/freebsd/freebsd-ports/commit/e8da18edcdce6c3c96bc3629f0f5927901b2c60e#diff-a853c7b9fa72c4c63b38cd1188eaca75badf06e003cbdf880b9e0a6f44c1034b
    
    The current unpatched code does the same thing as patched one plus some locking
    
    Tested by:      arrowd
    Sponsored by:   Serenity Cybersecurity, LLC
---
 devel/glib20/files/patch-gmodule_gmodule-dl.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/devel/glib20/files/patch-gmodule_gmodule-dl.c b/devel/glib20/files/patch-gmodule_gmodule-dl.c
deleted file mode 100644
index 586d7f80bd62..000000000000
--- a/devel/glib20/files/patch-gmodule_gmodule-dl.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- gmodule/gmodule-dl.c.orig	Sat Feb 17 08:28:07 2001
-+++ gmodule/gmodule-dl.c	Fri Jan 18 09:48:45 2002
-@@ -104,6 +104,7 @@
- static gpointer
- _g_module_self (void)
- {
-+#ifndef __FreeBSD__
-   gpointer handle;
-   
-   /* to query symbols from the program itself, special link options
-@@ -115,6 +116,9 @@
-     g_module_set_error (fetch_dlerror (TRUE));
-   
-   return handle;
-+#else
-+  return RTLD_DEFAULT;
-+#endif
- }
- 
- static void