summaryrefslogtreecommitdiff
path: root/archivers/upx/files/patch-p_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/upx/files/patch-p_unix.h')
-rw-r--r--archivers/upx/files/patch-p_unix.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/archivers/upx/files/patch-p_unix.h b/archivers/upx/files/patch-p_unix.h
new file mode 100644
index 000000000000..7a6feafd8696
--- /dev/null
+++ b/archivers/upx/files/patch-p_unix.h
@@ -0,0 +1,28 @@
+--- p_unix.h.orig Tue Feb 17 06:22:27 2004
++++ p_unix.h Tue Feb 17 06:52:01 2004
+@@ -131,6 +131,25 @@
+ };
+ };
+
++/*************************************************************************
++// FreeBSD/i386
++**************************************************************************/
++
++class PackFreeBSDI386 : public PackLinuxI386
++{
++ typedef PackLinuxI386 super;
++public:
++ PackFreeBSDI386(InputFile *f) : super(f) { }
++ virtual int getFormat() const { return UPX_F_FREEBSD_i386; }
++ virtual const char *getName() const { return "FreeBSD/386"; }
++
++ virtual bool canPack();
++
++protected:
++ virtual const upx_byte *getLoader() const;
++ virtual int getLoaderSize() const;
++};
++
+
+ /*************************************************************************
+ // solaris/sparc