Browse Source

remove one more GCC extensional feature (in RPM's file/file.h)

Ralf S. Engelschall 22 years ago
parent
commit
b4d497a310

+ 1 - 0
openpkg/HISTORY

@@ -2,6 +2,7 @@
 2003
 ====
 
+20030909 remove one more GCC extensional feature (in RPM's file/file.h)
 20030908 upgrade "platform" script to new "OSSP platform" implementation and provide %{l_platform}
 20030907 add rpm-config(8) utility and add librpmbeecrypt.a to installation tree
 20030904 apply new BeeCrypt and Bash patch files

+ 1 - 1
openpkg/openpkg.spec

@@ -39,7 +39,7 @@
 #   o any cc(1)
 
 #   the package version/release
-%define       V_openpkg  20030908
+%define       V_openpkg  20030909
 
 #   the used software versions
 %define       V_rpm      4.2.1

+ 1 - 1
openpkg/rpm.patch.bugfix

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 04-Sep-2003
+##  Created on: 09-Sep-2003
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.

+ 1 - 1
openpkg/rpm.patch.feature

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 04-Sep-2003
+##  Created on: 09-Sep-2003
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.

+ 20 - 1
openpkg/rpm.patch.porting

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 04-Sep-2003
+##  Created on: 09-Sep-2003
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ -248,6 +248,25 @@ Index: file/system.h
  }
  #endif
 
++---------------------------------------------------------------------------
+| Use GCC extensional features only if compiled with GCC.
++---------------------------------------------------------------------------
+Index: file/file.h
+--- file/file.h	24 Jan 2003 19:41:56 -0000	1.1.1.1
++++ file/file.h	9 Sep 2003 08:54:43 -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)
+
 +---------------------------------------------------------------------------
 | Use GNU libtool's weaker -static (link with own static libraries)
 | instead of the strong -all-static (link even with static libc, etc),

+ 1 - 1
openpkg/rpm.patch.regen

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 04-Sep-2003
+##  Created on: 09-Sep-2003
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.