[Bug 214338] [PATCH] devel/glib20: new kqueue() backend for file monitoring

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 25 16:32:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214338

lightside <lightside at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnome at FreeBSD.org,
                   |                            |lightside at gmx.com
 Attachment #195450|                            |maintainer-approval?(gnome@
              Flags|                            |FreeBSD.org)

--- Comment #45 from lightside <lightside at gmx.com> ---
Created attachment 195450
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195450&action=edit
Proposed patch (since 473551 revision)

Hello.

I tested build for patch in attachment #191448 after ports r473551 changes and
found following linker error on FreeBSD 10.4 amd64:
-8<--
./.libs/libgio-2.0.so: undefined reference to `mstosbt'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-->8-

Therefore, I added implementation for mstosbt function to files/kqueue_fnm.c
file, based on:
https://svnweb.freebsd.org/base?view=revision&revision=321686
https://svnweb.freebsd.org/base/head/sys/sys/time.h?view=markup&pathrev=321686#l198
https://svnweb.freebsd.org/base/head/sys/sys/param.h?revision=321688&view=markup#l61

The `make check-plist` command found some errors (excerpt):
-8<--
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/charset.alias
Error: Orphaned: share/doc/gio/GAction.html
<..>
Error: Orphaned: share/doc/gobject/up.png
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
<..>
-->8-

This is because of autoreconf usage on pre-configure-FAM_ALTBACKEND-on stage,
which overwrites previous changes for Makefile.in files (see bug #226920,
comment #4 for another explanation). I fixed this with using some sed changes
for ${WRKSRC}/gio/kqueue/Makefile.in file. The
files/extra-patch-gio_kqueue_Makefile.am patch was removed.

Attached modified patch.

Probably, there is a need to clarify description for FAM_ALTBACKEND option. For
example, usage of "Alternative" instead of "Alternate" word.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gnome mailing list