17 lines
595 B
Diff
17 lines
595 B
Diff
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>
|