FreeBSD Bugzilla – Attachment 189964 Details for
Bug 225378
devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] fix mime search patch for non-default LOCALBASE
pr-glib20-mime-localbase.diff (text/plain), 956 bytes, created by
John Hein
on 2018-01-22 13:19:43 UTC
(
hide
)
Description:
[patch] fix mime search patch for non-default LOCALBASE
Filename:
MIME Type:
Creator:
John Hein
Created:
2018-01-22 13:19:43 UTC
Size:
956 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 459510) >+++ Makefile (working copy) >@@ -97,6 +97,8 @@ > @${REINPLACE_CMD} -e 's|inotify_support=yes|inotify_support=no| ; \ > s|-Werror|| ; \ > s|#define HAVE_SYS_INOTIFY_H 1||' ${WRKSRC}/configure >+ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ >+ ${WRKSRC}/gio/xdgmime/xdgmime.c > > post-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings >Index: files/patch-gio_xdgmime_xdgmime.c >=================================================================== >--- files/patch-gio_xdgmime_xdgmime.c (revision 459510) >+++ files/patch-gio_xdgmime_xdgmime.c (working copy) >@@ -5,7 +5,7 @@ > xdg_data_dirs = getenv ("XDG_DATA_DIRS"); > if (xdg_data_dirs == NULL) > - xdg_data_dirs = "/usr/local/share/:/usr/share/"; >-+ xdg_data_dirs = "/usr/local/share/"; >++ xdg_data_dirs = "%%LOCALBASE%%/share/"; > > ptr = xdg_data_dirs; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225378
:
189964
|
202168
|
202212
|
222005