diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-12-02 15:14:50 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-02 15:14:50 +0100 |
commit | c725dd1dd684be0c61ad1035a778601369942f60 (patch) | |
tree | 8a36becd6b51453f5dc6c13bbfc2897720dad19b /gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch | |
parent | 652dadf08b1c2bc4f8bc673e47b27ebbe91487cd (diff) | |
download | tde-packaging-c725dd1dd684be0c61ad1035a778601369942f60.tar.gz tde-packaging-c725dd1dd684be0c61ad1035a778601369942f60.zip |
Gentoo: Files moved to a separate git repository.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch')
m--------- | gentoo | 0 | ||||
-rw-r--r-- | gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch | 49 |
2 files changed, 0 insertions, 49 deletions
diff --git a/gentoo b/gentoo new file mode 160000 +Subproject 644110a847c5911c2eb04eb53c93031740561ef diff --git a/gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch b/gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch deleted file mode 100644 index d80472273..000000000 --- a/gentoo/media-libs/lcms/files/lcms-1.19-implicit.patch +++ /dev/null @@ -1,49 +0,0 @@ -cmsio1.c: In function 'AdjustEndianessArray16': -cmsio1.c:118: warning: implicit declaration of function 'swab' -testcms.c: In function 'CheckSwab': -testcms.c:113: warning: implicit declaration of function 'swab' -================================================================================ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,6 +6,9 @@ - # Don't require all the GNU mandated files - AUTOMAKE_OPTIONS = 1.7 foreign - -+# _XOPEN_SOURCE is required for swab() but undefines strcasecmp(), so add _GNU_SOURCE as well: -+AM_CPPFLAGS = -D_XOPEN_SOURCE -D_GNU_SOURCE -+ - includedir = ${prefix}/include - - # Shared libraries built in this directory ---- a/src/cmsio1.c -+++ b/src/cmsio1.c -@@ -24,6 +24,7 @@ - - - #include "lcms.h" -+#include <unistd.h> - - // ----------------------------------------------------------------- Tag Serialization - ---- a/testbed/Makefile.am -+++ b/testbed/Makefile.am -@@ -6,6 +6,9 @@ - # Don't require all the GNU mandated files - AUTOMAKE_OPTIONS = 1.7 foreign - -+# Required for swab() -+AM_CPPFLAGS = -D_XOPEN_SOURCE -+ - INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include - - check_PROGRAMS = testcms ---- a/testbed/testcms.c -+++ b/testbed/testcms.c -@@ -36,6 +36,7 @@ - #include <time.h> - #include <stdio.h> - #include <stdlib.h> -+#include <unistd.h> - - #ifndef NON_WINDOWS - #include <icm.h> |