mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
- fix utmp.h -> utmpx.h
fixes are included in upstream e-mail so this is temporary PR: ports/143113 Submitted by: Giorgos Keramidas <keramida@freebsd.org> (maintainer)
This commit is contained in:
parent
324475ff00
commit
14046789e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249073
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
@ -39,6 +40,7 @@ INSTALLS_ICONS= yes
|
||||
|
||||
EMACS_VER= 23.1
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf:262
|
||||
USE_GMAKE= yes
|
||||
USE_BZIP2= yes
|
||||
|
||||
|
11
editors/emacs/files/patch-ChangeLog
Normal file
11
editors/emacs/files/patch-ChangeLog
Normal file
@ -0,0 +1,11 @@
|
||||
--- ChangeLog.orig 2009-07-29 18:10:35.000000000 +0300
|
||||
+++ ChangeLog 2010-01-23 11:35:20.591761496 +0200
|
||||
@@ -1,3 +1,8 @@
|
||||
+2010-01-18 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
|
||||
+
|
||||
+ * configure.in: Check for utmp.h availability, since some
|
||||
+ systems don't have one (e.g. FreeBSD 9.X and later versions).
|
||||
+
|
||||
2009-07-29 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* Version 23.1 released.
|
11
editors/emacs/files/patch-configure.in
Normal file
11
editors/emacs/files/patch-configure.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.in.orig 2009-07-29 18:09:49.000000000 +0300
|
||||
+++ configure.in 2010-01-23 11:34:48.296987092 +0200
|
||||
@@ -1014,7 +1014,7 @@
|
||||
linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
|
||||
termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
|
||||
sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
|
||||
- sys/utsname.h pwd.h)
|
||||
+ sys/utsname.h pwd.h utmp.h)
|
||||
|
||||
AC_MSG_CHECKING(if personality LINUX32 can be set)
|
||||
AC_TRY_COMPILE([#include <sys/personality.h>], [personality (PER_LINUX32)],
|
12
editors/emacs/files/patch-src-ChangeLog
Normal file
12
editors/emacs/files/patch-src-ChangeLog
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/ChangeLog.orig 2009-07-29 19:55:12.000000000 +0300
|
||||
+++ src/ChangeLog 2010-01-23 11:35:44.446334596 +0200
|
||||
@@ -1,3 +1,9 @@
|
||||
+2010-01-18 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
|
||||
+
|
||||
+ * filelock.c: Include utmp.h only when HAVE_UTMP_H is true,
|
||||
+ since some systems don't have one (e.g. FreeBSD 9.X and later
|
||||
+ versions).
|
||||
+
|
||||
2009-07-29 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* Version 23.1 released.
|
12
editors/emacs/files/patch-src-filelock.c
Normal file
12
editors/emacs/files/patch-src-filelock.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/filelock.c.orig 2009-06-21 07:38:14.000000000 +0300
|
||||
+++ src/filelock.c 2010-01-23 11:34:48.414989942 +0200
|
||||
@@ -62,7 +62,9 @@
|
||||
|
||||
#ifdef CLASH_DETECTION
|
||||
|
||||
+#ifdef HAVE_UTMP_H
|
||||
#include <utmp.h>
|
||||
+#endif
|
||||
|
||||
#if !defined (S_ISLNK) && defined (S_IFLNK)
|
||||
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
@ -39,6 +40,7 @@ INSTALLS_ICONS= yes
|
||||
|
||||
EMACS_VER= 23.1
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf:262
|
||||
USE_GMAKE= yes
|
||||
USE_BZIP2= yes
|
||||
|
||||
|
11
editors/emacs23/files/patch-ChangeLog
Normal file
11
editors/emacs23/files/patch-ChangeLog
Normal file
@ -0,0 +1,11 @@
|
||||
--- ChangeLog.orig 2009-07-29 18:10:35.000000000 +0300
|
||||
+++ ChangeLog 2010-01-23 11:35:20.591761496 +0200
|
||||
@@ -1,3 +1,8 @@
|
||||
+2010-01-18 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
|
||||
+
|
||||
+ * configure.in: Check for utmp.h availability, since some
|
||||
+ systems don't have one (e.g. FreeBSD 9.X and later versions).
|
||||
+
|
||||
2009-07-29 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* Version 23.1 released.
|
11
editors/emacs23/files/patch-configure.in
Normal file
11
editors/emacs23/files/patch-configure.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.in.orig 2009-07-29 18:09:49.000000000 +0300
|
||||
+++ configure.in 2010-01-23 11:34:48.296987092 +0200
|
||||
@@ -1014,7 +1014,7 @@
|
||||
linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
|
||||
termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
|
||||
sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
|
||||
- sys/utsname.h pwd.h)
|
||||
+ sys/utsname.h pwd.h utmp.h)
|
||||
|
||||
AC_MSG_CHECKING(if personality LINUX32 can be set)
|
||||
AC_TRY_COMPILE([#include <sys/personality.h>], [personality (PER_LINUX32)],
|
12
editors/emacs23/files/patch-src-ChangeLog
Normal file
12
editors/emacs23/files/patch-src-ChangeLog
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/ChangeLog.orig 2009-07-29 19:55:12.000000000 +0300
|
||||
+++ src/ChangeLog 2010-01-23 11:35:44.446334596 +0200
|
||||
@@ -1,3 +1,9 @@
|
||||
+2010-01-18 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
|
||||
+
|
||||
+ * filelock.c: Include utmp.h only when HAVE_UTMP_H is true,
|
||||
+ since some systems don't have one (e.g. FreeBSD 9.X and later
|
||||
+ versions).
|
||||
+
|
||||
2009-07-29 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* Version 23.1 released.
|
12
editors/emacs23/files/patch-src-filelock.c
Normal file
12
editors/emacs23/files/patch-src-filelock.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/filelock.c.orig 2009-06-21 07:38:14.000000000 +0300
|
||||
+++ src/filelock.c 2010-01-23 11:34:48.414989942 +0200
|
||||
@@ -62,7 +62,9 @@
|
||||
|
||||
#ifdef CLASH_DETECTION
|
||||
|
||||
+#ifdef HAVE_UTMP_H
|
||||
#include <utmp.h>
|
||||
+#endif
|
||||
|
||||
#if !defined (S_ISLNK) && defined (S_IFLNK)
|
||||
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
|
Loading…
x
Reference in New Issue
Block a user