added my Recipes
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From 7a25d5def379db387de9237f0b03605b3ae277b6 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 17 Jan 2023 11:32:59 -0800
|
||||
Subject: [PATCH] fastmix: Drop 'register' storage class keyword
|
||||
|
||||
It has been dropped from laters C/C++ standards ( c++17 and newer )
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/fastmix.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/fastmix.cpp b/src/fastmix.cpp
|
||||
index d693d20..aa51c4a 100644
|
||||
--- a/src/fastmix.cpp
|
||||
+++ b/src/fastmix.cpp
|
||||
@@ -288,7 +288,7 @@ CzWINDOWEDFIR sfir;
|
||||
// MIXING MACROS
|
||||
// ----------------------------------------------------------------------------
|
||||
#define SNDMIX_BEGINSAMPLELOOP8\
|
||||
- register MODCHANNEL * const pChn = pChannel;\
|
||||
+ MODCHANNEL * const pChn = pChannel;\
|
||||
nPos = pChn->nPosLo;\
|
||||
const signed char *p = (signed char *)(pChn->pCurrentSample+pChn->nPos);\
|
||||
if (pChn->dwFlags & CHN_STEREO) p += pChn->nPos;\
|
||||
@@ -296,7 +296,7 @@ CzWINDOWEDFIR sfir;
|
||||
do {
|
||||
|
||||
#define SNDMIX_BEGINSAMPLELOOP16\
|
||||
- register MODCHANNEL * const pChn = pChannel;\
|
||||
+ MODCHANNEL * const pChn = pChannel;\
|
||||
nPos = pChn->nPosLo;\
|
||||
const signed short *p = (signed short *)(pChn->pCurrentSample+(pChn->nPos*2));\
|
||||
if (pChn->dwFlags & CHN_STEREO) p += pChn->nPos;\
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Library for reading mod-like audio files"
|
||||
HOMEPAGE = "http://modplug-xmms.sf.net"
|
||||
|
||||
LICENSE = "PD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c9182faa1f7c316f7b97d404bcbe3685"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz \
|
||||
file://0001-fastmix-Drop-register-storage-class-keyword.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--disable-option-checking"
|
||||
|
||||
# NOTE: autotools_stage_all does nothing here, we need to do it manually
|
||||
do_install:append() {
|
||||
install -d ${D}${includedir}/libmodplug
|
||||
install -m 0644 ${S}/src/modplug.h ${D}${includedir}/libmodplug
|
||||
install -m 0644 ${S}/src/modplug.h ${D}${includedir}/
|
||||
}
|
||||
Reference in New Issue
Block a user