summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-02-15 23:11:14 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-02-15 23:11:14 +0000
commit814aeb379ac6204ab8a052b8aacc487ec4c3fe1d (patch)
tree008663c9227e29b1a2405fd44c3f84a84a3e6b56 /dev-games
parentmasked for a year - gone (diff)
downloadgentoo-2-814aeb379ac6204ab8a052b8aacc487ec4c3fe1d.tar.gz
gentoo-2-814aeb379ac6204ab8a052b8aacc487ec4c3fe1d.tar.bz2
gentoo-2-814aeb379ac6204ab8a052b8aacc487ec4c3fe1d.zip
remove clanlib-0.6
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/clanlib/clanlib-0.6.5-r4.ebuild94
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-64bit.patch37
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-DirectFB-update.patch83
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-bounds.patch11
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-freetype.patch17
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-gcc3.patch106
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch56
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-uclibc.patch64
8 files changed, 0 insertions, 468 deletions
diff --git a/dev-games/clanlib/clanlib-0.6.5-r4.ebuild b/dev-games/clanlib/clanlib-0.6.5-r4.ebuild
deleted file mode 100644
index bde5d4835a91..000000000000
--- a/dev-games/clanlib/clanlib-0.6.5-r4.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.6.5-r4.ebuild,v 1.3 2007/07/22 09:50:49 graaff Exp $
-
-inherit eutils flag-o-matic multilib
-
-DESCRIPTION="multi-platform game development library"
-HOMEPAGE="http://www.clanlib.org/"
-SRC_URI="http://www.clanlib.org/download/legacy/ClanLib-${PV}-1.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0.6"
-KEYWORDS="amd64 x86" #not big endian safe #82779
-IUSE="arts oss esd alsa png opengl truetype X vorbis mikmod jpeg directfb joystick"
-
-DEPEND=">=media-libs/hermes-1.3.2
- X? (
- media-libs/mesa
- x11-libs/libXt
- x11-proto/inputproto
- x11-proto/xf86vidmodeproto
- )
- png? ( media-libs/libpng )
- jpeg? ( >=media-libs/jpeg-6b )
- mikmod? ( >=media-libs/libmikmod-3.1.9 )
- truetype? ( >=media-libs/freetype-2.0 )
- directfb? ( dev-libs/DirectFB )
- vorbis? ( media-libs/libvorbis )"
-RDEPEND="${DEPEND}
- media-libs/mesa
- x11-libs/libXmu
- x11-libs/libXxf86vm"
-
-S=${WORKDIR}/ClanLib-${PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc3.patch
- epatch "${FILESDIR}"/${P}-DirectFB-update.patch
- epatch "${FILESDIR}"/${P}-freetype.patch
- epatch "${FILESDIR}"/${P}-gcc41.patch
- epatch "${FILESDIR}"/${P}-uclibc.patch
- epatch "${FILESDIR}"/${P}-{64bit,bounds}.patch
- sed -i 's:@comp_mode@::' Setup/Unix/clanlib-config.in
-}
-
-src_compile() {
- local myconf=""
-
- replace-flags -O? -O2
-
- use jpeg || myconf="${myconf} --enable-smalljpeg"
- use alsa || use oss || use esd || use arts \
- && myconf="${myconf} --enable-clansound" \
- || myconf="${myconf} --disable-clansound"
-
- econf \
- --libdir=/usr/$(get_libdir)/${P} \
- --includedir=/usr/include/${P} \
- --enable-network \
- $(use_enable x86 asm386) \
- --disable-lua \
- --enable-dyn \
- $(use_enable X x11) \
- $(use_enable directfb) \
- $(use_enable opengl) \
- $(use_enable vorbis) \
- $(use_enable png) \
- $(use_enable truetype ttf) \
- $(use_enable mikmod) \
- $(use_enable joystick) \
- --enable-vidmode \
- ${myconf} || die
-
- emake || die "emake failed"
-}
-
-src_install() {
- make install \
- prefix="${D}"/usr \
- LIB_PREFIX="${D}"/usr/$(get_libdir)/${P} \
- INC_PREFIX="${D}"/usr/include/${P} \
- || die "make install failed"
- mv "${D}"/usr/bin/clanlib{,0.6}-config
- dodoc BUGS CODING_STYLE HARDWARE NEWS PATCHES PORTING README* ROADMAP INSTALL.linux
-
- # setup links for runtime
- cd "${D}"/usr/$(get_libdir)
- local l
- for l in ${P}/*.2 ; do
- ln -s ${l}
- done
-}
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-64bit.patch b/dev-games/clanlib/files/clanlib-0.6.5-64bit.patch
deleted file mode 100644
index 5cacb50c4fc8..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-64bit.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- Sources/SmallJPEG/jpgd/jpegdecoder.cpp.old 2006-09-13 00:08:55.000000000 +0200
-+++ Sources/SmallJPEG/jpgd/jpegdecoder.cpp 2006-09-13 00:10:41.000000000 +0200
-@@ -19,6 +19,7 @@
- // License along with this library; if not, write to the Free Software
- // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- //------------------------------------------------------------------------------
-+#include <stdint.h>
- #include "jpegdecoder.h"
- //------------------------------------------------------------------------------
- // Coefficients are stored in this sequence in the data stream.
-@@ -102,7 +103,7 @@
- blocks[i] = q;
-
- // Round to qword boundry, to avoid misaligned accesses with MMX code
-- return ((void *)(((uint)q + 7) & ~7));
-+ return ((void *)(((uintptr_t)q + 7) & ~7));
- }
- //------------------------------------------------------------------------------
- // Clear buffer to word values.
-@@ -1870,7 +1871,7 @@
- q = (uchar *)alloc(max_blocks_per_row * 64 * sizeof(BLOCK_TYPE) + 8);
-
- // Align to 8-byte boundry, for MMX code
-- q = (uchar *)(((uint)q + 7) & ~7);
-+ q = (uchar *)(((uintptr_t)q + 7) & ~7);
-
- // The block_seg[] array's name dates back to the
- // 16-bit assembler implementation. "seg" stood for "segment".
-@@ -1880,7 +1881,7 @@
- for (i = 0; i < max_blocks_per_row; i++)
- block_max_zag_set[i] = 64;
-
-- Psample_buf = (uchar *)(((uint)alloc(max_blocks_per_row * 64 + 8) + 7) & ~7);
-+ Psample_buf = (uchar *)(((uintptr_t)alloc(max_blocks_per_row * 64 + 8) + 7) & ~7);
-
- total_lines_left = image_y_size;
-
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-DirectFB-update.patch b/dev-games/clanlib/files/clanlib-0.6.5-DirectFB-update.patch
deleted file mode 100644
index 85e9f367f9f2..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-DirectFB-update.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-DirectFB no longer defines DSPF_RGB15 since it was really just a
-ghetto shortcut to DSPF_ARGB1555.
-
-http://bugs.gentoo.org/77034
-http://www.directfb.org/index.php/viewcvs.cgi/DirectFB/include/directfb.h.diff?r1=1.194&r2=1.195
-
---- ClanLib-0.6.5/Sources/Display/Display/DirectFB/target_directfb.cpp
-+++ ClanLib-0.6.5/Sources/Display/Display/DirectFB/target_directfb.cpp
-@@ -147,7 +147,7 @@
- {
- case DSPF_A8:
- return 0;
-- case DSPF_RGB15:
-+ case DSPF_ARGB1555:
- return 0x007c00;
- case DSPF_RGB16:
- return 0x00f800;
-@@ -170,7 +168,7 @@
- {
- case DSPF_A8:
- return 0;
-- case DSPF_RGB15:
-+ case DSPF_ARGB1555:
- return 0x0003e0;
- case DSPF_RGB16:
- return 0x0007e0;
-@@ -193,7 +189,7 @@
- {
- case DSPF_A8:
- return 0;
-- case DSPF_RGB15:
-+ case DSPF_ARGB1555:
- case DSPF_RGB16:
- return 0x00001f;
- case DSPF_RGB24:
-@@ -215,7 +210,7 @@
- {
- case DSPF_A8:
- return 0xff;
-- case DSPF_RGB15:
-+ case DSPF_ARGB1555:
- case DSPF_RGB16:
- case DSPF_RGB24:
- case DSPF_RGB32:
-
-The DIKI_ALTGR enum has been cut in favor of just using DIKI_ALT_R
-
-http://bugs.gentoo.org/132945
-
---- ClanLib-0.6.5/Sources/Display/Input/DirectFB/keyboard_directfb.cpp
-+++ ClanLib-0.6.5/Sources/Display/Input/DirectFB/keyboard_directfb.cpp
-@@ -17,6 +17,9 @@
- #ifdef USE_DIRECTFB
-
- #include <directfb.h>
-+#include <directfb_version.h>
-+#define DFB_V(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-+#define DFB_VERSION DFB_V(DIRECTFB_MAJOR_VERSION, DIRECTFB_MINOR_VERSION, DIRECTFB_MICRO_VERSION)
-
- #include <stdlib.h>
- #include <stdio.h>
-@@ -243,7 +244,9 @@
- case DIKI_SHIFT_R: return CL_KEY_RSHIFT;
- case DIKI_ALT_L: return CL_KEY_ALT;
- case DIKI_ALT_R: return CL_KEY_ALT;
-+#if DFB_VERSION < DFB_V(0,9,25)
- case DIKI_ALTGR: return CL_KEY_ALTGR;
-+#endif
- case DIKI_TAB: return CL_KEY_TAB;
- case DIKI_ENTER: return CL_KEY_ENTER;
- case DIKI_SPACE: return CL_KEY_SPACE;
-@@ -337,7 +340,11 @@
- case CL_KEY_LSHIFT: return DIKI_SHIFT_L;
- case CL_KEY_RSHIFT: return DIKI_SHIFT_R;
- case CL_KEY_ALT: return DIKI_ALT_L;
-+#if DFB_VERSION < DFB_V(0,9,25)
- case CL_KEY_ALTGR: return DIKI_ALTGR;
-+#else
-+ case CL_KEY_ALTGR: return DIKI_ALT_R;
-+#endif
- case CL_KEY_TAB: return DIKI_TAB;
- case CL_KEY_ENTER: return DIKI_ENTER;
- case CL_KEY_SPACE: return DIKI_SPACE;
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch b/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch
deleted file mode 100644
index c58df4c58cdd..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Sources/Display/Display/Generic/blit_transparent.cpp.old 2006-09-14 00:48:06.000000000 +0200
-+++ Sources/Display/Display/Generic/blit_transparent.cpp 2006-09-14 00:49:16.000000000 +0200
-@@ -278,6 +278,8 @@
- unsigned int dest_pitch = target->get_pitch();
-
- unsigned char *dest = (unsigned char *) target->get_data();
-+ if (y == 0)
-+ y = 1;
- dest += x*sizeof(T) + (y-1)*dest_pitch;
-
- // T *dd;
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch b/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch
deleted file mode 100644
index d15b5c607931..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Make sure freetype is included properly.
-Patch by Jim Ramsay.
-
-http://bugs.gentoo.org/show_bug.cgi?id=76533
-
---- Sources/TTF/font_ttf.cpp
-+++ Sources/TTF/font_ttf.cpp
-@@ -21,7 +21,8 @@
- #include <malloc.h>
- #include "Display/Font/font_generic.h"
-
--#include <freetype/freetype.h>
-+#include <ft2build.h>
-+#include FT_FREETYPE_H
-
- #include "font_ttf.h"
-
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-gcc3.patch b/dev-games/clanlib/files/clanlib-0.6.5-gcc3.patch
deleted file mode 100644
index 932e1f244f98..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-gcc3.patch
+++ /dev/null
@@ -1,106 +0,0 @@
---- Sources/GL/GLX/displaycard_glx.cpp
-+++ Sources/GL/GLX/displaycard_glx.cpp
-@@ -14,6 +14,8 @@
-
- #ifdef USE_OPENGL
-
-+#define GLX_GLXEXT_PROTOTYPES
-+
- #include <X11/Xlib.h>
- #include <X11/Xutil.h>
- #include <X11/cursorfont.h>
---- Sources/Display/Display/DirectFB/target_directfb.cpp
-+++ Sources/Display/Display/DirectFB/target_directfb.cpp
-@@ -104,7 +104,7 @@
-
- unsigned int CL_Target_DirectFB::get_width() const
- {
-- unsigned int width = 0;
-+ int width = 0;
-
- surface->GetSize (surface, &width, NULL);
-
-@@ -113,7 +113,7 @@
-
- unsigned int CL_Target_DirectFB::get_height() const
- {
-- unsigned int height = 0;
-+ int height = 0;
-
- surface->GetSize (surface, NULL, &height);
-
-@@ -263,7 +263,7 @@
-
- void CL_Target_DirectFB::Clear (float r, float g, float b, float a)
- {
-- unsigned int width, height;
-+ int width, height;
-
- surface->GetSize (surface, &width, &height);
-
---- Sources/Core/IOData/Unix/directory_scanner_unix.cpp
-+++ Sources/Core/IOData/Unix/directory_scanner_unix.cpp
-@@ -21,6 +21,7 @@
- #include <fnmatch.h>
- #include <unistd.h>
- #include "directory_scanner_unix.h"
-+#include <assert.h>
-
- CL_DirectoryScanner_Unix::CL_DirectoryScanner_Unix ()
- : dir_temp (NULL), entry (NULL)
---- Sources/Core/System/Unix/appconf.h
-+++ Sources/Core/System/Unix/appconf.h
-@@ -527,7 +527,9 @@
-
- //protected: --- if FileConfig::ConfigEntry is not public, functions in
- // ConfigGroup such as Find/AddEntry can't return ConfigEntry*!
-+ protected:
- class ConfigGroup;
-+ public:
- class ConfigEntry
- {
- private:
---- Sources/Display/Display/Generic/blit_alphamask_rle.h
-+++ Sources/Display/Display/Generic/blit_alphamask_rle.h
-@@ -107,14 +107,14 @@
- {
- T a = alpha_data[x];
- T destval = dst_data[x];
-- T r = lookup_r[(((destval&rmask)>>rstart)<<8)+a]; //(((destval&rmask)>>rstart)*a)>>8;
-- T g = lookup_g[(((destval&gmask)>>gstart)<<8)+a]; //(((destval&gmask)>>gstart)*a)>>8;
-- T b = lookup_b[(((destval&bmask)>>bstart)<<8)+a]; //(((destval&bmask)>>bstart)*a)>>8;
-+ T r = this->lookup_r[(((destval&this->rmask)>>this->rstart)<<8)+a]; //(((destval&rmask)>>rstart)*a)>>8;
-+ T g = this->lookup_g[(((destval&this->gmask)>>this->gstart)<<8)+a]; //(((destval&gmask)>>gstart)*a)>>8;
-+ T b = this->lookup_b[(((destval&this->bmask)>>this->bstart)<<8)+a]; //(((destval&bmask)>>bstart)*a)>>8;
-
- T amix =
-- (r<<rstart) +
-- (g<<gstart) +
-- (b<<bstart);
-+ (r<<this->rstart) +
-+ (g<<this->gstart) +
-+ (b<<this->bstart);
-
- dst_data[x] = amix + *(src_data++);
- }
-@@ -151,13 +151,13 @@
- {
- T a = alpha_data[x];
- T destval = dst_buf[x];
-- T r = lookup_r[(((destval&rmask)>>rstart)<<8)+a];
-- T g = lookup_g[(((destval&gmask)>>gstart)<<8)+a];
-- T b = lookup_b[(((destval&bmask)>>bstart)<<8)+a];
-+ T r = this->lookup_r[(((destval&this->rmask)>>this->rstart)<<8)+a];
-+ T g = this->lookup_g[(((destval&this->gmask)>>this->gstart)<<8)+a];
-+ T b = this->lookup_b[(((destval&this->bmask)>>this->bstart)<<8)+a];
- T amix =
-- (r<<rstart) +
-- (g<<gstart) +
-- (b<<bstart);
-+ (r<<this->rstart) +
-+ (g<<this->gstart) +
-+ (b<<this->bstart);
- dst_buf[x] = amix + *(src_data++);
- }
- memcpy(dst_data, dst_buf, sizeof(T)*rep);
-
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch b/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch
deleted file mode 100644
index b9acb24f41fb..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- Sources/GUI/messagebox_generic.h.old 2005-12-05 10:53:26.000000000 +0100
-+++ Sources/GUI/messagebox_generic.h 2005-12-05 10:53:56.000000000 +0100
-@@ -26,7 +26,7 @@
- const std::string &button2,
- const std::string &button3);
-
-- CL_MessageBox_Generic::~CL_MessageBox_Generic();
-+ ~CL_MessageBox_Generic();
-
- void set_text(const std::string &text);
-
---- Sources/SmallJPEG/jpgd/jpegdecoder.h.old 2005-12-05 10:58:53.000000000 +0100
-+++ Sources/SmallJPEG/jpgd/jpegdecoder.h 2005-12-05 11:00:50.000000000 +0100
-@@ -493,26 +493,26 @@
-
- void find_eoi(void);
- //------------------
-- /*inline*/ uint jpeg_decoder::rol(uint i, uchar j);
-- /*inline*/ uint jpeg_decoder::get_char(void);
-- /*inline*/ uint jpeg_decoder::get_char(bool *Ppadding_flag);
-- /*inline*/ void jpeg_decoder::stuff_char(uchar q);
-- /*inline*/ uchar jpeg_decoder::get_octet(void);
-- /*inline*/ uint jpeg_decoder::get_bits_1(int num_bits);
-- /*inline*/ uint jpeg_decoder::get_bits_2(int numbits);
-- /*inline*/ int jpeg_decoder::huff_decode(Phuff_tables_t Ph);
-+ /*inline*/ uint rol(uint i, uchar j);
-+ /*inline*/ uint get_char(void);
-+ /*inline*/ uint get_char(bool *Ppadding_flag);
-+ /*inline*/ void stuff_char(uchar q);
-+ /*inline*/ uchar get_octet(void);
-+ /*inline*/ uint get_bits_1(int num_bits);
-+ /*inline*/ uint get_bits_2(int numbits);
-+ /*inline*/ int huff_decode(Phuff_tables_t Ph);
- #ifdef SUPPORT_X86ASM
-- /*inline*/ uint jpeg_decoder::huff_extend(uint i, int c);
-+ /*inline*/ uint huff_extend(uint i, int c);
- #endif
-- /*inline*/ uchar jpeg_decoder::clamp(int i);
-+ /*inline*/ uchar clamp(int i);
-
- #ifdef SUPPORT_MMX
-- /*inline*/ uint jpeg_decoder::get_high_byte_mmx(void);
-- /*inline*/ uint jpeg_decoder::get_high_word_mmx(void);
-- /*inline*/ void jpeg_decoder::get_bits_2_mmx_init(void);
-- /*inline*/ void jpeg_decoder::get_bits_2_mmx_deinit(void);
-- /*inline*/ uint jpeg_decoder::get_bits_2_mmx(int numbits);
-- /*inline*/ int jpeg_decoder::huff_decode_mmx(Phuff_tables_t Ph);
-+ /*inline*/ uint get_high_byte_mmx(void);
-+ /*inline*/ uint get_high_word_mmx(void);
-+ /*inline*/ void get_bits_2_mmx_init(void);
-+ /*inline*/ void get_bits_2_mmx_deinit(void);
-+ /*inline*/ uint get_bits_2_mmx(int numbits);
-+ /*inline*/ int huff_decode_mmx(Phuff_tables_t Ph);
- #endif
- //------------------
- int image_x_size;
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-uclibc.patch b/dev-games/clanlib/files/clanlib-0.6.5-uclibc.patch
deleted file mode 100644
index 3bace3e396a4..000000000000
--- a/dev-games/clanlib/files/clanlib-0.6.5-uclibc.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-Add support for building on uClibc systems
-
-http://bugs.gentoo.org/135081
-
-Patch by James Le Cuirot
-
---- ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/cdaudio_linux.cpp
-+++ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/cdaudio_linux.cpp
-@@ -19,7 +19,7 @@
- #include <fcntl.h>
-
- #ifndef Solaris // we'll need to define Solaris
--#include <fstab.h> // there's no fstab.h on Solaris...
-+#include <mntent.h> // not sure if mntent.h is on Solaris...
- #else
- #include <sys/vfstab.h> //...but vfstab.h
- #endif
-@@ -82,17 +82,17 @@
-
- // We start by looking the mounttab:
-
--#ifdef Solaris
- FILE *f_mnttab = fopen("/etc/mnttab", "r");
-+#ifdef Solaris
- vfstab *mount_file;
- getvfsent(f_mnttab, mount_file);
- #else
-- fstab *mount_file = getfsent();
-+ mntent *mount_file = getmntent(f_mnttab);
- #endif
- while(mount_file != NULL)
- {
- #ifndef Solaris
-- if(strncmp(mount_file->fs_vfstype,"iso9660",7)==0)
-+ if(strncmp(mount_file->mnt_type,"iso9660",7)==0)
- #else
- if(strncmp(mount_file->vfs_fstype,"iso9660",7)==0) // ugly code... suggestions ?
- #endif
-@@ -100,7 +100,7 @@
- try
- {
- #ifndef Solaris
-- CL_CDAudio::cd_drives.push_back(new CL_CDDrive_Linux(mount_file->fs_spec));
-+ CL_CDAudio::cd_drives.push_back(new CL_CDDrive_Linux(mount_file->mnt_fsname));
- #else
- CL_CDAudio::cd_drives.push_back(new CL_CDDrive_Linux(mount_file->vfs_special));
- #endif
-@@ -112,14 +112,14 @@
- }
- }
- #ifndef Solaris
-- mount_file = getfsent();
-+ mount_file = getmntent(f_mnttab);
- #else
- getvfsent(f_mnttab, mount_file);
- #endif
- // cout << mount_file->fs_vfstype << endl;
- }
- #ifndef Solaris
-- endfsent();
-+ endmntent(f_mnttab);
- #else
- fclose(f_mnttab);
- #endif