patches/ettercap-NG-01-nogcc.diff
author trisk
Sun, 17 Oct 2010 14:49:44 +0000
changeset 2961 4042805b29e6
permissions -rw-r--r--
2010-10-17 Albert Lee <[email protected]> * SFEboost-gpp.spec: Remove SUNWicu* dependencies added in error. * SFEettercap.spec: Update dependencies. Do not require gcc. Add patch1, patch2. * SFEfuse-exfat.spec: Bump to 0.9.2, drop upstreamed patches. Support SFEfusefs. * patches/ettercap-NG-01-nogcc.diff: Avoid gcc-specific flags. * patches/ettercap-NG-02-debian-521857.diff: Fix Debian #521857. * patches/fuse-exfat-01-sconstruct.diff, patches/fuse-exfat-02-byteorder.diff: Deleted.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2961
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
--- ettercap-NG-0.7.3.orig/configure.in	2005-01-13 04:24:28.000000000 -0500
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
+++ ettercap-NG-0.7.3/configure.in	2010-07-20 09:54:26.671584378 -0400
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
@@ -328,17 +328,23 @@
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
 [ case "$enableval" in
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
    yes)
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
       AC_DEFINE(DEBUG, 1)
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
-      DEBUG_FLAGS="-g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
+      if test "x$GCC" = xyes; then
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
+          DEBUG_FLAGS="-g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
+      fi
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
       AC_MSG_RESULT(yes)
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
       ac_ec_debug=yes
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
       ;;
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
    no)  AC_MSG_RESULT(no)
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15
-      DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    16
+      if test "x$GCC" = xyes; then
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    17
+          DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    18
+      fi
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    19
       ac_ec_debug=no
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    20
       ;;
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    21
 esac ],
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    22
    AC_MSG_RESULT(no)
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    23
-   DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    24
+   if test "x$GCC" = xyes; then
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    25
+       DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    26
+   fi
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    27
    ac_ec_debug=no
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    28
 )
4042805b29e6 2010-10-17 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    29