rpms/screen/devel screen-4.0.3-configh.patch, NONE, 1.1 screen.spec, 1.48, 1.49

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Mon May 19 13:55:44 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/screen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5247

Modified Files:
	screen.spec 
Added Files:
	screen-4.0.3-configh.patch 
Log Message:
- fix building with new autoconf


screen-4.0.3-configh.patch:

--- NEW FILE screen-4.0.3-configh.patch ---
diff -up screen-4.0.3/config.h.in.configh screen-4.0.3/config.h.in
--- screen-4.0.3/config.h.in.configh	2006-10-23 15:06:32.000000000 +0200
+++ screen-4.0.3/config.h.in	2008-05-19 15:47:19.000000000 +0200
@@ -291,7 +291,7 @@
  * Define USE_LOCALE if you want screen to use the locale names
  * for the name of the month and day of the week.
  */
-#define USE_LOCALE
+#undef USE_LOCALE
 
 /*
  * Define USE_PAM if your system supports PAM (Pluggable Authentication
@@ -563,7 +563,6 @@
  * If you are on a SYS V machine that restricts filename length to 14 
  * characters, you may need to enforce that by setting NAME_MAX to 14
  */
-#undef NAME_MAX		/* KEEP_UNDEF_HERE override system value */
 #undef NAME_MAX
 
 /*


Index: screen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/screen/devel/screen.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- screen.spec	16 May 2008 10:28:22 -0000	1.48
+++ screen.spec	19 May 2008 13:54:56 -0000	1.49
@@ -19,6 +19,7 @@
 Patch1: screen-4.0.3-libs.patch
 # Some tweaks of the default screenrc
 Patch2: screen-4.0.2-screenrc.patch
+Patch3: screen-4.0.3-configh.patch
 Patch4: screen-4.0.3-stropts.patch
 # Fixes potential buffer overflow when > 2^31 semicolons are passed.
 Patch7: screen-4.0.1-args.patch
@@ -39,6 +40,7 @@
 %setup -q
 %patch1 -p1 -b .libs
 %patch2 -p1 -b .screenrc
+%patch3 -p1 -b .configh
 %patch4 -p1 -b .stropts
 %patch7 -p0 -b .args
 %patch11 -p1 -b .maxstr
@@ -51,7 +53,7 @@
 	--enable-pam \
 	--enable-colors256 \
 	--enable-rxvt_osc \
-	--enable-locale \
+	--enable-use-locale \
 	--enable-telnet \
 	--with-pty-mode=0620 \
 	--with-pty-group=$(getent group tty | cut -d : -f 3) \
@@ -115,6 +117,7 @@
 %changelog
 * Fri May 16 2008 Miroslav Lichvar <mlichvar at redhat.com> - 4.0.3-12
 - fix multiuser support (#446049)
+- fix building with new autoconf
 
 * Mon Apr 07 2008 Miroslav Lichvar <mlichvar at redhat.com> - 4.0.3-11
 - don't include stropts.h (#440803)




More information about the fedora-extras-commits mailing list