diff -Nru omniorb-dfsg-4.2.2/debian/changelog omniorb-dfsg-4.2.2/debian/changelog --- omniorb-dfsg-4.2.2/debian/changelog 2018-02-07 16:12:52.000000000 +0000 +++ omniorb-dfsg-4.2.2/debian/changelog 2018-02-07 16:12:52.000000000 +0000 @@ -1,4 +1,4 @@ -omniorb-dfsg (4.2.2-0.7) experimental; urgency=medium +omniorb-dfsg (4.2.2-0.8) experimental; urgency=medium * Non-maintainer upload. * omniidl: Fix detection of private python3 directory. diff -Nru omniorb-dfsg-4.2.2/debian/patches/private_pythondir omniorb-dfsg-4.2.2/debian/patches/private_pythondir --- omniorb-dfsg-4.2.2/debian/patches/private_pythondir 2018-02-07 16:12:10.000000000 +0000 +++ omniorb-dfsg-4.2.2/debian/patches/private_pythondir 2018-02-07 16:12:52.000000000 +0000 @@ -70,7 +70,7 @@ - -if os.path.isdir(sppath): - sys.path.append(sppath) -+omniidldir = None ++omniidldir = "/does-not-exist" +if binarchdir == "/usr/bin": + omniidldir = os.path.join(os.path.dirname(binarchdir), "lib", "omniidl") +if os.path.isdir(omniidldir):