dfdc7a3091
Copy from multimedia:libs/libmikmod based on submit request 27748 from user tiwai OBS-URL: https://build.opensuse.org/request/show/27748 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=12
31 lines
961 B
Diff
31 lines
961 B
Diff
Index: libmikmod.m4
|
|
===================================================================
|
|
--- libmikmod.m4.orig
|
|
+++ libmikmod.m4
|
|
@@ -64,6 +64,7 @@ dnl
|
|
#include <mikmod.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
char* my_strdup (char *str)
|
|
{
|
|
@@ -78,7 +79,7 @@ char* my_strdup (char *str)
|
|
return new_str;
|
|
}
|
|
|
|
-int main()
|
|
+int main(void)
|
|
{
|
|
int major,minor,micro;
|
|
int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version;
|
|
@@ -118,7 +119,7 @@ int main()
|
|
(libmikmod_micro_version != LIBMIKMOD_REVISION))
|
|
{
|
|
printf("*** libmikmod header files (version %d.%d.%d) do not match\n",
|
|
- LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION);
|
|
+ (int)LIBMIKMOD_VERSION_MAJOR, (int)LIBMIKMOD_VERSION_MINOR, (int)LIBMIKMOD_REVISION);
|
|
printf("*** library (version %d.%d.%d)\n",
|
|
libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
|
|
}
|