From 0321ce39afd09ae518004416c088852c0085cdd1 Mon Sep 17 00:00:00 2001 From: praszyk Date: Tue, 22 Nov 2005 12:01:56 +0000 Subject: [PATCH] Rebuild. --- slang-nointerlibc2.patch | 38 ++++++++++++++++++++++++++++++++++++++ slang.spec | 5 ++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 slang-nointerlibc2.patch diff --git a/slang-nointerlibc2.patch b/slang-nointerlibc2.patch new file mode 100644 index 0000000..030dfa0 --- /dev/null +++ b/slang-nointerlibc2.patch @@ -0,0 +1,38 @@ +--- slang-2.0.5/src/slcommon.c.nointerlibc 2005-10-17 08:00:18.000000000 +0200 ++++ slang-2.0.5/src/slcommon.c 2005-11-21 14:26:28.000000000 +0100 +@@ -191,19 +191,19 @@ + return p; + } + +-#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) +-extern int __libc_enable_secure; +-# define HAVE___LIBC_ENABLE_SECURE 1 +-#endif ++/* #if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) */ ++/* extern int __libc_enable_secure; */ ++/* # define HAVE___LIBC_ENABLE_SECURE 1 */ ++/* #endif */ + + int _pSLsecure_issetugid (void) + { + #ifdef HAVE_ISSETUGID + return (1 == issetugid ()); + #else +-# ifdef HAVE___LIBC_ENABLE_SECURE +- return __libc_enable_secure; +-# else ++/* # ifdef HAVE___LIBC_ENABLE_SECURE */ ++/* return __libc_enable_secure; */ ++/* # else */ + # if defined(HAVE_GETUID) && defined(HAVE_GETEUID) && defined(HAVE_GETGID) && defined(HAVE_GETEUID) + static int enable_secure; + if (enable_secure == 0) +@@ -218,7 +218,7 @@ + # else + return 0; + # endif +-# endif ++/* # endif */ + #endif + } + diff --git a/slang.spec b/slang.spec index a3d21a6..2c54605 100644 --- a/slang.spec +++ b/slang.spec @@ -3,7 +3,7 @@ Summary: The shared library for the S-Lang extension language. Name: slang Version: 2.0.5 -Release: 1 +Release: 3 License: GPL Group: System Environment/Libraries Source: ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.0/slang-%{version}.tar.bz2 @@ -85,6 +85,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_includedir}/slang %changelog +* Mon Nov 21 2005 Petr Raszyk - 2.0.5-3 +- Rebuild. + * Mon Nov 21 2005 Petr Raszyk - 2.0.5-1 - Upgrade to slang 20005. - (#161536). slang-nointerlibc.patch