diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-28 21:21:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-28 21:21:38 +0000 |
commit | 3689132193b3b786ada9f80b3671dfd846a59a35 (patch) | |
tree | a43b5e91b50c0460abc231f6d96cbe0d884a3255 /package/postgresql/patches/100-debian-12asmconstraints | |
parent | 30d9f95085dc143a6b259d5cde9e7f6709d5a573 (diff) | |
download | upstream-3689132193b3b786ada9f80b3671dfd846a59a35.tar.gz upstream-3689132193b3b786ada9f80b3671dfd846a59a35.tar.bz2 upstream-3689132193b3b786ada9f80b3671dfd846a59a35.zip |
update postgresql and fix gcc 3.4 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@748 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/postgresql/patches/100-debian-12asmconstraints')
-rw-r--r-- | package/postgresql/patches/100-debian-12asmconstraints | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/postgresql/patches/100-debian-12asmconstraints b/package/postgresql/patches/100-debian-12asmconstraints new file mode 100644 index 0000000000..f43eedc80a --- /dev/null +++ b/package/postgresql/patches/100-debian-12asmconstraints @@ -0,0 +1,21 @@ +diff -ruN postgresql-7.4.7-old/src/include/storage/s_lock.h postgresql-7.4.7/src/include/storage/s_lock.h +--- postgresql-7.4.7-old/src/include/storage/s_lock.h 2004-06-15 16:09:30.000000000 +0200 ++++ postgresql-7.4.7/src/include/storage/s_lock.h 2004-06-15 16:19:02.000000000 +0200 +@@ -125,7 +125,7 @@ + __asm__ __volatile__( + " xchg4 %0=%1,%2 \n" + : "=r"(ret), "=m"(*lock) +-: "r"(1), "1"(*lock) ++: "r"(1), "m"(*lock) + : "memory"); + + return (int) ret; +@@ -294,7 +294,7 @@ + " tas %1 \n" + " sne %0 \n" + : "=d"(rv), "=m"(*lock) +-: "1"(*lock) ++: "m"(*lock) + : "cc"); + + return rv; |