Browse Source

forgot the patch

Waldemar Brodkorb 10 years ago
parent
commit
58344c6e68
2 changed files with 39 additions and 1 deletions
  1. 1 1
      package/esound/Makefile
  2. 38 0
      package/esound/patches/patch-esddsp_c

+ 1 - 1
package/esound/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		esound
 PKG_VERSION:=		0.2.41
-PKG_RELEASE:=		7
+PKG_RELEASE:=		8
 PKG_MD5SUM:=		3d8973ed87053d7acc1f4d44af2c4688
 PKG_DESCR:=		Enlightened Sound Daemon
 PKG_SECTION:=		multimedia

+ 38 - 0
package/esound/patches/patch-esddsp_c

@@ -0,0 +1,38 @@
+--- esound-0.2.41.orig/esddsp.c	2008-11-18 21:35:19.000000000 +0100
++++ esound-0.2.41/esddsp.c	2013-12-23 16:08:43.000000000 +0100
+@@ -264,7 +264,7 @@ open_wrapper (int (*func) (const char *,
+ }
+ 
+ int
+-open (const char *pathname, int flags, ...)
++esd_open (const char *pathname, int flags, ...)
+ {
+   static int (*func) (const char *, int, mode_t) = NULL;
+   va_list args;
+@@ -291,7 +291,7 @@ open (const char *pathname, int flags, .
+ }
+ 
+ int
+-open64 (const char *pathname, int flags, ...)
++esd_open64 (const char *pathname, int flags, ...)
+ {
+   static int (*func) (const char *, int, mode_t) = NULL;
+   va_list args;
+@@ -355,7 +355,7 @@ fopen_wrapper (FILE * (*func) (const cha
+ }
+ 
+ FILE *
+-fopen (const char *path, const char *mode)
++esd_fopen (const char *path, const char *mode)
+ {
+   static FILE * (*func) (const char *, const char *) = NULL;
+ 
+@@ -375,7 +375,7 @@ fopen (const char *path, const char *mod
+ }
+ 
+ FILE *
+-fopen64 (const char *path, const char *mode)
++esd_fopen64 (const char *path, const char *mode)
+ {
+   static FILE * (*func) (const char *, const char *) = NULL;
+