git: 022edda04e7e - main - devel/glib20: Remove ancient obsolete patches and sed calls.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Oct 2023 17:17:42 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=022edda04e7ed8f3898b64a8f440232af6fd08a7 commit 022edda04e7ed8f3898b64a8f440232af6fd08a7 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-10-21 17:16:59 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-10-21 17:17:39 +0000 devel/glib20: Remove ancient obsolete patches and sed calls. --- devel/glib20/Makefile | 3 --- devel/glib20/files/patch-gio_tests_include.c | 10 ---------- devel/glib20/files/patch-gio_xdgmime_xdgmimecache.h | 12 ------------ devel/glib20/files/patch-glib_fix_hidden | 10 ---------- 4 files changed, 35 deletions(-) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index e060a5bb7717..79b07d373f02 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -86,9 +86,6 @@ post-configure-GTKDOC-on: @${REINPLACE_CMD} -e '\+^build docs/reference/gio/gdbus-object-manager-example/gdbus-object-manager-example-decl.txt:+s+$$+ || gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.so+' ${BUILD_WRKSRC}/build.ninja post-patch: - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ - s|/usr/share/locale/locale|${LOCALBASE}/share/locale/locale|g' \ - ${WRKSRC}/glib/gutils.c ${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \ ${WRKSRC}/gio/gdbus-2.0/codegen/gdbus-codegen.in \ ${WRKSRC}/glib/gtester-report.in \ diff --git a/devel/glib20/files/patch-gio_tests_include.c b/devel/glib20/files/patch-gio_tests_include.c deleted file mode 100644 index 165c97b386e5..000000000000 --- a/devel/glib20/files/patch-gio_tests_include.c +++ /dev/null @@ -1,10 +0,0 @@ ---- glib/tests/include.c.orig 2012-03-06 12:11:39.000000000 +0100 -+++ glib/tests/include.c 2012-03-06 12:13:17.000000000 +0100 -@@ -3,6 +3,7 @@ - #define _POSIX_C_SOURCE 0 - #undef _GNU_SOURCE - #undef _XOPEN_SOURCE -+#include <sys/types.h> - #include <pthread.h> - #include <glib.h> - diff --git a/devel/glib20/files/patch-gio_xdgmime_xdgmimecache.h b/devel/glib20/files/patch-gio_xdgmime_xdgmimecache.h deleted file mode 100644 index 039571d8b496..000000000000 --- a/devel/glib20/files/patch-gio_xdgmime_xdgmimecache.h +++ /dev/null @@ -1,12 +0,0 @@ ---- gio/xdgmime/xdgmimecache.h.orig 2008-06-12 10:25:40.000000000 -0400 -+++ gio/xdgmime/xdgmimecache.h 2008-06-14 00:49:59.000000000 -0400 -@@ -46,6 +46,9 @@ typedef struct _XdgMimeCache XdgMimeCach - #define _xdg_mime_cache_get_icon XDG_RESERVED_ENTRY(cache_get_icon) - #define _xdg_mime_cache_get_generic_icon XDG_RESERVED_ENTRY(cache_get_generic_icon) - #define _xdg_mime_cache_glob_dump XDG_RESERVED_ENTRY(cache_glob_dump) -+#define _xdg_mime_cache_is_valid_mime_type XDG_RESERVED_ENTRY(cache_is_valid_mime_type) -+#define _xdg_mime_cache_mime_type_equal XDG_RESERVED_ENTRY(cache_mime_type_equal) -+#define _xdg_mime_cache_media_type_equal XDG_RESERVED_ENTRY(cache_media_type_equal) - #endif - - extern XdgMimeCache **_caches; diff --git a/devel/glib20/files/patch-glib_fix_hidden b/devel/glib20/files/patch-glib_fix_hidden deleted file mode 100644 index 813c49808fc2..000000000000 --- a/devel/glib20/files/patch-glib_fix_hidden +++ /dev/null @@ -1,10 +0,0 @@ ---- glib/gmem.c.orig 2011-02-10 00:31:42.000000000 +0100 -+++ glib/gmem.c 2011-12-07 00:21:38.000000000 +0100 -@@ -39,6 +39,7 @@ - #include "gbacktrace.h" - #include "gtestutils.h" - #include "gthread.h" -+#include "gthreadprivate.h" - #include "glib_trace.h" - -