SOURCES: xorp-configure.patch (NEW), xorp-curses.patch (NEW), xorp...
alucard
alucard at pld-linux.org
Fri Mar 30 13:24:48 CEST 2007
Author: alucard Date: Fri Mar 30 11:24:48 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- xorp 1.4
---- Files affected:
SOURCES:
xorp-configure.patch (NONE -> 1.1) (NEW), xorp-curses.patch (NONE -> 1.1) (NEW), xorp-tests.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xorp-configure.patch
diff -u /dev/null SOURCES/xorp-configure.patch:1.1
--- /dev/null Fri Mar 30 13:24:48 2007
+++ SOURCES/xorp-configure.patch Fri Mar 30 13:24:43 2007
@@ -0,0 +1,37 @@
+--- xorp-1.4/configure.in 2007-03-14 19:59:04.000000000 +0100
++++ xorp-1.4/configure.in 2007-03-26 20:20:59.000000000 +0200
+@@ -875,20 +875,20 @@ dnl GCC-specific warning flags
+ dnl -----------------------------------------
+
+ if test "${GCC}" = "yes" ; then
+- dnl
+- dnl Filter-out the "-g" flag
+- dnl
+- CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
+- CXXFLAGS=`echo $CXXFLAGS | sed 's/-g//g'`
+-
+- dnl
+- dnl If debugging is enabled, try to add the "-g" flag
+- dnl
+- if test "${enable_debug}" = "yes" ; then
+- XR_TRY_ADD_CFLAGS("-g")
+- XR_TRY_ADD_CXXFLAGS("-g")
+- fi
+-
++# dnl
++# dnl Filter-out the "-g" flag
++# dnl
++# CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
++# CXXFLAGS=`echo $CXXFLAGS | sed 's/-g//g'`
++#
++# dnl
++# dnl If debugging is enabled, try to add the "-g" flag
++# dnl
++# if test "${enable_debug}" = "yes" ; then
++# XR_TRY_ADD_CFLAGS("-g")
++# XR_TRY_ADD_CXXFLAGS("-g")
++# fi
++#
+ dnl
+ dnl TODO: add -ansi -pedantic
+ dnl XXX: Flag -Wtraditional is not recommended for C, because:
================================================================
Index: SOURCES/xorp-curses.patch
diff -u /dev/null SOURCES/xorp-curses.patch:1.1
--- /dev/null Fri Mar 30 13:24:48 2007
+++ SOURCES/xorp-curses.patch Fri Mar 30 13:24:43 2007
@@ -0,0 +1,13 @@
+--- xorp-1.3/cli/libtecla/getline.c 2005-12-21 09:42:52.000000000 +0000
++++ xorp-1.3/cli/libtecla/getline.c 2007-01-09 18:50:07.000000000 +0000
+@@ -65,8 +65,8 @@
+ * ANSI VT100 control sequences are used.
+ */
+ #if defined(USE_TERMINFO)
+-#include <curses.h>
+-#include <term.h>
++#include <ncurses/curses.h>
++#include <ncurses/term.h>
+ #elif defined(USE_TERMCAP)
+ #if defined(HAVE_TERMCAP_H)
+ #include <termcap.h>
================================================================
Index: SOURCES/xorp-tests.patch
diff -u /dev/null SOURCES/xorp-tests.patch:1.1
--- /dev/null Fri Mar 30 13:24:48 2007
+++ SOURCES/xorp-tests.patch Fri Mar 30 13:24:43 2007
@@ -0,0 +1,11 @@
+--- xorp-1.4/libxorp/test_run_command.cc 2007-02-16 22:46:25.000000000 +0000
++++ xorp-1.4/libxorp/test_run_command.cc 2007-03-26 17:39:01.000000000 +0000
+@@ -35,7 +35,7 @@
+ #define AWK_VIA_SHELL_PATH "/bin/gawk"
+ #else
+ #define SLEEP_PATH "/bin/sleep"
+-#define AWK_PATH "/usr/bin/awk"
++#define AWK_PATH "/bin/awk"
+ #define AWK_VIA_SHELL_PATH AWK_PATH
+ #endif
+
================================================================
More information about the pld-cvs-commit
mailing list