1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Remove obsolete patch, this will unbreak the build.

Add a patch from the PR that was forgotten.
No bump because it didn't build after the update.

PR:		ports/155956
Submitted by:	Maxim Samsonov <xors@mne.ru>
This commit is contained in:
Koop Mast 2011-06-08 15:40:19 +00:00
parent 6d73d3b156
commit 4a18a0deaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275230
2 changed files with 13 additions and 16 deletions

View File

@ -1,16 +0,0 @@
--- configure.orig 2010-01-18 02:10:37.000000000 -0500
+++ configure 2010-01-18 02:10:56.000000000 -0500
@@ -10479,11 +10479,11 @@ py_exec_prefix=`$PYTHON -c "import sys;
-if test "x$PYTHON_LIBS" == x; then
+if test "x$PYTHON_LIBS" = x; then
PYTHON_LIBS="-L${py_prefix}/lib${libdirsuffix} -lpython${PYTHON_VERSION}"
fi
-if test "x$PYTHON_LIB_LOC" == x; then
+if test "x$PYTHON_LIB_LOC" = x; then
PYTHON_LIB_LOC="${py_prefix}/lib${libdirsuffix}"
fi

View File

@ -0,0 +1,13 @@
--- src/nautilus-python.c.orig 2011-06-08 17:41:34.000000000 +0200
+++ src/nautilus-python.c 2011-06-08 17:42:25.000000000 +0200
@@ -217,8 +217,8 @@ nautilus_python_init_python (void)
if (Py_IsInitialized())
return TRUE;
- debug("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0");
- libpython = g_module_open(PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0", 0);
+ debug("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1");
+ libpython = g_module_open(PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1", 0);
if (!libpython)
g_warning("g_module_open libpython failed: %s", g_module_error());