mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 07:19:16 -04:00
- Remove nox@ from MASTER_SITES (R.I.P. nox) - Take MAINTAINERSHIP - Add LICENSE (GPLv2) - Convert to OPTIONSNG - Fix patch files to be 'make makepatch' compatible - Fix Multiple Security Vulnerabilities [1] PR: 203112 [1] Submitted by: venture37@geeklan.co.uk [1] Security: CVE-2015-5165 [1] CVE-2015-5745 [1] CVE-2015-5154 [1] CVE-2015-5225 [1] Differential Revision: https://reviews.freebsd.org/D3691
61 lines
1.7 KiB
Text
61 lines
1.7 KiB
Text
--- configure.orig 2015-12-16 20:50:32 UTC
|
|
+++ configure
|
|
@@ -276,7 +276,7 @@ DSOSUF=".so"
|
|
LDFLAGS_SHARED="-shared"
|
|
modules="no"
|
|
prefix="/usr/local"
|
|
-mandir="\${prefix}/share/man"
|
|
+mandir="\${prefix}/man"
|
|
datadir="\${prefix}/share"
|
|
qemu_docdir="\${prefix}/share/doc/qemu"
|
|
bindir="\${prefix}/bin"
|
|
@@ -2241,7 +2241,7 @@ if test "$gtk" != "no"; then
|
|
gtk_cflags="$gtk_cflags $x11_cflags"
|
|
gtk_libs="$gtk_libs $x11_libs"
|
|
fi
|
|
- libs_softmmu="$gtk_libs $libs_softmmu"
|
|
+ libs_softmmu="$gtk_libs -lintl $libs_softmmu"
|
|
gtk="yes"
|
|
elif test "$gtk" = "yes"; then
|
|
feature_not_found "gtk" "Install gtk2 or gtk3 devel"
|
|
@@ -3864,14 +3864,7 @@ fi
|
|
|
|
# Check if tools are available to build documentation.
|
|
if test "$docs" != "no" ; then
|
|
- if has makeinfo && has pod2man; then
|
|
docs=yes
|
|
- else
|
|
- if test "$docs" = "yes" ; then
|
|
- feature_not_found "docs" "Install texinfo and Perl/perl-podlators"
|
|
- fi
|
|
- docs=no
|
|
- fi
|
|
fi
|
|
|
|
# Search for bswap_32 function
|
|
@@ -3999,6 +3992,17 @@ fi
|
|
|
|
# check for libusb
|
|
if test "$libusb" != "no" ; then
|
|
+ cat > $TMPC << EOF
|
|
+#include <libusb.h>
|
|
+
|
|
+int main(void) { return libusb_get_port_path(NULL, NULL, NULL, 0); }
|
|
+EOF
|
|
+ if compile_prog "-Werror" "-lusb -pthread" ; then
|
|
+ libusb="yes"
|
|
+ libusb_cflags=""
|
|
+ libusb_libs=-lusb
|
|
+ libs_softmmu="$libs_softmmu $libusb_libs"
|
|
+ else
|
|
if $pkg_config --atleast-version=1.0.13 libusb-1.0; then
|
|
libusb="yes"
|
|
libusb_cflags=$($pkg_config --cflags libusb-1.0)
|
|
@@ -4011,6 +4015,7 @@ if test "$libusb" != "no" ; then
|
|
fi
|
|
libusb="no"
|
|
fi
|
|
+ fi
|
|
fi
|
|
|
|
# check for usbredirparser for usb network redirection support
|