patches/Python26-10-gethostname.diff
author laca
Fri, 23 Jan 2009 20:52:43 +0000
branchgnome-2-24
changeset 14178 eceff40e7580
permissions -rw-r--r--
2009-01-23 Laszlo (Laca) Peter <[email protected]> * SUNWPython.spec: add patch cflags.diff, fixes 6792612 * SUNWPython25.spec: same for 2.5 * patches/Python-13-cflags.diff: (new) patch for 6792612 * patches/Python25-12-cflags.diff: (new) patch for 6792612 * SUNWPython26.spec: (new) copied from trunk * copyright/SUNWPython26.copyright: (new) copied from trunk * patches/Python26-01-solaris-lib-dirs.diff: (new) copied from trunk * patches/Python26-02-pycc.diff: (new) copied from trunk * patches/Python26-03-distutils-pycc.diff: (new) copied from trunk * patches/Python26-04-distutils-log.diff: (new) copied from trunk * patches/Python26-05-isalibs.diff: (new) copied from trunk * patches/Python26-06-write_compiled_module-atomic.diff: (new) copied from trunk * patches/Python26-07-dtrace.diff: (new) copied from trunk * patches/Python26-08-ctypes.diff: (new) copied from trunk * patches/Python26-09-ucred.diff: (new) copied from trunk * patches/Python26-10-gethostname.diff: (new) copied from trunk * patches/Python26-11-dlpi.diff: (new) copied from trunk * patches/Python26-12-encoding-alias.diff: (new) copied from trunk * patches/Python26-13-cflags.diff: (new) copied from trunk

--- Python-2.4.4/Include/pyport.h.orig	2008-02-04 20:36:04.962673898 +1300
+++ Python-2.4.4/Include/pyport.h	2008-02-04 20:36:23.745132109 +1300
@@ -376,11 +376,6 @@
 in platform-specific #ifdefs.
 **************************************************************************/
 
-#ifdef SOLARIS
-/* Unchecked */
-extern int gethostname(char *, int);
-#endif
-
 #ifdef __BEOS__
 /* Unchecked */
 /* It's in the libs, but not the headers... - [cjh] */