Date: Wed, 19 May 2004 22:53:04 +0100 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tim@bishnet.net Subject: ports/66909: [MAINTAINER] sysutils/freecolor: Fix to work with new libstatgrab Message-ID: <E1BQYzo-000HtA-A1@pendennis.ukc.ac.uk> Resent-Message-ID: <200405192201.i4JM1eMF092475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66909 >Category: ports >Synopsis: [MAINTAINER] sysutils/freecolor: Fix to work with new libstatgrab >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 19 15:00:30 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 5.2.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Fri Apr 30 17:57:19 BST 2004 >Description: Fix to work with new libstatgrab. The new libstatgrab has a changed API. Until such a point as the freecolor author releases a new version that supports this API I've manually turned on the define to enable use of deprecated code. Added file(s): - files/patch-configure Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- freecolor-0.8.3_2.patch begins here --- Index: Makefile =================================================================== RCS file: /u1/freebsd/cvs/ports/sysutils/freecolor/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 19 May 2004 20:59:12 -0000 1.4 +++ Makefile 19 May 2004 21:47:15 -0000 @@ -7,7 +7,7 @@ PORTNAME= freecolor PORTVERSION= 0.8.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.rkeene.org/files/oss/freecolor/ Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 19 May 2004 21:46:54 -0000 @@ -0,0 +1,34 @@ +--- configure.bak Wed May 19 22:46:01 2004 ++++ configure Wed May 19 22:46:41 2004 +@@ -2940,6 +2940,7 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default ++#define SG_ENABLE_DEPRECATED + #include <statgrab.h> + _ACEOF + rm -f conftest.$ac_objext +@@ -2983,6 +2984,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#define SG_ENABLE_DEPRECATED + #include <statgrab.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 +@@ -3179,6 +3181,7 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default ++#define SG_ENABLE_DEPRECATED + #include <statgrab.h> + _ACEOF + rm -f conftest.$ac_objext +@@ -3222,6 +3225,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#define SG_ENABLE_DEPRECATED + #include <statgrab.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 Index: files/patch-freecolor.c =================================================================== RCS file: /u1/freebsd/cvs/ports/sysutils/freecolor/files/patch-freecolor.c,v retrieving revision 1.1 diff -u -r1.1 patch-freecolor.c --- files/patch-freecolor.c 7 Jan 2004 23:53:23 -0000 1.1 +++ files/patch-freecolor.c 19 May 2004 21:45:02 -0000 @@ -1,6 +1,13 @@ ---- freecolor.c.bak Wed Jan 7 20:04:01 2004 -+++ freecolor.c Wed Jan 7 20:04:13 2004 -@@ -62,9 +62,6 @@ +--- freecolor.c.bak Wed May 19 22:43:41 2004 ++++ freecolor.c Wed May 19 22:44:50 2004 +@@ -56,15 +56,13 @@ + #define PROC_MEMINFO "/proc/meminfo" + #endif + #else ++#define SG_ENABLE_DEPRECATED + #include <statgrab.h> + #endif + #include <string.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> --- freecolor-0.8.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BQYzo-000HtA-A1>