octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57938] [octave forge] (video) error: declarat


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57938] [octave forge] (video) error: declaration of 'panic' has a different language linkage
Date: Tue, 23 Nov 2021 03:50:59 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 Edg/96.0.1054.29

Follow-up Comment #9, bug #57938 (project octave):

OT:
@andy1978: Since you are currently working on the video package:
There is a patch in MXE Octave that renames the "HAVE_MKOCTFILE" variable in
the "mkoctfile" check to "MKOCTFILE":
https://hg.octave.org/mxe-octave/file/tip/src/of-video-1-fixes.patch

I don't understand what it is about or why it is needed. But it was originally
added by jwe here:
https://hg.octave.org/mxe-octave/rev/3d2263062bbd

Would you like to adopt that change in your package?

IIUC, it boils down to:

diff -ur video-2.0.0.orig/src/configure.ac video-2.0.0/src/configure.ac
--- video-2.0.0.orig/src/configure.ac   2020-03-04 11:23:26.508419633 -0500
+++ video-2.0.0/src/configure.ac        2020-03-04 12:18:54.007562316 -0500
@@ -12,8 +12,8 @@
 # Define macros needed for libav
 #AC_DEFINE(__STDC_CONSTANT_MACROS, [], [workaround for C++ programs to use
C99 macros])
 
-AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no])
-if [test $HAVE_MKOCTFILE = "no"]; then
+AC_CHECK_PROG([MKOCTFILE], [mkoctfile], [yes], [no])
+if [test "$MKOCTFILE" = "no"]; then
   AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME])
 fi
 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57938>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]