[csw-devel] SF.net SVN: gar:[16293] csw/mgar/pkg/mc/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Nov 25 23:39:40 CET 2011


Revision: 16293
          http://gar.svn.sourceforge.net/gar/?rev=16293&view=rev
Author:   wahwah
Date:     2011-11-25 22:39:40 +0000 (Fri, 25 Nov 2011)
Log Message:
-----------
mc/trunk: update to 4.8, building on Solaris 10 only because of 'isblank'

Modified Paths:
--------------
    csw/mgar/pkg/mc/trunk/Makefile
    csw/mgar/pkg/mc/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/mc/trunk/files/0001-Ticket-2643-4.8.0-can-t-compile-on-OpenIndiana-Solar.patch

Modified: csw/mgar/pkg/mc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mc/trunk/Makefile	2011-11-25 16:14:21 UTC (rev 16292)
+++ csw/mgar/pkg/mc/trunk/Makefile	2011-11-25 22:39:40 UTC (rev 16293)
@@ -1,20 +1,32 @@
 # $Id$
 NAME = mc
-VERSION = 4.7.0.10
+VERSION = 4.8.0
 CATEGORIES = utils
 
 DESCRIPTION = A curses-based visual shell and file manager
 define BLURB
 endef
 
+# The function "isblank" is not there on Solaris 9, so we can either use
+# gnulib and build on Solaris 9, or build on Solaris 10.
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
 MASTER_SITES = http://www.midnight-commander.org/downloads/
-DISTFILES  = $(DISTNAME).tar.lzma
+DISTFILES  = $(DISTNAME).tar.bz2
 
-PATCHFILES = 0001-Honour-HAVE_STDINT_H.patch
+PATCHFILES = 0001-Ticket-2643-4.8.0-can-t-compile-on-OpenIndiana-Solar.patch
 
-# File name regex to get notifications about upstream software releases
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+EXTRA_LDFLAGS= -lsocket
 
+RUNTIME_DEP_PKGS_CSWmc += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWmc += CSWslang
+RUNTIME_DEP_PKGS_CSWmc += CSWglib2
+
+CHECKPKG_OVERRIDES_CSWmc += file-with-bad-content|/usr/local|root/etc/opt/csw/mc/mc.menu
+CHECKPKG_OVERRIDES_CSWmc += file-with-bad-content|/usr/local|root/etc/opt/csw/mc/mc.menu.sr
+CHECKPKG_OVERRIDES_CSWmc += file-with-bad-content|/usr/local|root/opt/csw/libexec/mc/extfs.d/README
+CHECKPKG_OVERRIDES_CSWmc += missing-dependency|CSWperl
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 include gar/category.mk

Modified: csw/mgar/pkg/mc/trunk/checksums
===================================================================
--- csw/mgar/pkg/mc/trunk/checksums	2011-11-25 16:14:21 UTC (rev 16292)
+++ csw/mgar/pkg/mc/trunk/checksums	2011-11-25 22:39:40 UTC (rev 16293)
@@ -1 +1 @@
-1c906166fcf1025c93ed37607085f33f  mc-4.7.0.10.tar.lzma
+592478c3edfa2ad64c8cd165b9bec446  mc-4.8.0.tar.bz2

Added: csw/mgar/pkg/mc/trunk/files/0001-Ticket-2643-4.8.0-can-t-compile-on-OpenIndiana-Solar.patch
===================================================================
--- csw/mgar/pkg/mc/trunk/files/0001-Ticket-2643-4.8.0-can-t-compile-on-OpenIndiana-Solar.patch	                        (rev 0)
+++ csw/mgar/pkg/mc/trunk/files/0001-Ticket-2643-4.8.0-can-t-compile-on-OpenIndiana-Solar.patch	2011-11-25 22:39:40 UTC (rev 16293)
@@ -0,0 +1,28 @@
+From 27041586cabe71426cf12095f76a0a8621e4894a Mon Sep 17 00:00:00 2001
+From: Andrew Borodin <aborodin at vmail.ru>
+Date: Sun, 23 Oct 2011 14:52:39 +0400
+Subject: [PATCH] Ticket #2643: 4.8.0 can't compile on OpenIndiana (Solaris)
+
+lib/vfs/parse_ls_vga.c: added #include "lib/unixcompat.h" where makedev
+macro is defined.
+
+Signed-off-by: Andrew Borodin <aborodin at vmail.ru>
+---
+ lib/vfs/parse_ls_vga.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/lib/vfs/parse_ls_vga.c b/lib/vfs/parse_ls_vga.c
+index 8091c14..994c744 100644
+--- a/lib/vfs/parse_ls_vga.c
++++ b/lib/vfs/parse_ls_vga.c
+@@ -41,6 +41,7 @@
+ #include <stdlib.h>
+ 
+ #include "lib/global.h"
++#include "lib/unixcompat.h"     /* makedev */
+ #include "lib/widget.h"         /* message() */
+ 
+ #include "utilvfs.h"
+-- 
+1.7.3.5
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list