pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/bison



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Wed Jan 16 00:19:32 UTC 2019

Modified Files:
        pkgsrc/devel/bison: distinfo
Added Files:
        pkgsrc/devel/bison/patches: patch-lib_fseterr.c

Log Message:
devel/bison: add patches to fix building with glibc >= 2.27

Relates to PR pkg/53826, further details are provided there. This is a
temporary fix: the newest release of Bison addresses this by including
a newer version of gnulib. I'm applying this less obtrusive change for
now. No PKGREVISION, because there should be no change to existing
packages, it addresses build failures only.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/bison/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bison/patches/patch-lib_fseterr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/bison/distinfo
diff -u pkgsrc/devel/bison/distinfo:1.47 pkgsrc/devel/bison/distinfo:1.48
--- pkgsrc/devel/bison/distinfo:1.47    Fri Aug 18 21:43:03 2017
+++ pkgsrc/devel/bison/distinfo Wed Jan 16 00:19:31 2019
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.47 2017/08/18 21:43:03 adam Exp $
+$NetBSD: distinfo,v 1.48 2019/01/16 00:19:31 gutteridge Exp $
 
 SHA1 (bison-3.0.4.tar.xz) = 8270497aad88c7dd4f2c317298c50513fb0c3c8e
 RMD160 (bison-3.0.4.tar.xz) = 414959f3d619d8e4875e241ee02852b2ff13c2cb
 SHA512 (bison-3.0.4.tar.xz) = bbdc23e7772e49da1c7c47e66d4e4efbfbfe9b21dbc59bf3ad9a6e573eecac6c9f52c7f11a64be9897e8deb99ef7ba015164aa8232aa391b901dd7db03632412
 Size (bison-3.0.4.tar.xz) = 1973796 bytes
 SHA1 (patch-data_glr.c) = a2e0900ed995e4320e80f8ed05eae8e82be50502
+SHA1 (patch-lib_fseterr.c) = 59dd24cc0612d7a562fa6a0e89f7d6911ad2147e
 SHA1 (patch-lib_isnan.c) = 5b44fc6e2e97e36f91cd784bf3a38ad459fccdab
 SHA1 (patch-lib_stdio.in.h) = bb793f0c8f56c3a838609f8a86cf5afc70420da8
 SHA1 (patch-lib_vasnprintf.c) = 2bced6c121efc9bc5894174c7745ba89e8f53033

Added files:

Index: pkgsrc/devel/bison/patches/patch-lib_fseterr.c
diff -u /dev/null pkgsrc/devel/bison/patches/patch-lib_fseterr.c:1.1
--- /dev/null   Wed Jan 16 00:19:32 2019
+++ pkgsrc/devel/bison/patches/patch-lib_fseterr.c      Wed Jan 16 00:19:31 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_fseterr.c,v 1.1 2019/01/16 00:19:31 gutteridge Exp $
+
+Work around glibc changes that broke dependent gnulib functionality.
+Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
+
+--- lib/fseterr.c.orig 2019-01-15 19:37:01.340382604 +0000
++++ lib/fseterr.c
+@@ -29,7 +29,8 @@ fseterr (FILE *fp)
+   /* Most systems provide FILE as a struct and the necessary bitmask in
+      <stdio.h>, because they need it for implementing getc() and putc() as
+      fast macros.  */
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
++  /* GNU libc, BeOS, Haiku, Linux libc5 */
+   fp->_flags |= _IO_ERR_SEEN;
+ #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
+   fp_->_flags |= __SERR;



Home | Main Index | Thread Index | Old Index