403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/apcupsd/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/apcupsd/files/patch-configure
--- configure.orig	2016-04-18 20:26:31 UTC
+++ configure
@@ -10584,7 +10584,7 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
- #include <tcpd.h>
+ #include "tcpd.h"
               int deny_severity = 0;
               int allow_severity = 0;
               struct request_info *req;
@@ -10636,7 +10636,7 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
- #include <tcpd.h>
+ #include "tcpd.h"
                    int deny_severity = 0;
                    int allow_severity = 0;
                    struct request_info *req;
@@ -12397,55 +12397,6 @@ $as_echo "$as_me: error: gethostbyname_r
    ;;
 esac
 
-if test -n "$GCC"; then
-   # Starting with GCC 3.0, you must link C++ programs against either
-   # libstdc++ (shared by default), or libsupc++ (always static).  If
-   # you care about binary portability between Linux distributions,
-   # you need to either 1) build your own GCC with static C++ libraries
-   # or 2) link using gcc and libsupc++.  We choose the latter since
-   # CUPS doesn't (currently) use any of the stdc++ library.
-   #
-   # Previous versions of GCC do not have the reliance on the stdc++
-   # or g++ libraries, so the extra supc++ library is not needed.
-   { $as_echo "$as_me:$LINENO: checking if libsupc++ is required" >&5
-$as_echo_n "checking if libsupc++ is required... " >&6; }
-
-   SUPC="`$CXX -print-file-name=libsupc++.a 2>/dev/null`"
-   case "$SUPC" in
-   libsupc++.a*)
-      # Library not found, so this is an older GCC...
-      LD="$CXX"
-      { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-      ;;
-   *)
-      # This is gcc 3.x, and it knows of libsupc++, so we need it
-      LIBS="$LIBS -lsupc++"
-      LD="$CC"
-      { $as_echo "$as_me:$LINENO: result: yes" >&5
-$as_echo "yes" >&6; }
-
-      # See if this system has a broken libsupc++ that requires
-      # a workaround (FreeBSD 5.x, 6.x)
-      case $host in
-         *-*-freebsd*)
-            { $as_echo "$as_me:$LINENO: checking if libsupc++ is missing __terminate_handler" >&5
-$as_echo_n "checking if libsupc++ is missing __terminate_handler... " >&6; }
-            nm -C --defined-only "$SUPC" 2>/dev/null | grep __terminate_handler > /dev/null
-            if test $? -eq 0 ; then
-               { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-            else
-               { $as_echo "$as_me:$LINENO: result: yes -- will attempt workaround" >&5
-$as_echo "yes -- will attempt workaround" >&6; }
-               LIBEXTRAOBJ="$LIBEXTRAOBJ libsupc++fix.cpp"
-            fi
-            ;;
-      esac
-      ;;
-   esac
-fi
-
 { $as_echo "$as_me:$LINENO: checking whether C compiler accepts -fno-exceptions" >&5
 $as_echo_n "checking whether C compiler accepts -fno-exceptions... " >&6; }
 if test "${ax_cv_check_cflags___fno_exceptions+set}" = set; then

Youez - 2016 - github.com/yon3zu
LinuXploit