freebsd-ports/net/wmwifi
Tobias Kortkamp b3a65359bc net/wmwifi: Fix runtime on amd64
Currently wmwifi doesn't start on amd64 and simply fails with

wmwifi: No wireless interface found!

The code assumes that sizeof(int) == sizeof(size_t) which isn't the
case on amd64 (and other architectures) and all sysctl() calls will
fail because of it.

While here:

- Fix a build failure when automake+autoconf are installed in the
  build environment.  By patching configure.in the build wants to
  regenerate configure which doesn't work correctly:

gmake[1]: Entering directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd'
cd . && aclocal
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/usr/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/local/share/aclocal/gdk-pixbuf.m4:12:   run info Automake 'Extending aclocal'
/usr/local/share/aclocal/gdk-pixbuf.m4:12:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
cd . && automake --gnu Makefile
automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:6: error: required file './compile' not found
configure.in:6:   'automake --add-missing' can install 'compile'
gmake[1]: *** [Makefile:82: Makefile.in] Error 1
gmake[1]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd'
*** Error code 1

  Remove files/patch-configure.in and pass CFLAGS through
  CONFIGURE_ENV instead.

- Add LICENSE, LICENSE_FILE
- Add missing dependency on libXext

[1] https://forums.freebsd.org/threads/61981/

PR:		221531
Reported by:	forester on the FreeBSD forums [1]
Approved by:	uqs (maintainer)
MFH:		2017Q3
2017-08-15 19:09:51 +00:00
..
files
distinfo
Makefile
pkg-descr