[153042] trunk/dports/textproc
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 22 10:22:17 PDT 2016
Revision: 153042
https://trac.macports.org/changeset/153042
Author: ryandesign at macports.org
Date: 2016-09-22 10:22:17 -0700 (Thu, 22 Sep 2016)
Log Message:
-----------
recode, recode-devel: fix build failure
Recent clang fails to build recode:
error: width of bit-field 'ignore' (2 bits) exceeds width of its type (1 bit)
Fixed using Debian's patch.
Resolves #52312
Modified Paths:
--------------
trunk/dports/textproc/recode/Portfile
trunk/dports/textproc/recode-devel/Portfile
Added Paths:
-----------
trunk/dports/textproc/recode/files/patch-src-recodext.h.diff
trunk/dports/textproc/recode-devel/files/
trunk/dports/textproc/recode-devel/files/patch-src-recodext.h.diff
Modified: trunk/dports/textproc/recode/Portfile
===================================================================
--- trunk/dports/textproc/recode/Portfile 2016-09-22 17:00:48 UTC (rev 153041)
+++ trunk/dports/textproc/recode/Portfile 2016-09-22 17:22:17 UTC (rev 153042)
@@ -28,7 +28,8 @@
# src/libiconv.c patch from Debian,
# http://packages.debian.org/stable/text/recode
-patchfiles patch-lib_Makefile.in.diff patch-src_libiconv.c.diff
+patchfiles patch-lib_Makefile.in.diff patch-src_libiconv.c.diff \
+ patch-src-recodext.h.diff
pre-configure {
xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
Added: trunk/dports/textproc/recode/files/patch-src-recodext.h.diff
===================================================================
--- trunk/dports/textproc/recode/files/patch-src-recodext.h.diff (rev 0)
+++ trunk/dports/textproc/recode/files/patch-src-recodext.h.diff 2016-09-22 17:22:17 UTC (rev 153042)
@@ -0,0 +1,11 @@
+--- src/recodext.h.orig
++++ src/recodext.h
+@@ -218,7 +218,7 @@
+ enum recode_symbol_type type : 3;
+
+ /* Non zero if this one should be ignored. */
+- bool ignore : 2;
++ bool ignore : 1;
+ };
+
+ struct recode_surface_list
Modified: trunk/dports/textproc/recode-devel/Portfile
===================================================================
--- trunk/dports/textproc/recode-devel/Portfile 2016-09-22 17:00:48 UTC (rev 153041)
+++ trunk/dports/textproc/recode-devel/Portfile 2016-09-22 17:22:17 UTC (rev 153042)
@@ -29,6 +29,7 @@
# src/libiconv.c patch from Debian,
# http://packages.debian.org/stable/text/recode
# patchfiles patch-lib_Makefile.in.diff patch-src_libiconv.c.diff
+patchfiles patch-src-recodext.h.diff
pre-configure {
xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
Added: trunk/dports/textproc/recode-devel/files/patch-src-recodext.h.diff
===================================================================
--- trunk/dports/textproc/recode-devel/files/patch-src-recodext.h.diff (rev 0)
+++ trunk/dports/textproc/recode-devel/files/patch-src-recodext.h.diff 2016-09-22 17:22:17 UTC (rev 153042)
@@ -0,0 +1,11 @@
+--- src/recodext.h.orig
++++ src/recodext.h
+@@ -218,7 +218,7 @@
+ enum recode_symbol_type type : 3;
+
+ /* Non zero if this one should be ignored. */
+- bool ignore : 2;
++ bool ignore : 1;
+ };
+
+ struct recode_surface_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160922/2d6d0913/attachment-0001.html>
More information about the macports-changes
mailing list