busybox: 1.13.1 dc fix
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 30 Dec 2008 19:15:22 +0000 (19:15 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 30 Dec 2008 19:15:22 +0000 (19:15 -0000)
package/busybox/busybox-1.13.1-dc.patch [new file with mode: 0644]

diff --git a/package/busybox/busybox-1.13.1-dc.patch b/package/busybox/busybox-1.13.1-dc.patch
new file mode 100644 (file)
index 0000000..120aa27
--- /dev/null
@@ -0,0 +1,13 @@
+--- busybox-1.13.1/miscutils/dc.c      Sun Nov  9 18:28:16 2008
++++ busybox-1.13.1-dc/miscutils/dc.c   Tue Dec 30 11:36:52 2008
+@@ -19,7 +19,9 @@
+ #define pointer   (G.pointer   )
+ #define base      (G.base      )
+ #define stack     (G.stack     )
+-#define INIT_G() do { } while (0)
++#define INIT_G() do { \
++      base = 10; \
++} while (0)
+ static void push(double a)