diff -Nru arpon-2.7.2/debian/changelog arpon-2.7.2/debian/changelog --- arpon-2.7.2/debian/changelog 2015-02-08 12:25:04.000000000 +0000 +++ arpon-2.7.2/debian/changelog 2015-04-27 19:27:48.000000000 +0000 @@ -1,3 +1,10 @@ +arpon (2.7.2-1+rpi1) stretch-staging; urgency=medium + + * Use "Debian" codepath unconditionally in cmake_modules/FindSystem.cmake + to fix build failure on raspbian (and presumablly other derivatives). + + -- Peter Michael Green Mon, 27 Apr 2015 19:26:27 +0000 + arpon (2.7.2-1) unstable; urgency=low * [863b18a] Imported Upstream version 2.7.2 diff -Nru arpon-2.7.2/debian/patches/series arpon-2.7.2/debian/patches/series --- arpon-2.7.2/debian/patches/series 2015-02-08 12:25:04.000000000 +0000 +++ arpon-2.7.2/debian/patches/series 2015-04-27 19:35:59.000000000 +0000 @@ -1,2 +1,3 @@ arpon.sarpi.patch fix_path.patch +use-debian-codepath-unconditionally.patch diff -Nru arpon-2.7.2/debian/patches/use-debian-codepath-unconditionally.patch arpon-2.7.2/debian/patches/use-debian-codepath-unconditionally.patch --- arpon-2.7.2/debian/patches/use-debian-codepath-unconditionally.patch 1970-01-01 00:00:00.000000000 +0000 +++ arpon-2.7.2/debian/patches/use-debian-codepath-unconditionally.patch 2015-04-27 19:36:42.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Use "Debian" codepath unconditionally + Use "Debian" codepath unconditionally in cmake_modules/FindSystem.cmake + to fix build failure on raspbian (and presumablly other derivatives). +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- arpon-2.7.2.orig/cmake_modules/FindSystem.cmake ++++ arpon-2.7.2/cmake_modules/FindSystem.cmake +@@ -26,11 +26,11 @@ macro(GET_DISTRO) + OUTPUT_VARIABLE ID_RELEASE) + string(REGEX REPLACE ".*:" "" ID_RELEASE "${ID_RELEASE}") + +- if(${ID_RELEASE} MATCHES "Ubuntu" OR ${ID_RELEASE} MATCHES "Debian" OR ${ID_RELEASE} MATCHES "LinuxMint") ++ #if(${ID_RELEASE} MATCHES "Ubuntu" OR ${ID_RELEASE} MATCHES "Debian" OR ${ID_RELEASE} MATCHES "LinuxMint") + set( UBUNTU TRUE ) + set( DEBIAN TRUE ) + add_definitions( -DDEBIAN ) +- endif(${ID_RELEASE} MATCHES "Ubuntu" OR ${ID_RELEASE} MATCHES "Debian" OR ${ID_RELEASE} MATCHES "LinuxMint") ++ #endif(${ID_RELEASE} MATCHES "Ubuntu" OR ${ID_RELEASE} MATCHES "Debian" OR ${ID_RELEASE} MATCHES "LinuxMint") + endif(LSB_RELEASE) + endmacro(GET_DISTRO) +