Package: qutemol
Version: 0.4.1~cvs20081111-3.1
Severity: normal
Tags: patch

Dear maintainer,

My recent NMU fails to build on non-Linux platforms (due to an unnecessary
'#ifdef __linux__' in an existing patch), so I've fixed that with another
NMU with just removes that check, versioned as 0.4.1~cvs20081111-3.2.

Cheers,
    Olly
diff -u qutemol-0.4.1~cvs20081111/debian/changelog qutemol-0.4.1~cvs20081111/debian/changelog
--- qutemol-0.4.1~cvs20081111/debian/changelog
+++ qutemol-0.4.1~cvs20081111/debian/changelog
@@ -1,3 +1,11 @@
+qutemol (0.4.1~cvs20081111-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/20_main.cpp.dpatch: Fix to load the XPM icon on non-Linux
+    too - should fix FTBFS on kfreebsd and hurd.
+
+ -- Olly Betts <o...@survex.com>  Thu, 04 Sep 2014 22:15:31 +0000
+
 qutemol (0.4.1~cvs20081111-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u qutemol-0.4.1~cvs20081111/debian/patches/20_main.cpp.dpatch qutemol-0.4.1~cvs20081111/debian/patches/20_main.cpp.dpatch
--- qutemol-0.4.1~cvs20081111/debian/patches/20_main.cpp.dpatch
+++ qutemol-0.4.1~cvs20081111/debian/patches/20_main.cpp.dpatch
@@ -8,15 +8,12 @@
 
 --- a/src/main.cpp
 +++ b/src/main.cpp
-@@ -52,7 +52,10 @@
+@@ -52,7 +52,7 @@
  #  include <GL/glu.h>
  #endif
  
 -//#include "sample.xpm"
-+#ifdef __linux__
 +#include "sample.xpm"
-+typedef unsigned char byte;
-+#endif
  
  typedef unsigned char Byte;
  typedef unsigned int uint;

Reply via email to