summaryrefslogtreecommitdiff
path: root/lang/python21/patches
diff options
context:
space:
mode:
authordrochner <drochner>2003-06-06 18:14:09 +0000
committerdrochner <drochner>2003-06-06 18:14:09 +0000
commite01495d7a5772d9f54feecfad36dfee3f4bdaebc (patch)
tree1386f204c2f990509a183447721c863ac7445318 /lang/python21/patches
parentcbcd52aff82d5accbbd7c763e6be8370c2012598 (diff)
downloadpkgsrc-e01495d7a5772d9f54feecfad36dfee3f4bdaebc.tar.gz
add the LINK_ALL_LIBGCC_HACK variable to the interpreter's link line,
so that dynamic libraries using libgcc functions can be loaded should fix PR pkg/16144 by Brett Slager
Diffstat (limited to 'lang/python21/patches')
-rw-r--r--lang/python21/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python21/patches/patch-af b/lang/python21/patches/patch-af
new file mode 100644
index 00000000000..c95cd3fc1fa
--- /dev/null
+++ b/lang/python21/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2003/06/06 18:14:11 drochner Exp $
+
+--- Makefile.pre.in.orig 2003-06-06 19:47:05.000000000 +0200
++++ Makefile.pre.in 2003-06-06 19:47:33.000000000 +0200
+@@ -274,7 +274,7 @@
+ $(PYTHON): Modules/$(MAINOBJ) $(LDLIBRARY)
+ $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
+ Modules/$(MAINOBJ) \
+- $(LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
++ $(LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) ${LINK_ALL_LIBGCC_HACK}
+
+ platform: $(PYTHON)
+ ./$(PYTHON) -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform