summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-10-20 15:53:58 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-10-20 15:53:58 +0000
commit439d7a30352f0bcdad0d17994920e92632ecc393 (patch)
tree74f1af76481559731ef3f912d5a5d645b182e6dd /graphics/png
parentUpdate to a slightly newer version of the optional bounds checking patches, (diff)
Back out part of the earlier commit -- I missed maintainer's e-mail,
where he explicitly objected to it. The port is now again NOT buildable with Intel's icc-7.1.006. Approved by: maintainer (ache)
Notes
Notes: svn path=/head/; revision=91741
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/files/patch-icc53
1 files changed, 0 insertions, 53 deletions
diff --git a/graphics/png/files/patch-icc b/graphics/png/files/patch-icc
deleted file mode 100644
index 6fcef39d88b7..000000000000
--- a/graphics/png/files/patch-icc
+++ /dev/null
@@ -1,53 +0,0 @@
-This patch is needed by Intel's C Compiler (icc), which otherwise
-gets confused and treats _const4 and _const6 as undefined symbols.
-
-I don't see, how it can hurt the GCC either.
-
- -mi
-
---- pnggccrd.c Thu Oct 3 07:32:28 2002
-+++ pnggccrd.c Sun Oct 19 23:55:15 2003
-@@ -327,7 +327,7 @@
- static unsigned long long _mask48_0 = 0x4040808080808080LL;
-
--static unsigned long long _const4 = 0x0000000000FFFFFFLL;
-+static const unsigned long long _const4 = 0x0000000000FFFFFFLL;
- //static unsigned long long _const5 = 0x000000FFFFFF0000LL; // NOT USED
--static unsigned long long _const6 = 0x00000000000000FFLL;
-+static const unsigned long long _const6 = 0x00000000000000FFLL;
-
- // These are used in the row-filter routines and should/would be local
-@@ -344,33 +344,4 @@
- #endif
-
--void /* PRIVATE */
--png_squelch_warnings(void)
--{
--#ifdef PNG_THREAD_UNSAFE_OK
-- _dif = _dif;
-- _patemp = _patemp;
-- _pbtemp = _pbtemp;
-- _pctemp = _pctemp;
-- _MMXLength = _MMXLength;
--#endif
-- _const4 = _const4;
-- _const6 = _const6;
-- _mask8_0 = _mask8_0;
-- _mask16_1 = _mask16_1;
-- _mask16_0 = _mask16_0;
-- _mask24_2 = _mask24_2;
-- _mask24_1 = _mask24_1;
-- _mask24_0 = _mask24_0;
-- _mask32_3 = _mask32_3;
-- _mask32_2 = _mask32_2;
-- _mask32_1 = _mask32_1;
-- _mask32_0 = _mask32_0;
-- _mask48_5 = _mask48_5;
-- _mask48_4 = _mask48_4;
-- _mask48_3 = _mask48_3;
-- _mask48_2 = _mask48_2;
-- _mask48_1 = _mask48_1;
-- _mask48_0 = _mask48_0;
--}
- #endif /* PNG_ASSEMBLER_CODE_SUPPORTED */
-