let ipkg fail when a package file to be installed is not found
[openwrt/openwrt.git] / openwrt / package / postgresql / patches / 100-debian-12asmconstraints
1 diff -ruN postgresql-7.4.7-old/src/include/storage/s_lock.h postgresql-7.4.7/src/include/storage/s_lock.h
2 --- postgresql-7.4.7-old/src/include/storage/s_lock.h 2004-06-15 16:09:30.000000000 +0200
3 +++ postgresql-7.4.7/src/include/storage/s_lock.h 2004-06-15 16:19:02.000000000 +0200
4 @@ -125,7 +125,7 @@
5 __asm__ __volatile__(
6 " xchg4 %0=%1,%2 \n"
7 : "=r"(ret), "=m"(*lock)
8 -: "r"(1), "1"(*lock)
9 +: "r"(1), "m"(*lock)
10 : "memory");
11
12 return (int) ret;
13 @@ -294,7 +294,7 @@
14 " tas %1 \n"
15 " sne %0 \n"
16 : "=d"(rv), "=m"(*lock)
17 -: "1"(*lock)
18 +: "m"(*lock)
19 : "cc");
20
21 return rv;