ports/irc/xchat2/files/patch-configure
Joe Marcus Clarke 3882cfb696 Update to 2.0.3.
2003-06-29 23:05:55 +00:00

35 lines
1.8 KiB
Text

--- configure.orig Sun Jun 29 18:53:35 2003
+++ configure Sun Jun 29 19:01:02 2003
@@ -10816,12 +10816,12 @@
/* end confdefs.h. */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *libintl_nl_domain_bindings;
int
main ()
{
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
;
return 0;
}
@@ -12799,7 +12799,7 @@
echo "$as_me:$LINENO: checking Python version" >&5
echo $ECHO_N "checking Python version... $ECHO_C" >&6
PY_VERSION=`$pythonpath -c 'import sys; print sys.version[:3]'`
- PY_PATH=`$pythonpath -c 'import sys ; print sys.path[1][5:]'`
+ PY_PATH=`$pythonpath -c 'import sys ; print sys.path[1][10:]'`
$pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
echo "$as_me:$LINENO: result: $PY_VERSION" >&5
echo "${ECHO_T}$PY_VERSION" >&6
@@ -12809,7 +12809,7 @@
PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
- PY_LIBS="-L$PY_EXEC_PREFIX/$PY_PATH/config -lpython$PY_VERSION -pthread -lutil"
+ PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython$PY_VERSION -pthread -lutil"
PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6