aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-12-05 15:44:58 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-12-05 15:44:58 +0000
commite27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a (patch)
tree411d7f31a4efb625893da1dc375b1c84d43ce6fa /tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch
parent3fd67b7f41785cbe84f8dfae2cdfa0d8ec8652fd (diff)
downloadupstream-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.tar.gz
upstream-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.tar.bz2
upstream-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.zip
update mtd-utils to 1.5.2
- update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73) - remove patches that went upstream - fixes build from scratch as of broken patches Signed-off-by: Sven Roederer <devel-sven@geroedel.de> [use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47790
Diffstat (limited to 'tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch')
-rw-r--r--tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch b/tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch
deleted file mode 100644
index 73a68b5860..0000000000
--- a/tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/lib/libfec.c
-+++ b/lib/libfec.c
-@@ -61,8 +61,6 @@ struct timeval {
- };
- #define gettimeofday(x, dummy) { (x)->ticks = clock() ; }
- #define DIFF_T(a,b) (1+ 1000000*(a.ticks - b.ticks) / CLOCKS_PER_SEC )
--typedef unsigned long u_long ;
--typedef unsigned short u_short ;
- #else /* typically, unix systems */
- #include <sys/time.h>
- #define DIFF_T(a,b) \
-@@ -75,12 +73,12 @@ typedef unsigned short u_short ;
- t = x.tv_usec + 1000000* (x.tv_sec & 0xff ) ; \
- }
- #define TOCK(t) \
-- { u_long t1 ; TICK(t1) ; \
-+ { unsigned long t1 ; TICK(t1) ; \
- if (t1 < t) t = 256000000 + t1 - t ; \
- else t = t1 - t ; \
- if (t == 0) t = 1 ;}
-
--u_long ticks[10]; /* vars for timekeeping */
-+unsigned long ticks[10]; /* vars for timekeeping */
- #else
- #define DEB(x)
- #define DDB(x)
-@@ -625,7 +623,7 @@ init_fec(void)
- #define FEC_MAGIC 0xFECC0DEC
-
- struct fec_parms {
-- u_long magic ;
-+ unsigned long magic ;
- int k, n ; /* parameters of the code */
- gf *enc_matrix ;
- } ;