diff options
author | Danny Rawlins <contact@romster.me> | 2020-12-30 13:08:45 +1100 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2020-12-30 13:09:02 +1100 |
commit | bda56520a20253ab781a3390b8172ad0209c5ba3 (patch) | |
tree | 7ddcfd4a1125677aa4417df57d1e9425999d6c09 /libtorrent-rasterbar | |
parent | 3c87d8604768ecbfdb8d316a96ca9c44f0376c7a (diff) | |
download | contrib-bda56520a20253ab781a3390b8172ad0209c5ba3.tar.gz contrib-bda56520a20253ab781a3390b8172ad0209c5ba3.tar.xz |
libtorrent-rasterbar: add missing patch
Diffstat (limited to 'libtorrent-rasterbar')
-rw-r--r-- | libtorrent-rasterbar/really-disable-debug-flags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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".])] |