[packages] reiserfsprogs: update to v3.6.21, update download URL, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17875 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
62b26ed020
commit
77fa41ab5d
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2008 OpenWrt.org
|
||||
# Copyright (C) 2006-2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -8,14 +8,14 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=reiserfsprogs
|
||||
PKG_VERSION:=3.6.19
|
||||
PKG_VERSION:=3.6.21
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.namesys.com/pub/reiserfsprogs
|
||||
PKG_MD5SUM:=b42cf15f6651c3ceff5cb84996c0d539
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/reiserfs/
|
||||
PKG_MD5SUM:=
|
||||
|
||||
PKG_FIXUP = libtool
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -1,34 +0,0 @@
|
||||
Index: reiserfsprogs-3.6.19/include/reiserfs_fs.h
|
||||
===================================================================
|
||||
--- reiserfsprogs-3.6.19.orig/include/reiserfs_fs.h 2008-02-28 18:10:11.000000000 +0100
|
||||
+++ reiserfsprogs-3.6.19/include/reiserfs_fs.h 2008-02-28 18:11:35.000000000 +0100
|
||||
@@ -38,15 +38,21 @@
|
||||
# define extern_inline
|
||||
#endif
|
||||
|
||||
-#include <asm/unaligned.h>
|
||||
+#define get_unaligned(ptr) \
|
||||
+({ \
|
||||
+ struct __attribute__((packed)) { \
|
||||
+ typeof(*(ptr)) __v; \
|
||||
+ } *__p = (void *)(ptr); \
|
||||
+ __p->__v; \
|
||||
+})
|
||||
|
||||
-#ifndef get_unaligned
|
||||
-#if defined(__ppc__) || defined(ppc) || defined(__ppc) || \
|
||||
- defined(__PPC) || defined(powerpc) || defined(__powerpc__)
|
||||
-# define get_unaligned(ptr) (*(ptr))
|
||||
-# define put_unaligned(val,ptr) ((void)(*(ptr) = (val)))
|
||||
-#endif
|
||||
-#endif
|
||||
+#define put_unaligned(val, ptr) \
|
||||
+do { \
|
||||
+ struct __attribute__((packed)) { \
|
||||
+ typeof(*(ptr)) __v; \
|
||||
+ } *__p = (void *)(ptr); \
|
||||
+ __p->__v = (val); \
|
||||
+} while(0)
|
||||
|
||||
#define get_leXX(xx,p,field) (le##xx##_to_cpu ((p)->field))
|
||||
#define set_leXX(xx,p,field,val) do { (p)->field = cpu_to_le##xx(val); } while (0)
|
Loading…
x
Reference in New Issue
Block a user