OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Oct-2003 21:26:23
Branch: HEAD Handle: 2003101520262200
Modified files:
openpkg-src/openpkg rpm.patch.porting
Log:
remove more GCC'isms
Summary:
Revision Changes Path
1.37 +19 -0 openpkg-src/openpkg/rpm.patch.porting
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.porting
============================================================================
$ cvs diff -u -r1.36 -r1.37 rpm.patch.porting
--- openpkg-src/openpkg/rpm.patch.porting 15 Oct 2003 18:20:48 -0000 1.36
+++ openpkg-src/openpkg/rpm.patch.porting 15 Oct 2003 19:26:22 -0000 1.37
@@ -905,3 +905,22 @@
return rcsid(p = id); \
}
#endif
+
++---------------------------------------------------------------------------
+| Remove GCC'ism.
++---------------------------------------------------------------------------
+Index: build/rpmfile.h
+--- build/rpmfile.h 24 Jan 2003 19:41:56 -0000 1.1.1.1
++++ build/rpmfile.h 15 Oct 2003 19:23:55 -0000
+@@ -95,7 +95,11 @@
+ } value; /* either number or string */
+ uint32_t mask; /* mask before comparison with value */
+ char desc[MAXDESC]; /* description */
++#if defined(__GNUC__)
+ } __attribute__((__packed__));
++#else
++};
++#endif
+
+ #define BIT(A) (1 << (A))
+ #define STRING_IGNORE_LOWERCASE BIT(0)
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]