OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../asterisk-addons/asterisk-addons-1.4.13-mysql-5.5-header.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN asterisk-addons-1.4.13-orig/apps/app_addon_sql_mysql.c asterisk-addons-1.4.13/apps/app_addon_sql_mysql.c
  17. --- asterisk-addons-1.4.13-orig/apps/app_addon_sql_mysql.c 2010-10-08 16:42:56.000000000 +0200
  18. +++ asterisk-addons-1.4.13/apps/app_addon_sql_mysql.c 2011-03-19 00:09:11.964072237 +0100
  19. @@ -26,7 +26,7 @@
  20. #include <stdio.h>
  21. #include <unistd.h>
  22. -#include <mysql/mysql.h>
  23. +#include <mysql.h>
  24. #include <asterisk/file.h>
  25. #include <asterisk/logger.h>
  26. diff -ruN asterisk-addons-1.4.13-orig/cdr/cdr_addon_mysql.c asterisk-addons-1.4.13/cdr/cdr_addon_mysql.c
  27. --- asterisk-addons-1.4.13-orig/cdr/cdr_addon_mysql.c 2010-10-08 16:42:56.000000000 +0200
  28. +++ asterisk-addons-1.4.13/cdr/cdr_addon_mysql.c 2011-03-19 00:10:45.840085556 +0100
  29. @@ -41,8 +41,8 @@
  30. #include <unistd.h>
  31. #include <time.h>
  32. -#include <mysql/mysql.h>
  33. -#include <mysql/errmsg.h>
  34. +#include <mysql.h>
  35. +#include <errmsg.h>
  36. #include <sys/stat.h>
  37. #include <sys/types.h>
  38. diff -ruN asterisk-addons-1.4.13-orig/res/res_config_mysql.c asterisk-addons-1.4.13/res/res_config_mysql.c
  39. --- asterisk-addons-1.4.13-orig/res/res_config_mysql.c 2010-10-08 16:42:56.000000000 +0200
  40. +++ asterisk-addons-1.4.13/res/res_config_mysql.c 2011-03-19 00:09:11.964072237 +0100
  41. @@ -56,9 +56,9 @@
  42. #include <stdio.h>
  43. #include <string.h>
  44. #include <stdio.h>
  45. -#include <mysql/mysql.h>
  46. -#include <mysql/mysql_version.h>
  47. -#include <mysql/errmsg.h>
  48. +#include <mysql.h>
  49. +#include <mysql_version.h>
  50. +#include <errmsg.h>
  51. AST_MUTEX_DEFINE_STATIC(mysql_lock);
  52. #define RES_CONFIG_MYSQL_CONF "res_mysql.conf"