Package: kcemu
Followup-For: Bug #1067141
User: [email protected]
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/add-missing-includes.patch: Add missing includes.
Closes LP: #2060887.
Thanks for considering the patch.
-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'),
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-26-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru kcemu-0.5.2+dfsg/debian/control kcemu-0.5.2+dfsg/debian/control
--- kcemu-0.5.2+dfsg/debian/control 2024-03-07 22:13:42.000000000 -0700
+++ kcemu-0.5.2+dfsg/debian/control 2024-04-10 17:17:16.000000000 -0600
@@ -1,8 +1,7 @@
Source: kcemu
Section: contrib/otherosfs
Priority: optional
-Maintainer: Ubuntu Developers <[email protected]>
-XSBC-Original-Maintainer: John Paul Adrian Glaubitz
<[email protected]>
+Maintainer: John Paul Adrian Glaubitz <[email protected]>
Build-Depends: debhelper-compat (= 13), libz80ex-dev, libsdl1.2-dev,
libsndfile-dev, libvncserver-dev, libtheora-dev,
libgtk2.0-dev, automake, autoconf, libxmu-dev, libncurses5-dev,
netpbm, imagemagick, dh-autoreconf
Standards-Version: 4.6.1
diff -Nru kcemu-0.5.2+dfsg/debian/patches/add-missing-includes.patch
kcemu-0.5.2+dfsg/debian/patches/add-missing-includes.patch
--- kcemu-0.5.2+dfsg/debian/patches/add-missing-includes.patch 1969-12-31
17:00:00.000000000 -0700
+++ kcemu-0.5.2+dfsg/debian/patches/add-missing-includes.patch 2024-04-10
17:17:01.000000000 -0600
@@ -0,0 +1,18 @@
+Description: Add missing includes
+Author: Zixing Liu <[email protected]>
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067141
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kcemu/+bug/2060887
+Forwarded: no
+Last-Update: 2024-04-10
+Index: kcemu/src/sys/unix/sys_socket_create.c
+===================================================================
+--- kcemu.orig/src/sys/unix/sys_socket_create.c
++++ kcemu/src/sys/unix/sys_socket_create.c
+@@ -23,6 +23,7 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#include <stdio.h>
+
+ #include "kc/config.h"
+ #include "sys/sysdep.h"
diff -Nru kcemu-0.5.2+dfsg/debian/patches/series
kcemu-0.5.2+dfsg/debian/patches/series
--- kcemu-0.5.2+dfsg/debian/patches/series 1969-12-31 17:00:00.000000000
-0700
+++ kcemu-0.5.2+dfsg/debian/patches/series 2024-04-10 17:06:09.000000000
-0600
@@ -0,0 +1 @@
+add-missing-includes.patch