Bug#656562: some __aligned issues remain
On 28/01/12 13:51, Robert Millan wrote:
> Please can you submit a tested patch to use \([^)]*\?\) instead?
Hi,
I've attached a new patch to do this. Tested this by building (and also
by building again without cleaning) and it fixes all the right headers
without touching osreldate.h or any others.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
--- kfreebsd-kernel-headers-0.69.orig/debian/rules 2012-01-25 20:17:43.000000000 +0000
+++ kfreebsd-kernel-headers-0.69/debian/rules 2012-01-28 19:07:16.000000000 +0000
@@ -53,7 +53,7 @@
-e 's/#\s*ifndef\s*__GNUCLIKE_[A-Z_]\+\(\s\|$$\)/#if 0/g' \
\
-e 's/__packed\(\s\|;\)/ __attribute__((__packed__))\1/g' \
- -e 's/__aligned(\([0-9]*\))/ __attribute__((aligned(\1)))/g' \
+ -e 's/__aligned(\([^)]*\?\))/ __attribute__((aligned(\1)))/g' \
-e 's/\(\s\|^\|(\)u_\(char\|int\|short\|long\)\(\s\)/\1unsigned \2\3/g' \
\
-e 's/defined\s*(\s*_SYS_CDEFS_H_\s*)/defined(_SYS_CDEFS_H)/g' \
Reply to: