Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build error #3

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ncnn (1.0.20230223-0deepin1) unstable; urgency=medium

* add fix-gcc-13-build-error.patch.

-- LiChengGang <[email protected]> Thu, 21 Dec 2023 22:31:49 +0800

ncnn (1.0.20230223) unstable; urgency=medium

* Sync to Upstream
Expand Down
11 changes: 11 additions & 0 deletions debian/patches/fix-gcc-13-build-error.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

--- ncnn-1.0.20230223.orig/tools/darknet/darknet2ncnn.cpp
+++ ncnn-1.0.20230223/tools/darknet/darknet2ncnn.cpp
@@ -25,6 +25,7 @@
#include <string>
#include <unordered_map>
#include <vector>
+#include <cstdint>

#define OUTPUT_LAYER_MAP 0 //enable this to generate darknet style layer output

1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix-gcc-13-build-error.patch
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (native)
3.0 (quilt)
Loading