SOURCES: upstart-builtin_offsetof.patch (NEW) - definition of __bu...
blues
blues at pld-linux.org
Sun Sep 3 16:46:29 CEST 2006
Author: blues Date: Sun Sep 3 14:46:29 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- definition of __builtin_offsetof for older gcc
---- Files affected:
SOURCES:
upstart-builtin_offsetof.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/upstart-builtin_offsetof.patch
diff -u /dev/null SOURCES/upstart-builtin_offsetof.patch:1.1
--- /dev/null Sun Sep 3 16:46:29 2006
+++ SOURCES/upstart-builtin_offsetof.patch Sun Sep 3 16:46:24 2006
@@ -0,0 +1,13 @@
+--- ./upstart/control.c.org 2006-08-31 01:14:14.000000000 +0000
++++ ./upstart/control.c 2006-09-03 14:38:22.000000000 +0000
+@@ -105,6 +105,10 @@
+ goto invalid; \
+ }
+
++/**
++ * For gcc < 3.4 (or 4?)
++ **/
++#define __builtin_offsetof(x,y) 0
+
+ /**
+ * WireHdr:
================================================================
More information about the pld-cvs-commit
mailing list