ports/contrib (3.6): libtorrent-rasterbar: add missing patch
commit bda56520a20253ab781a3390b8172ad0209c5ba3 Author: Danny Rawlins <contact@romster.me> Date: Wed Dec 30 13:08:45 2020 +1100 libtorrent-rasterbar: add missing patch diff --git a/libtorrent-rasterbar/really-disable-debug-flags.patch b/libtorrent-rasterbar/really-disable-debug-flags.patch new file mode 100644 index 000000000..a8f4668f7 --- /dev/null +++ b/libtorrent-rasterbar/really-disable-debug-flags.patch @@ -0,0 +1,14 @@ +diff -pruN libtorrent-rasterbar-1.2.11.orig/configure.ac libtorrent-rasterbar-1.2.11/configure.ac +--- libtorrent-rasterbar-1.2.11.orig/configure.ac 2020-12-28 16:23:27.250050285 +1100 ++++ libtorrent-rasterbar-1.2.11/configure.ac 2020-12-28 16:24:25.168717701 +1100 +@@ -328,8 +328,8 @@ AS_CASE(["$ARG_ENABLE_DEBUG"], + ["no"], [ + AC_MSG_RESULT([no]) + AC_DEFINE([NDEBUG],[1],[Define to disable debug code.]) +- #COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG " +- DEBUGFLAGS="-g0 -Os" ++ COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG " ++ #DEBUGFLAGS="-g0 -Os" + ], + [AC_MSG_RESULT([$ARG_ENABLE_DEBUG]) + AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEBUG". Use either "yes" or "no".])]
participants (1)
-
crux@crux.nu