Avoid undefined reference to `OPL_CALC_RH'
This commit is contained in:
parent
dc0507b1a5
commit
dc7aace7b9
2 changed files with 19 additions and 0 deletions
17
adplug-2.2.1-inline.patch
Normal file
17
adplug-2.2.1-inline.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Patch by Robert Scheck <robert@fedoraproject.org> for adplug >= 2.2.1, which
|
||||
works around undefined reference linking error when using GCC >= 9.1 (while
|
||||
it works with GCC 9.0.x and older):
|
||||
|
||||
/usr/bin/ld: ../src/.libs/libadplug.so: undefined reference to `OPL_CALC_RH'
|
||||
|
||||
--- adplug-2.2.1/src/fmopl.c 2003-11-03 16:41:33.000000000 +0100
|
||||
+++ adplug-2.2.1/src/fmopl.c.inline 2019-07-31 19:57:40.925132660 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
-#define INLINE __inline
|
||||
+#define INLINE
|
||||
#define HAS_YM3812 1
|
||||
|
||||
#include <stdio.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue