You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch

37 lines
1.1 KiB

diff --git a/setup.py b/setup.py
index 1a0d912..646c359 100644
--- a/setup.py
+++ b/setup.py
@@ -98,7 +98,7 @@ if cfg.qt_framework:
lib + ".framework", "Headers")]
else:
if PyQt_Version == 'PyQt5':
- for qt_inc_dir in ('/usr/include/qt', '/usr/include/x86_64-linux-gnu/qt5'):
+ for qt_inc_dir in ('/usr/include/qt', '/usr/include/qt5'):
include_dirs.append(qt_inc_dir)
include_dirs += [os.path.join(qt_inc_dir, lib) for lib in qt_libs]
libraries = ["Qt5" + lib[2:] for lib in qt_libs]
diff --git a/src/qhexedit.pro b/src/qhexedit.pro
index 2a94016..55d7bc2 100644
--- a/src/qhexedit.pro
+++ b/src/qhexedit.pro
@@ -23,5 +23,7 @@ Release:TARGET = qhexedit
Debug:TARGET = qhexeditd
-unix:DESTDIR = /usr/lib
win32:DESTDIR = ../lib
+
+target.path = /usr/lib64
+INSTALLS += target
diff --git a/src/qhexedit.sip b/src/qhexedit.sip
index 082621e..a7ef4e7 100644
--- a/src/qhexedit.sip
+++ b/src/qhexedit.sip
@@ -1,4 +1,4 @@
-%Module(name=qhexedit, version=1)
+%Module(name=qhexedit)
%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip