summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-09-26 16:17:18 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-09-26 16:17:52 +0900
commit78499ea373004c72278c0d0586c2da5536084cb6 (patch)
tree70fa2ce28ad27b50201ee592ace6e69329ed4e79
parentb7d6e97665e9daa8c501ccfa02b7eaff383ca36a (diff)
downloadlibzypp-bindings-sandbox/dh0128.kwak/fix_for_libzypp-17.31.1.tar.gz
libzypp-bindings-sandbox/dh0128.kwak/fix_for_libzypp-17.31.1.tar.bz2
libzypp-bindings-sandbox/dh0128.kwak/fix_for_libzypp-17.31.1.zip
Change-Id: I2c0a5a6a21f8db1d5fe51c7686593a68b51c2e4f
-rw-r--r--packaging/Fix_Swig_Source.patch75
1 files changed, 73 insertions, 2 deletions
diff --git a/packaging/Fix_Swig_Source.patch b/packaging/Fix_Swig_Source.patch
index 91430e3..f140fb4 100644
--- a/packaging/Fix_Swig_Source.patch
+++ b/packaging/Fix_Swig_Source.patch
@@ -1,9 +1,80 @@
+diff --git a/swig/ByteCount.i b/swig/ByteCount.i
+index 03f17c6..fbe18ab 100644
+--- a/swig/ByteCount.i
++++ b/swig/ByteCount.i
+@@ -12,7 +12,7 @@ namespace zypp
+
+
+ // TODO: tell make about dependencies
+-%include <zypp/ByteCount.h>
++%include <zypp-core/ByteCount.h>
+
+
+ #ifdef SWIGRUBY
+diff --git a/swig/CheckSum.i b/swig/CheckSum.i
+index 0a0add8..5b1f273 100644
+--- a/swig/CheckSum.i
++++ b/swig/CheckSum.i
+@@ -1,2 +1,2 @@
+-%include <zypp/CheckSum.h>
++%include <zypp-core/CheckSum.h>
+
+diff --git a/swig/Date.i b/swig/Date.i
+index f436832..a9c254e 100644
+--- a/swig/Date.i
++++ b/swig/Date.i
+@@ -1,3 +1,3 @@
+
+ // TODO: tell make about dependencies
+-%include <zypp/Date.h>
++%include <zypp-core/Date.h>
+diff --git a/swig/Pathname.i b/swig/Pathname.i
+index 6b7305b..7f8f3d6 100644
+--- a/swig/Pathname.i
++++ b/swig/Pathname.i
+@@ -9,4 +9,4 @@
+
+ %ignore zypp::filesystem::operator<( const Pathname & l, const Pathname & r );
+
+-%include <zypp/Pathname.h>
++%include <zypp-core/Pathname.h>
diff --git a/swig/ResTraits.i b/swig/ResTraits.i
-index cbcefad..638fded 100644
+index cbcefad..e8b1296 100644
--- a/swig/ResTraits.i
+++ b/swig/ResTraits.i
-@@ -1,3 +1,4 @@
+@@ -1,3 +1,5 @@
+%include <zypp/ResObject.h>
++%include <zypp-core/base/PtrTypes.h>
/** Base of ResTraits. Defines the Resolvable::Kind type. */
/*struct ResolvableTraits
+diff --git a/swig/TmpPath.i b/swig/TmpPath.i
+index d8b2ea8..4e64375 100644
+--- a/swig/TmpPath.i
++++ b/swig/TmpPath.i
+@@ -1,4 +1,4 @@
+
+ // TODO: tell make about dependencies
+-%include <zypp/TmpPath.h>
++%include <zypp-core/fs/TmpPath.h>
+
+diff --git a/swig/Url.i b/swig/Url.i
+index e3a65b3..b4401fa 100644
+--- a/swig/Url.i
++++ b/swig/Url.i
+@@ -1 +1 @@
+-%include <zypp/Url.h>
++%include <zypp-core/Url.h>
+diff --git a/swig/zypp.i b/swig/zypp.i
+index cd9327e..c442863 100644
+--- a/swig/zypp.i
++++ b/swig/zypp.i
+@@ -225,7 +225,7 @@ namespace zypp {
+ %import <boost/intrusive_ptr.hpp>
+ #endif
+ %import <zypp/base/PtrTypes.h>
+-%import <zypp/base/Flags.h>
++%import <zypp-core/base/Flags.h>
+
+ %include "IdStringType.i"
+ %include "Pathname.i"