[Pkg-voip-commits] r5002 - /asterisk/trunk/debian/patches/disable-build-sum

paravoid at alioth.debian.org paravoid at alioth.debian.org
Mon Dec 3 16:24:33 UTC 2007


Author: paravoid
Date: Mon Dec  3 16:24:33 2007
New Revision: 5002

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5002
Log:
Generate the build sum although keep not failing when it doesn't exist

Modified:
    asterisk/trunk/debian/patches/disable-build-sum

Modified: asterisk/trunk/debian/patches/disable-build-sum
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/disable-build-sum?rev=5002&op=diff
==============================================================================
--- asterisk/trunk/debian/patches/disable-build-sum (original)
+++ asterisk/trunk/debian/patches/disable-build-sum Mon Dec  3 16:24:33 2007
@@ -1,36 +1,11 @@
-Disable the MD5 build sum that breaks all out-of-tree plugins.
+Disable the MD5 build sum check that breaks all out-of-tree plugins.
 It's not a change it should be done on a stable release, anyway...
+
+Leave the field in the struct and the macro that generates it however so
+that we can be both backward and forward API/ABI compatible.
 
  -- Faidon Liambotis <paravoid at debian.org>
 
---- asterisk-1.4.15~dfsg.orig/include/asterisk/module.h
-+++ asterisk-1.4.15~dfsg/include/asterisk/module.h
-@@ -204,9 +204,6 @@ struct ast_module_info {
- 
- 	const char *key;
- 	unsigned int flags;
--
--	/*! The value of AST_BUILDOPT_SUM when this module was compiled */
--	const char buildopt_sum[33];
- };
- 
- void ast_module_register(const struct ast_module_info *);
-@@ -234,7 +231,6 @@ void ast_module_unref(struct ast_module 
- 		desc,					\
- 		keystr,					\
- 		flags_to_set,				\
--		AST_BUILDOPT_SUM,			\
- 	};						\
- 	static void  __attribute__ ((constructor)) __reg_module(void) \
- 	{ \
-@@ -264,7 +260,6 @@ const static __attribute__((unused)) str
- 		.flags = flags_to_set,				\
- 		.description = desc,				\
- 		.key = keystr,					\
--		.buildopt_sum = AST_BUILDOPT_SUM,		\
- 		fields						\
- 	};							\
- 	static void  __attribute__ ((constructor)) __reg_module(void) \
 --- asterisk-1.4.15~dfsg.orig/main/loader.c
 +++ asterisk-1.4.15~dfsg/main/loader.c
 @@ -76,8 +76,6 @@ static unsigned char expected_key[] =




More information about the Pkg-voip-commits mailing list