Source: ascd
Version: 0.13.2-7.1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

ascd compiles incorrectly on loongarch platform, the attached patch solves the 
problem. patch has been verified, please merge the patch.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 ascd (0.13.2-7.1) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Convert to source format 3.0 (closes: #1007477)
Author: Bastian Germann <[email protected]>
Bug-Debian: https://bugs.debian.org/1007477

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-09-11

--- ascd-0.13.2.orig/ascd/ascd.c
+++ ascd-0.13.2/ascd/ascd.c
@@ -54,7 +54,7 @@
 #include "config.h"
 #include "ascd.h"
 #include "faktory_prot.h"
-#include <workman/workman.h>
+#include "workman/workman.h"
 
 XpmIcon alphaXPM;
 XpmIcon ralphaXPM;
--- ascd-0.13.2.orig/ascd/ext.h
+++ ascd-0.13.2/ascd/ext.h
@@ -19,7 +19,7 @@
 #include "config.h"
 
 #include "ascd.h"
-#include <workman/workman.h>
+#include "workman/workman.h"
 
 #ifdef WMK
 #include <WINGs.h>

--- ascd-0.13.2.orig/debian/rules
+++ ascd-0.13.2/debian/rules    
@@ -10,8 +10,8 @@
        perl -pi -e 's/ar clq/ar cq/' libworkman/Makefile
 
 override_dh_auto_build:
-       cd libworkman && $(MAKE) LDOPTIONS="$(LDFLAGS)"
-       $(MAKE) LDOPTIONS="$(LDFLAGS)"
+       cd libworkman && $(MAKE) 
CCOPTIONS="-Wno-error=implicit-function-declaration" LDOPTIONS="$(LDFLAGS)"
+       $(MAKE) CCOPTIONS="-Wno-error=implicit-function-declaration 
-Wno-error=implicit-int" LDOPTIONS="$(LDFLAGS)"
 
 override_dh_auto_install:
        $(MAKE) \

Reply via email to