Guest User

Untitled

a guest
May 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. diff -r d0965fd3703b configure
  2. --- a/configure Mon Apr 05 15:52:33 2010 +0100
  3. +++ b/configure Mon Apr 05 16:14:48 2010 +0100
  4. @@ -610,9 +610,9 @@
  5. fi
  6.  
  7. echolog "Checking for libavformat ..."
  8. -check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
  9. +check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
  10. echolog "Checking for libavcodec ..."
  11. -check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
  12. +check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
  13.  
  14. #################################################
  15. # version
  16. @@ -688,7 +688,7 @@
  17. fi
  18. append_config "EXTRALIBS=$extralibs"
  19.  
  20. -append_config "OPTFLAGS=$CFLAGS"
  21. +append_config "CFLAGS=$CFLAGS"
  22. append_config "LDFLAGS=$LDFLAGS"
  23. append_config "INSTALL=$INSTALL"
  24.  
  25. diff -r d0965fd3703b gmon.out
  26. Binary file gmon.out has changed
  27. diff -r d0965fd3703b src/Makefile
  28. --- a/src/Makefile Mon Apr 05 15:52:33 2010 +0100
  29. +++ b/src/Makefile Mon Apr 05 16:14:48 2010 +0100
  30. @@ -13,7 +13,7 @@
  31. endif
  32.  
  33. LIBNAME = libdlna
  34. -LIBNAME_SHARED = ${LIBNAME}.so
  35. +LIBNAME_SHARED = ${LIBNAME}.dylib
  36. LIBNAME_STATIC = ${LIBNAME}.a
  37. LIBNAME_VERSION = $(LIBNAME_SHARED).$(VERSION)
  38. LIBNAME_MAJOR = $(LIBNAME_SHARED).$(shell echo $(VERSION) | cut -f1 -d.)
  39. @@ -89,13 +89,12 @@
  40. @echo "#############################################"
  41.  
  42. lib_shared: lib_shared_info_pre $(LOBJS) lib_shared_info_post
  43. - $(CC) -shared -Wl,-soname,$(LIBNAME_MAJOR) $(LOBJS) \
  44. - $(LDFLAGS) $(EXTRALIBS) -o $(LIBNAME_VERSION)
  45. + $(CC) -dynamiclib -install_name $(PREFIX)/lib/$(LIBNAME_SHARED) $(LOBJS) $(LDFLAGS) $(EXTRALIBS) -o $(LIBNAME_VERSION) -compatibility_version $(VERSION) -current_version $(VERSION)
  46. $(LN) -sf $(LIBNAME_VERSION) $(LIBNAME_MAJOR)
  47. $(LN) -sf $(LIBNAME_MAJOR) $(LIBNAME_SHARED)
  48.  
  49. clean:
  50. - -$(RM) -f *.o *.lo *.a *.so*
  51. + -$(RM) -f *.o *.lo *.a *.dylib*
  52. -$(RM) -f .depend
  53.  
  54. install_static: lib_static
  55. diff -r d0965fd3703b src/av_mpeg4_part10.c
  56. --- a/src/av_mpeg4_part10.c Mon Apr 05 15:52:33 2010 +0100
  57. +++ b/src/av_mpeg4_part10.c Mon Apr 05 16:14:48 2010 +0100
  58. @@ -26,7 +26,7 @@
  59. #include <sys/stat.h>
  60. #include <fcntl.h>
  61.  
  62. -#include <ffmpeg/avcodec.h>
  63. +#include <libavcodec/avcodec.h>
  64.  
  65. #include "dlna_internals.h"
  66. #include "profiles.h"
  67. diff -r d0965fd3703b src/av_mpeg4_part2.c
  68. --- a/src/av_mpeg4_part2.c Mon Apr 05 15:52:33 2010 +0100
  69. +++ b/src/av_mpeg4_part2.c Mon Apr 05 16:14:48 2010 +0100
  70. @@ -26,7 +26,7 @@
  71. #include <sys/stat.h>
  72. #include <fcntl.h>
  73.  
  74. -#include <ffmpeg/avcodec.h>
  75. +#include <libavcodec/avcodec.h>
  76.  
  77. #include "dlna_internals.h"
  78. #include "profiles.h"
  79. diff -r d0965fd3703b src/containers.c
  80. --- a/src/containers.c Mon Apr 05 15:52:33 2010 +0100
  81. +++ b/src/containers.c Mon Apr 05 16:14:48 2010 +0100
  82. @@ -4,7 +4,7 @@
  83. #include <sys/stat.h>
  84. #include <fcntl.h>
  85.  
  86. -#include <ffmpeg/avformat.h>
  87. +#include <libavformat/avformat.h>
  88.  
  89. #include "containers.h"
  90. #include "profiles.h"
  91. diff -r d0965fd3703b src/profiles.h
  92. --- a/src/profiles.h Mon Apr 05 15:52:33 2010 +0100
  93. +++ b/src/profiles.h Mon Apr 05 16:14:48 2010 +0100
  94. @@ -22,8 +22,8 @@
  95. #ifndef _PROFILES_H_
  96. #define _PROFILES_H_
  97.  
  98. -#include <ffmpeg/avcodec.h>
  99. -#include <ffmpeg/avformat.h>
  100. +#include <libavcodec/avcodec.h>
  101. +#include <libavformat/avformat.h>
  102.  
  103. #include "dlna_internals.h"
  104. #include "containers.h"
  105. diff -r d0965fd3703b src/upnp_dms.c
  106. --- a/src/upnp_dms.c Mon Apr 05 15:52:33 2010 +0100
  107. +++ b/src/upnp_dms.c Mon Apr 05 16:14:48 2010 +0100
  108. @@ -20,6 +20,7 @@
  109. */
  110.  
  111. #include <stdio.h>
  112. +#include <stdlib.h>
  113. #include <string.h>
  114.  
  115. #include "dlna_internals.h"
Add Comment
Please, Sign In to add comment