mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Add patch to get freecolor working with new libstatgrab's
API. PR: ports/66909 Submitted by: maintainer
This commit is contained in:
parent
fede193112
commit
7e07c548fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109540
@ -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/
|
||||
|
||||
|
34
sysutils/freecolor/files/patch-configure
Normal file
34
sysutils/freecolor/files/patch-configure
Normal file
@ -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
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user