changed debian/source/format to native

This commit is contained in:
openKylinBot 2022-05-14 03:38:00 +08:00
parent 84a0876b5a
commit 8fbd64b0dd
4 changed files with 1 additions and 55 deletions

View File

@ -1,22 +0,0 @@
From: Bas Couwenberg <sebastic@debian.org>
Date: Sat, 14 May 2022 03:38:00 +0800
Subject: Fix syntax for Python 3 compatibility.
Forwarded: not-needed
---
src/swig/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/swig/CMakeLists.txt b/src/swig/CMakeLists.txt
index 29c2d05..0e40d5a 100644
--- a/src/swig/CMakeLists.txt
+++ b/src/swig/CMakeLists.txt
@@ -10,7 +10,7 @@ if(WITH_PYTHON)
if(NOT DEFINED PYTHON_INSTALL_DIR)
execute_process(COMMAND
- ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)"
+ ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))"
OUTPUT_VARIABLE PYTHON_INSTALL_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE )
endif(NOT DEFINED PYTHON_INSTALL_DIR)

View File

@ -1,2 +0,0 @@
wrong-path-for-interpreter.patch
python3.patch

View File

@ -1,30 +0,0 @@
From: Bas Couwenberg <sebastic@debian.org>
Date: Sat, 14 May 2022 03:37:59 +0800
Subject: Use Debian specific path to perl.
Forwarded: not-needed
---
examples/perl/helloplacemark.pl | 2 +-
examples/perl/hellowalk.pl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/perl/helloplacemark.pl b/examples/perl/helloplacemark.pl
index 8f59680..afc5048 100755
--- a/examples/perl/helloplacemark.pl
+++ b/examples/perl/helloplacemark.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# Copyright 2008, Google Inc. All rights reserved.
#
diff --git a/examples/perl/hellowalk.pl b/examples/perl/hellowalk.pl
index 88f8630..c52e880 100755
--- a/examples/perl/hellowalk.pl
+++ b/examples/perl/hellowalk.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# Copyright 2008, Google Inc. All rights reserved.
#

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)