Commit cb25ab46 authored by Rafaël Carré's avatar Rafaël Carré

contrib: modplug: use git version

Close #9209
parent d14b735f
60ef0d1cdcb7a7ba085155487026c128cb7720fcfad16decdf4513a4e4f26a33854044d7da8e25443543d547d599fd7348e72ce241bbacc7994c2560bcf750e3 libmodplug-0.8.8.4.tar.gz 1bc4cfbb0eb26134d32efb00828a58cb69f06c867d0591de805ba973db3e1d6a8c0f9c2d7c74754150a3ed4c779e83171457eee51fe69b72608e5a27050e394c modplug-xmms-git-9b08cc646c3dc94dd446ab0671e3427dae8a83fc.zip
--- libmodplug/libmodplug/src/load_pat.cpp.orig 2013-08-18 21:12:50.404538525 +0200
+++ libmodplug/libmodplug/src/load_pat.cpp 2013-08-18 21:13:15.496538108 +0200
@@ -626,7 +626,7 @@
static int pat_readpat_attr(int pat, WaveHeader *hw, int layer)
{
char fname[128];
- uint fsize;
+ long fsize;
MMSTREAM *mmpat;
pat_build_path(fname, pat);
mmpat = _mm_fopen(fname, "r");
# modplug # modplug
MODPLUG_VERSION := 0.8.8.4 #MODPLUG_VERSION := 0.8.8.4
MODPLUG_URL := $(SF)/modplug-xmms/libmodplug-$(MODPLUG_VERSION).tar.gz #MODPLUG_URL := $(SF)/modplug-xmms/libmodplug-$(MODPLUG_VERSION).tar.gz
MODPLUG_GIT_HASH := 9b08cc646c3dc94dd446ab0671e3427dae8a83fc
MODPLUG_URL := http://sourceforge.net/code-snapshots/git/m/mo/modplug-xmms/git.git/modplug-xmms-git-$(MODPLUG_GIT_HASH).zip
PKGS += modplug PKGS += modplug
ifeq ($(call need_pkg,"libmodplug >= 0.8.4 libmodplug != 0.8.8"),) ifeq ($(call need_pkg,"libmodplug >= 0.8.4 libmodplug != 0.8.8"),)
PKGS_FOUND += modplug PKGS_FOUND += modplug
endif endif
$(TARBALLS)/libmodplug-$(MODPLUG_VERSION).tar.gz: $(TARBALLS)/modplug-xmms-git-$(MODPLUG_GIT_HASH).zip:
$(call download,$(MODPLUG_URL)) $(call download,$(MODPLUG_URL))
.sum-modplug: libmodplug-$(MODPLUG_VERSION).tar.gz .sum-modplug: modplug-xmms-git-$(MODPLUG_GIT_HASH).zip
libmodplug: libmodplug-$(MODPLUG_VERSION).tar.gz .sum-modplug libmodplug: modplug-xmms-git-$(MODPLUG_GIT_HASH).zip .sum-modplug
$(UNPACK) $(UNPACK)
$(UPDATE_AUTOCONFIG) $(APPLY) $(SRC)/modplug/long.patch
$(call pkg_static,"libmodplug.pc.in") $(call pkg_static,"libmodplug/libmodplug.pc.in")
$(MOVE) $(MOVE)
.modplug: libmodplug .modplug: libmodplug
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) cd $< && $(RECONF)
cd $< && $(MAKE) install cd $</libmodplug && $(HOSTVARS) ./configure $(HOSTCONF)
cd $</libmodplug && $(MAKE) install
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment